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

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

Issue 2633303003: Clean up RenderWidgetHostView(ChildFrame and Guest) compositing code (Closed)
Patch Set: c Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
12 #include "ipc/ipc_sender.h" 12 #include "ipc/ipc_sender.h"
13 #include "third_party/WebKit/public/platform/WebFocusType.h" 13 #include "third_party/WebKit/public/platform/WebFocusType.h"
14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 14 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
15 #include "third_party/WebKit/public/web/WebRemoteFrame.h" 15 #include "third_party/WebKit/public/web/WebRemoteFrame.h"
16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h" 16 #include "third_party/WebKit/public/web/WebRemoteFrameClient.h"
17 #include "url/origin.h" 17 #include "url/origin.h"
18 18
19 namespace blink { 19 namespace blink {
20 class WebInputEvent; 20 class WebInputEvent;
21 struct WebRect; 21 struct WebRect;
22 } 22 }
23 23
24 namespace cc { 24 namespace cc {
25 class SurfaceId; 25 class SurfaceInfo;
26 struct SurfaceSequence; 26 struct SurfaceSequence;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 30
31 class ChildFrameCompositingHelper; 31 class ChildFrameCompositingHelper;
32 class RenderFrameImpl; 32 class RenderFrameImpl;
33 class RenderViewImpl; 33 class RenderViewImpl;
34 class RenderWidget; 34 class RenderWidget;
35 struct ContentSecurityPolicyHeader; 35 struct ContentSecurityPolicyHeader;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 RenderViewImpl* render_view, 150 RenderViewImpl* render_view,
151 RenderWidget* render_widget); 151 RenderWidget* render_widget);
152 152
153 // IPC::Listener 153 // IPC::Listener
154 bool OnMessageReceived(const IPC::Message& msg) override; 154 bool OnMessageReceived(const IPC::Message& msg) override;
155 155
156 // IPC handlers 156 // IPC handlers
157 void OnDeleteProxy(); 157 void OnDeleteProxy();
158 void OnChildFrameProcessGone(); 158 void OnChildFrameProcessGone();
159 void OnCompositorFrameSwapped(const IPC::Message& message); 159 void OnCompositorFrameSwapped(const IPC::Message& message);
160 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, 160 void OnSetChildFrameSurface(const cc::SurfaceInfo& surface_info,
161 const gfx::Size& frame_size,
162 float scale_factor,
163 const cc::SurfaceSequence& sequence); 161 const cc::SurfaceSequence& sequence);
164 void OnUpdateOpener(int opener_routing_id); 162 void OnUpdateOpener(int opener_routing_id);
165 void OnDidStopLoading(); 163 void OnDidStopLoading();
166 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 164 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
167 void OnDispatchLoad(); 165 void OnDispatchLoad();
168 void OnDidUpdateName(const std::string& name, const std::string& unique_name); 166 void OnDidUpdateName(const std::string& name, const std::string& unique_name);
169 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 167 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
170 void OnResetContentSecurityPolicy(); 168 void OnResetContentSecurityPolicy();
171 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 169 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
172 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); 170 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties);
(...skipping 16 matching lines...) Expand all
189 187
190 RenderViewImpl* render_view_; 188 RenderViewImpl* render_view_;
191 RenderWidget* render_widget_; 189 RenderWidget* render_widget_;
192 190
193 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 191 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
194 }; 192 };
195 193
196 } // namespace 194 } // namespace
197 195
198 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 196 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698