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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 479 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
479 bool is_pinned_to_right); | 480 bool is_pinned_to_right); |
480 void OnMsgDidChangeNumWheelEvents(int count); | 481 void OnMsgDidChangeNumWheelEvents(int count); |
481 void OnMsgSelectionChanged(const string16& text, | 482 void OnMsgSelectionChanged(const string16& text, |
482 size_t offset, | 483 size_t offset, |
483 const ui::Range& range); | 484 const ui::Range& range); |
484 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, | 485 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, |
485 const gfx::Rect& end_rect); | 486 const gfx::Rect& end_rect); |
486 void OnMsgPasteFromSelectionClipboard(); | 487 void OnMsgPasteFromSelectionClipboard(); |
487 void OnMsgRouteCloseEvent(); | 488 void OnMsgRouteCloseEvent(); |
| 489 void OnMsgRouteMessageEvent(const ViewHostMsg_PostMessage_Params& params); |
488 void OnMsgRunJavaScriptMessage(const string16& message, | 490 void OnMsgRunJavaScriptMessage(const string16& message, |
489 const string16& default_prompt, | 491 const string16& default_prompt, |
490 const GURL& frame_url, | 492 const GURL& frame_url, |
491 ui::JavascriptMessageType type, | 493 ui::JavascriptMessageType type, |
492 IPC::Message* reply_msg); | 494 IPC::Message* reply_msg); |
493 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 495 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
494 const string16& message, | 496 const string16& message, |
495 bool is_reload, | 497 bool is_reload, |
496 IPC::Message* reply_msg); | 498 IPC::Message* reply_msg); |
497 void OnMsgStartDragging(const WebDropData& drop_data, | 499 void OnMsgStartDragging(const WebDropData& drop_data, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 643 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
642 }; | 644 }; |
643 | 645 |
644 #if defined(COMPILER_MSVC) | 646 #if defined(COMPILER_MSVC) |
645 #pragma warning(pop) | 647 #pragma warning(pop) |
646 #endif | 648 #endif |
647 | 649 |
648 } // namespace content | 650 } // namespace content |
649 | 651 |
650 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 652 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |