Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1046933005: Refactor postMessage for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Charlie's nits Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 struct FrameMsg_TextTrackSettings_Params; 48 struct FrameMsg_TextTrackSettings_Params;
48 49
49 namespace blink { 50 namespace blink {
50 class WebGeolocationClient; 51 class WebGeolocationClient;
51 class WebMouseEvent; 52 class WebMouseEvent;
52 class WebContentDecryptionModule; 53 class WebContentDecryptionModule;
53 class WebMediaPlayer; 54 class WebMediaPlayer;
54 class WebPresentationClient; 55 class WebPresentationClient;
55 class WebPushClient; 56 class WebPushClient;
56 class WebSecurityOrigin; 57 class WebSecurityOrigin;
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 void OnBeginExitTransition(const std::string& css_selector, 636 void OnBeginExitTransition(const std::string& css_selector,
636 bool exit_to_native_app); 637 bool exit_to_native_app);
637 void OnRevertExitTransition(); 638 void OnRevertExitTransition();
638 void OnHideTransitionElements(const std::string& css_selector); 639 void OnHideTransitionElements(const std::string& css_selector);
639 void OnShowTransitionElements(const std::string& css_selector); 640 void OnShowTransitionElements(const std::string& css_selector);
640 void OnSetAccessibilityMode(AccessibilityMode new_mode); 641 void OnSetAccessibilityMode(AccessibilityMode new_mode);
641 void OnDisownOpener(); 642 void OnDisownOpener();
642 void OnDidUpdateSandboxFlags(SandboxFlags flags); 643 void OnDidUpdateSandboxFlags(SandboxFlags flags);
643 void OnTextTrackSettingsChanged( 644 void OnTextTrackSettingsChanged(
644 const FrameMsg_TextTrackSettings_Params& params); 645 const FrameMsg_TextTrackSettings_Params& params);
646 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
645 #if defined(OS_ANDROID) 647 #if defined(OS_ANDROID)
646 void OnSelectPopupMenuItems(bool canceled, 648 void OnSelectPopupMenuItems(bool canceled,
647 const std::vector<int>& selected_indices); 649 const std::vector<int>& selected_indices);
648 #elif defined(OS_MACOSX) 650 #elif defined(OS_MACOSX)
649 void OnSelectPopupMenuItem(int selected_index); 651 void OnSelectPopupMenuItem(int selected_index);
650 void OnCopyToFindPboard(); 652 void OnCopyToFindPboard();
651 #endif 653 #endif
652 654
653 void OnCommitNavigation(const ResourceResponseHead& response, 655 void OnCommitNavigation(const ResourceResponseHead& response,
654 const GURL& stream_url, 656 const GURL& stream_url,
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 #endif 923 #endif
922 924
923 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 925 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
924 926
925 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 927 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
926 }; 928 };
927 929
928 } // namespace content 930 } // namespace content
929 931
930 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 932 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698