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

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

Issue 1046933005: Refactor postMessage for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable SupportCrossProcessPostMessage test on FYI bots 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
OLDNEW
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // root. VS warns when we inherit the WebWidgetClient method implementations 71 // root. VS warns when we inherit the WebWidgetClient method implementations
72 // from RenderWidget. It's safe to ignore that warning. 72 // from RenderWidget. It's safe to ignore that warning.
73 #pragma warning(disable: 4250) 73 #pragma warning(disable: 4250)
74 #endif 74 #endif
75 75
76 class PepperDeviceTest; 76 class PepperDeviceTest;
77 class SkBitmap; 77 class SkBitmap;
78 struct PP_NetAddress_Private; 78 struct PP_NetAddress_Private;
79 struct FrameMsg_Navigate_Params; 79 struct FrameMsg_Navigate_Params;
80 struct ViewMsg_New_Params; 80 struct ViewMsg_New_Params;
81 struct ViewMsg_PostMessage_Params;
82 struct ViewMsg_Resize_Params; 81 struct ViewMsg_Resize_Params;
83 struct ViewMsg_StopFinding_Params; 82 struct ViewMsg_StopFinding_Params;
84 83
85 namespace base { 84 namespace base {
86 class CommandLine; 85 class CommandLine;
87 } 86 }
88 87
89 namespace blink { 88 namespace blink {
90 class WebApplicationCacheHost; 89 class WebApplicationCacheHost;
91 class WebApplicationCacheHostClient; 90 class WebApplicationCacheHostClient;
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 647 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
649 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 648 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
650 const std::vector<GURL>& links, 649 const std::vector<GURL>& links,
651 const std::vector<base::FilePath>& local_paths, 650 const std::vector<base::FilePath>& local_paths,
652 const base::FilePath& local_directory_name); 651 const base::FilePath& local_directory_name);
653 void OnMediaPlayerActionAt(const gfx::Point& location, 652 void OnMediaPlayerActionAt(const gfx::Point& location,
654 const blink::WebMediaPlayerAction& action); 653 const blink::WebMediaPlayerAction& action);
655 void OnPluginActionAt(const gfx::Point& location, 654 void OnPluginActionAt(const gfx::Point& location,
656 const blink::WebPluginAction& action); 655 const blink::WebPluginAction& action);
657 void OnMoveOrResizeStarted(); 656 void OnMoveOrResizeStarted();
658 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params);
659 void OnReleaseDisambiguationPopupBitmap(const cc::SharedBitmapId& id); 657 void OnReleaseDisambiguationPopupBitmap(const cc::SharedBitmapId& id);
660 void OnResetPageEncodingToDefault(); 658 void OnResetPageEncodingToDefault();
661 void OnSetActive(bool active); 659 void OnSetActive(bool active);
662 void OnSetBackgroundOpaque(bool opaque); 660 void OnSetBackgroundOpaque(bool opaque);
663 void OnExitFullscreen(); 661 void OnExitFullscreen();
664 void OnSetHistoryOffsetAndLength(int history_offset, int history_length); 662 void OnSetHistoryOffsetAndLength(int history_offset, int history_length);
665 void OnSetInitialFocus(bool reverse); 663 void OnSetInitialFocus(bool reverse);
666 void OnSetPageEncoding(const std::string& encoding_name); 664 void OnSetPageEncoding(const std::string& encoding_name);
667 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 665 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
668 void OnSetWebUIProperty(const std::string& name, const std::string& value); 666 void OnSetWebUIProperty(const std::string& name, const std::string& value);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 // use the Observer interface to filter IPC messages and receive frame change 1035 // use the Observer interface to filter IPC messages and receive frame change
1038 // notifications. 1036 // notifications.
1039 // --------------------------------------------------------------------------- 1037 // ---------------------------------------------------------------------------
1040 1038
1041 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1039 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1042 }; 1040 };
1043 1041
1044 } // namespace content 1042 } // namespace content
1045 1043
1046 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1044 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698