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

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: 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/renderer/render_frame_proxy.cc ('k') | content/renderer/render_view_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 (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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the 69 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the
70 // root. VS warns when we inherit the WebWidgetClient method implementations 70 // root. VS warns when we inherit the WebWidgetClient method implementations
71 // from RenderWidget. It's safe to ignore that warning. 71 // from RenderWidget. It's safe to ignore that warning.
72 #pragma warning(disable: 4250) 72 #pragma warning(disable: 4250)
73 #endif 73 #endif
74 74
75 class PepperDeviceTest; 75 class PepperDeviceTest;
76 class SkBitmap; 76 class SkBitmap;
77 struct PP_NetAddress_Private; 77 struct PP_NetAddress_Private;
78 struct ViewMsg_New_Params; 78 struct ViewMsg_New_Params;
79 struct ViewMsg_PostMessage_Params;
80 struct ViewMsg_Resize_Params; 79 struct ViewMsg_Resize_Params;
81 struct ViewMsg_StopFinding_Params; 80 struct ViewMsg_StopFinding_Params;
82 81
83 namespace base { 82 namespace base {
84 class CommandLine; 83 class CommandLine;
85 } 84 }
86 85
87 namespace blink { 86 namespace blink {
88 class WebApplicationCacheHost; 87 class WebApplicationCacheHost;
89 class WebApplicationCacheHostClient; 88 class WebApplicationCacheHostClient;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 643 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
645 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 644 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
646 const std::vector<GURL>& links, 645 const std::vector<GURL>& links,
647 const std::vector<base::FilePath>& local_paths, 646 const std::vector<base::FilePath>& local_paths,
648 const base::FilePath& local_directory_name); 647 const base::FilePath& local_directory_name);
649 void OnMediaPlayerActionAt(const gfx::Point& location, 648 void OnMediaPlayerActionAt(const gfx::Point& location,
650 const blink::WebMediaPlayerAction& action); 649 const blink::WebMediaPlayerAction& action);
651 void OnPluginActionAt(const gfx::Point& location, 650 void OnPluginActionAt(const gfx::Point& location,
652 const blink::WebPluginAction& action); 651 const blink::WebPluginAction& action);
653 void OnMoveOrResizeStarted(); 652 void OnMoveOrResizeStarted();
654 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params);
655 void OnReleaseDisambiguationPopupBitmap(const cc::SharedBitmapId& id); 653 void OnReleaseDisambiguationPopupBitmap(const cc::SharedBitmapId& id);
656 void OnResetPageEncodingToDefault(); 654 void OnResetPageEncodingToDefault();
657 void OnSetActive(bool active); 655 void OnSetActive(bool active);
658 void OnSetBackgroundOpaque(bool opaque); 656 void OnSetBackgroundOpaque(bool opaque);
659 void OnExitFullscreen(); 657 void OnExitFullscreen();
660 void OnSetHistoryOffsetAndLength(int history_offset, int history_length); 658 void OnSetHistoryOffsetAndLength(int history_offset, int history_length);
661 void OnSetInitialFocus(bool reverse); 659 void OnSetInitialFocus(bool reverse);
662 void OnSetPageEncoding(const std::string& encoding_name); 660 void OnSetPageEncoding(const std::string& encoding_name);
663 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 661 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
664 void OnSetWebUIProperty(const std::string& name, const std::string& value); 662 void OnSetWebUIProperty(const std::string& name, const std::string& value);
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 // use the Observer interface to filter IPC messages and receive frame change 1014 // use the Observer interface to filter IPC messages and receive frame change
1017 // notifications. 1015 // notifications.
1018 // --------------------------------------------------------------------------- 1016 // ---------------------------------------------------------------------------
1019 1017
1020 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1018 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1021 }; 1019 };
1022 1020
1023 } // namespace content 1021 } // namespace content
1024 1022
1025 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1023 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698