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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // IPC handlers | 160 // IPC handlers |
161 void OnDeleteProxy(); | 161 void OnDeleteProxy(); |
162 void OnChildFrameProcessGone(); | 162 void OnChildFrameProcessGone(); |
163 void OnCompositorFrameSwapped(const IPC::Message& message); | 163 void OnCompositorFrameSwapped(const IPC::Message& message); |
164 void OnSetChildFrameSurface(const cc::SurfaceInfo& surface_info, | 164 void OnSetChildFrameSurface(const cc::SurfaceInfo& surface_info, |
165 const cc::SurfaceSequence& sequence); | 165 const cc::SurfaceSequence& sequence); |
166 void OnUpdateOpener(int opener_routing_id); | 166 void OnUpdateOpener(int opener_routing_id); |
167 void OnDidStopLoading(); | 167 void OnDidStopLoading(); |
168 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 168 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
169 void OnDispatchLoad(); | 169 void OnDispatchLoad(); |
| 170 void OnCollapse(bool collapsed); |
170 void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 171 void OnDidUpdateName(const std::string& name, const std::string& unique_name); |
171 void OnAddContentSecurityPolicies( | 172 void OnAddContentSecurityPolicies( |
172 const std::vector<ContentSecurityPolicyHeader>& header); | 173 const std::vector<ContentSecurityPolicyHeader>& header); |
173 void OnResetContentSecurityPolicy(); | 174 void OnResetContentSecurityPolicy(); |
174 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 175 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
175 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); | 176 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); |
176 void OnDidUpdateOrigin(const url::Origin& origin, | 177 void OnDidUpdateOrigin(const url::Origin& origin, |
177 bool is_potentially_trustworthy_unique_origin); | 178 bool is_potentially_trustworthy_unique_origin); |
178 void OnSetPageFocus(bool is_focused); | 179 void OnSetPageFocus(bool is_focused); |
179 void OnSetFocusedFrame(); | 180 void OnSetFocusedFrame(); |
(...skipping 14 matching lines...) Expand all Loading... |
194 | 195 |
195 RenderViewImpl* render_view_; | 196 RenderViewImpl* render_view_; |
196 RenderWidget* render_widget_; | 197 RenderWidget* render_widget_; |
197 | 198 |
198 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 199 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
199 }; | 200 }; |
200 | 201 |
201 } // namespace | 202 } // namespace |
202 | 203 |
203 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 204 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |