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 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, | 160 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, |
161 const gfx::Size& frame_size, | 161 const gfx::Size& frame_size, |
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 OnEnforceStrictMixedContentChecking(bool should_enforce); | 169 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
170 void OnDidUpdateOrigin(const url::Origin& origin); | 170 void OnDidUpdateOrigin(const url::Origin& origin, |
| 171 bool is_potentially_trustworthy_unique_origin); |
171 void OnSetPageFocus(bool is_focused); | 172 void OnSetPageFocus(bool is_focused); |
172 void OnSetFocusedFrame(); | 173 void OnSetFocusedFrame(); |
173 | 174 |
174 // The routing ID by which this RenderFrameProxy is known. | 175 // The routing ID by which this RenderFrameProxy is known. |
175 const int routing_id_; | 176 const int routing_id_; |
176 | 177 |
177 // The routing ID of the local RenderFrame (if any) which this | 178 // The routing ID of the local RenderFrame (if any) which this |
178 // RenderFrameProxy is meant to replace in the frame tree. | 179 // RenderFrameProxy is meant to replace in the frame tree. |
179 const int frame_routing_id_; | 180 const int frame_routing_id_; |
180 | 181 |
181 // Stores the WebRemoteFrame we are associated with. | 182 // Stores the WebRemoteFrame we are associated with. |
182 blink::WebRemoteFrame* web_frame_; | 183 blink::WebRemoteFrame* web_frame_; |
183 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 184 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
184 | 185 |
185 RenderViewImpl* render_view_; | 186 RenderViewImpl* render_view_; |
186 RenderWidget* render_widget_; | 187 RenderWidget* render_widget_; |
187 | 188 |
188 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 189 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
189 }; | 190 }; |
190 | 191 |
191 } // namespace | 192 } // namespace |
192 | 193 |
193 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 194 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |