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