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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 float scale_factor, | 162 float scale_factor, |
163 const cc::SurfaceSequence& sequence); | 163 const cc::SurfaceSequence& sequence); |
164 void OnUpdateOpener(int opener_routing_id); | 164 void OnUpdateOpener(int opener_routing_id); |
165 void OnDidStopLoading(); | 165 void OnDidStopLoading(); |
166 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 166 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
167 void OnDispatchLoad(); | 167 void OnDispatchLoad(); |
168 void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 168 void OnDidUpdateName(const std::string& name, const std::string& unique_name); |
169 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 169 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
170 void OnResetContentSecurityPolicy(); | 170 void OnResetContentSecurityPolicy(); |
171 void OnEnforceStrictMixedContentChecking(bool should_enforce); | 171 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
| 172 void OnSetFrameOwnerProperties( |
| 173 const blink::WebFrameOwnerProperties& properties); |
172 void OnDidUpdateOrigin(const url::Origin& origin, | 174 void OnDidUpdateOrigin(const url::Origin& origin, |
173 bool is_potentially_trustworthy_unique_origin); | 175 bool is_potentially_trustworthy_unique_origin); |
174 void OnSetPageFocus(bool is_focused); | 176 void OnSetPageFocus(bool is_focused); |
175 void OnSetFocusedFrame(); | 177 void OnSetFocusedFrame(); |
176 | 178 |
177 // The routing ID by which this RenderFrameProxy is known. | 179 // The routing ID by which this RenderFrameProxy is known. |
178 const int routing_id_; | 180 const int routing_id_; |
179 | 181 |
180 // The routing ID of the local RenderFrame (if any) which this | 182 // The routing ID of the local RenderFrame (if any) which this |
181 // RenderFrameProxy is meant to replace in the frame tree. | 183 // RenderFrameProxy is meant to replace in the frame tree. |
182 const int frame_routing_id_; | 184 const int frame_routing_id_; |
183 | 185 |
184 // Stores the WebRemoteFrame we are associated with. | 186 // Stores the WebRemoteFrame we are associated with. |
185 blink::WebRemoteFrame* web_frame_; | 187 blink::WebRemoteFrame* web_frame_; |
186 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 188 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
187 | 189 |
188 RenderViewImpl* render_view_; | 190 RenderViewImpl* render_view_; |
189 RenderWidget* render_widget_; | 191 RenderWidget* render_widget_; |
190 | 192 |
191 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 193 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
192 }; | 194 }; |
193 | 195 |
194 } // namespace | 196 } // namespace |
195 | 197 |
196 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 198 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |