| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 const ShowDesktopNotificationHostMsgParams& params); | 538 const ShowDesktopNotificationHostMsgParams& params); |
| 539 void OnCancelDesktopNotification(int notification_id); | 539 void OnCancelDesktopNotification(int notification_id); |
| 540 void OnRunFileChooser(const FileChooserParams& params); | 540 void OnRunFileChooser(const FileChooserParams& params); |
| 541 void OnDomOperationResponse(const std::string& json_string, | 541 void OnDomOperationResponse(const std::string& json_string, |
| 542 int automation_id); | 542 int automation_id); |
| 543 | 543 |
| 544 #if defined(OS_MACOSX) | 544 #if defined(OS_MACOSX) |
| 545 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); | 545 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
| 546 #endif | 546 #endif |
| 547 | 547 |
| 548 void OnConnectToChannel(const IPC::ChannelHandle& channel_handle); |
| 549 |
| 550 void OnNavigateGuestFromEmbedder(int container_instance_id, |
| 551 long long frame_id, |
| 552 const std::string& src, |
| 553 const gfx::Size& size); |
| 554 |
| 555 void OnResizeGuest(int width, int height); |
| 556 |
| 548 private: | 557 private: |
| 549 friend class TestRenderViewHost; | 558 friend class TestRenderViewHost; |
| 550 | 559 |
| 551 // Sets whether this RenderViewHost is swapped out in favor of another, | 560 // Sets whether this RenderViewHost is swapped out in favor of another, |
| 552 // and clears any waiting state that is no longer relevant. | 561 // and clears any waiting state that is no longer relevant. |
| 553 void SetSwappedOut(bool is_swapped_out); | 562 void SetSwappedOut(bool is_swapped_out); |
| 554 | 563 |
| 555 void ClearPowerSaveBlockers(); | 564 void ClearPowerSaveBlockers(); |
| 556 | 565 |
| 557 // Our delegate, which wants to know about changes in the RenderView. | 566 // Our delegate, which wants to know about changes in the RenderView. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 660 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 652 }; | 661 }; |
| 653 | 662 |
| 654 #if defined(COMPILER_MSVC) | 663 #if defined(COMPILER_MSVC) |
| 655 #pragma warning(pop) | 664 #pragma warning(pop) |
| 656 #endif | 665 #endif |
| 657 | 666 |
| 658 } // namespace content | 667 } // namespace content |
| 659 | 668 |
| 660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 669 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |