OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #endif | 37 #endif |
38 | 38 |
39 #if defined(OS_ANDROID) | 39 #if defined(OS_ANDROID) |
40 #include "content/renderer/media/android/renderer_media_player_manager.h" | 40 #include "content/renderer/media/android/renderer_media_player_manager.h" |
41 #endif | 41 #endif |
42 | 42 |
43 class GURL; | 43 class GURL; |
44 class TransportDIB; | 44 class TransportDIB; |
45 struct FrameHostMsg_AddNavigationTransitionData_Params; | 45 struct FrameHostMsg_AddNavigationTransitionData_Params; |
46 struct FrameMsg_NewFrame_WidgetParams; | 46 struct FrameMsg_NewFrame_WidgetParams; |
| 47 struct FrameMsg_PostMessage_Params; |
47 | 48 |
48 namespace blink { | 49 namespace blink { |
49 class WebGeolocationClient; | 50 class WebGeolocationClient; |
50 class WebMouseEvent; | 51 class WebMouseEvent; |
51 class WebContentDecryptionModule; | 52 class WebContentDecryptionModule; |
52 class WebMediaPlayer; | 53 class WebMediaPlayer; |
53 class WebPresentationClient; | 54 class WebPresentationClient; |
54 class WebPushClient; | 55 class WebPushClient; |
55 class WebSecurityOrigin; | 56 class WebSecurityOrigin; |
56 struct WebCompositionUnderline; | 57 struct WebCompositionUnderline; |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 void OnAddStyleSheetByURL(const std::string& url); | 625 void OnAddStyleSheetByURL(const std::string& url); |
625 void OnSetupTransitionView(const std::string& markup); | 626 void OnSetupTransitionView(const std::string& markup); |
626 void OnBeginExitTransition(const std::string& css_selector, | 627 void OnBeginExitTransition(const std::string& css_selector, |
627 bool exit_to_native_app); | 628 bool exit_to_native_app); |
628 void OnRevertExitTransition(); | 629 void OnRevertExitTransition(); |
629 void OnHideTransitionElements(const std::string& css_selector); | 630 void OnHideTransitionElements(const std::string& css_selector); |
630 void OnShowTransitionElements(const std::string& css_selector); | 631 void OnShowTransitionElements(const std::string& css_selector); |
631 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 632 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
632 void OnDisownOpener(); | 633 void OnDisownOpener(); |
633 void OnDidUpdateSandboxFlags(SandboxFlags flags); | 634 void OnDidUpdateSandboxFlags(SandboxFlags flags); |
| 635 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); |
634 #if defined(OS_ANDROID) | 636 #if defined(OS_ANDROID) |
635 void OnSelectPopupMenuItems(bool canceled, | 637 void OnSelectPopupMenuItems(bool canceled, |
636 const std::vector<int>& selected_indices); | 638 const std::vector<int>& selected_indices); |
637 #elif defined(OS_MACOSX) | 639 #elif defined(OS_MACOSX) |
638 void OnSelectPopupMenuItem(int selected_index); | 640 void OnSelectPopupMenuItem(int selected_index); |
639 void OnCopyToFindPboard(); | 641 void OnCopyToFindPboard(); |
640 #endif | 642 #endif |
641 | 643 |
642 void OnCommitNavigation(const ResourceResponseHead& response, | 644 void OnCommitNavigation(const ResourceResponseHead& response, |
643 const GURL& stream_url, | 645 const GURL& stream_url, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 #endif | 890 #endif |
889 | 891 |
890 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 892 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
891 | 893 |
892 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 894 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
893 }; | 895 }; |
894 | 896 |
895 } // namespace content | 897 } // namespace content |
896 | 898 |
897 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 899 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |