| 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 OnDidSetUniqueOriginPotentiallyTrustworthy( |
| 177 bool is_unique_origin_potentially_trustworthy); |
| 176 void OnDidUpdateOrigin(const url::Origin& origin); | 178 void OnDidUpdateOrigin(const url::Origin& origin); |
| 177 void OnSetPageFocus(bool is_focused); | 179 void OnSetPageFocus(bool is_focused); |
| 178 void OnSetFocusedFrame(); | 180 void OnSetFocusedFrame(); |
| 179 | 181 |
| 180 // The routing ID by which this RenderFrameProxy is known. | 182 // The routing ID by which this RenderFrameProxy is known. |
| 181 const int routing_id_; | 183 const int routing_id_; |
| 182 | 184 |
| 183 // The routing ID of the local RenderFrame (if any) which this | 185 // The routing ID of the local RenderFrame (if any) which this |
| 184 // RenderFrameProxy is meant to replace in the frame tree. | 186 // RenderFrameProxy is meant to replace in the frame tree. |
| 185 const int frame_routing_id_; | 187 const int frame_routing_id_; |
| 186 | 188 |
| 187 // Stores the WebRemoteFrame we are associated with. | 189 // Stores the WebRemoteFrame we are associated with. |
| 188 blink::WebRemoteFrame* web_frame_; | 190 blink::WebRemoteFrame* web_frame_; |
| 189 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 191 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 190 | 192 |
| 191 RenderViewImpl* render_view_; | 193 RenderViewImpl* render_view_; |
| 192 RenderWidget* render_widget_; | 194 RenderWidget* render_widget_; |
| 193 | 195 |
| 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 196 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 195 }; | 197 }; |
| 196 | 198 |
| 197 } // namespace | 199 } // namespace |
| 198 | 200 |
| 199 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 201 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |