OLD | NEW |
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" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void OnChildFrameProcessGone(); | 156 void OnChildFrameProcessGone(); |
157 void OnCompositorFrameSwapped(const IPC::Message& message); | 157 void OnCompositorFrameSwapped(const IPC::Message& message); |
158 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, | 158 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, |
159 const gfx::Size& frame_size, | 159 const gfx::Size& frame_size, |
160 float scale_factor, | 160 float scale_factor, |
161 const cc::SurfaceSequence& sequence); | 161 const cc::SurfaceSequence& sequence); |
162 void OnUpdateOpener(int opener_routing_id); | 162 void OnUpdateOpener(int opener_routing_id); |
163 void OnDidStopLoading(); | 163 void OnDidStopLoading(); |
164 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 164 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
165 void OnDispatchLoad(); | 165 void OnDispatchLoad(); |
| 166 void OnCollapseFrameOwner(bool collapsed); |
166 void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 167 void OnDidUpdateName(const std::string& name, const std::string& unique_name); |
167 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 168 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
168 void OnResetContentSecurityPolicy(); | 169 void OnResetContentSecurityPolicy(); |
169 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 170 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
170 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); | 171 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); |
171 void OnDidUpdateOrigin(const url::Origin& origin, | 172 void OnDidUpdateOrigin(const url::Origin& origin, |
172 bool is_potentially_trustworthy_unique_origin); | 173 bool is_potentially_trustworthy_unique_origin); |
173 void OnSetPageFocus(bool is_focused); | 174 void OnSetPageFocus(bool is_focused); |
174 void OnSetFocusedFrame(); | 175 void OnSetFocusedFrame(); |
175 void OnWillEnterFullscreen(); | 176 void OnWillEnterFullscreen(); |
(...skipping 11 matching lines...) Expand all Loading... |
187 | 188 |
188 RenderViewImpl* render_view_; | 189 RenderViewImpl* render_view_; |
189 RenderWidget* render_widget_; | 190 RenderWidget* render_widget_; |
190 | 191 |
191 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 192 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
192 }; | 193 }; |
193 | 194 |
194 } // namespace | 195 } // namespace |
195 | 196 |
196 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 197 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |