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 20 matching lines...) Expand all Loading... |
31 class PowerSaveBlocker; | 31 class PowerSaveBlocker; |
32 class SessionStorageNamespaceImpl; | 32 class SessionStorageNamespaceImpl; |
33 class SkBitmap; | 33 class SkBitmap; |
34 class ViewMsg_Navigate; | 34 class ViewMsg_Navigate; |
35 struct AccessibilityHostMsg_NotificationParams; | 35 struct AccessibilityHostMsg_NotificationParams; |
36 struct MediaPlayerAction; | 36 struct MediaPlayerAction; |
37 struct ViewHostMsg_CreateWindow_Params; | 37 struct ViewHostMsg_CreateWindow_Params; |
38 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; | 38 struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; |
39 struct ViewHostMsg_ShowPopup_Params; | 39 struct ViewHostMsg_ShowPopup_Params; |
40 struct ViewMsg_Navigate_Params; | 40 struct ViewMsg_Navigate_Params; |
| 41 struct ViewHostMsg_PostMessage_Params; |
41 struct ViewMsg_StopFinding_Params; | 42 struct ViewMsg_StopFinding_Params; |
42 | 43 |
43 namespace base { | 44 namespace base { |
44 class ListValue; | 45 class ListValue; |
45 } | 46 } |
46 | 47 |
47 namespace content { | 48 namespace content { |
48 class TestRenderViewHost; | 49 class TestRenderViewHost; |
49 } | 50 } |
50 | 51 |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 480 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
480 bool is_pinned_to_right); | 481 bool is_pinned_to_right); |
481 void OnMsgDidChangeNumWheelEvents(int count); | 482 void OnMsgDidChangeNumWheelEvents(int count); |
482 void OnMsgSelectionChanged(const string16& text, | 483 void OnMsgSelectionChanged(const string16& text, |
483 size_t offset, | 484 size_t offset, |
484 const ui::Range& range); | 485 const ui::Range& range); |
485 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, | 486 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, |
486 const gfx::Rect& end_rect); | 487 const gfx::Rect& end_rect); |
487 void OnMsgPasteFromSelectionClipboard(); | 488 void OnMsgPasteFromSelectionClipboard(); |
488 void OnMsgRouteCloseEvent(); | 489 void OnMsgRouteCloseEvent(); |
| 490 void OnMsgRouteMessageEvent(const ViewHostMsg_PostMessage_Params& params); |
489 void OnMsgRunJavaScriptMessage(const string16& message, | 491 void OnMsgRunJavaScriptMessage(const string16& message, |
490 const string16& default_prompt, | 492 const string16& default_prompt, |
491 const GURL& frame_url, | 493 const GURL& frame_url, |
492 ui::JavascriptMessageType type, | 494 ui::JavascriptMessageType type, |
493 IPC::Message* reply_msg); | 495 IPC::Message* reply_msg); |
494 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 496 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
495 const string16& message, | 497 const string16& message, |
496 bool is_reload, | 498 bool is_reload, |
497 IPC::Message* reply_msg); | 499 IPC::Message* reply_msg); |
498 void OnMsgStartDragging(const WebDropData& drop_data, | 500 void OnMsgStartDragging(const WebDropData& drop_data, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 649 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
648 }; | 650 }; |
649 | 651 |
650 #if defined(COMPILER_MSVC) | 652 #if defined(COMPILER_MSVC) |
651 #pragma warning(pop) | 653 #pragma warning(pop) |
652 #endif | 654 #endif |
653 | 655 |
654 } // namespace content | 656 } // namespace content |
655 | 657 |
656 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 658 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |