| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void OnChildFrameProcessGone(); | 164 void OnChildFrameProcessGone(); |
| 165 void OnCompositorFrameSwapped(const IPC::Message& message); | 165 void OnCompositorFrameSwapped(const IPC::Message& message); |
| 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); | 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 void OnSetPageFocus(bool is_focused); | 177 void OnSetPageFocus(bool is_focused); |
| 178 void OnSetFocusedFrame(); | 178 void OnSetFocusedFrame(); |
| 179 | 179 |
| 180 // The routing ID by which this RenderFrameProxy is known. | 180 // The routing ID by which this RenderFrameProxy is known. |
| 181 const int routing_id_; | 181 const int routing_id_; |
| 182 | 182 |
| 183 // The routing ID of the local RenderFrame (if any) which this | 183 // The routing ID of the local RenderFrame (if any) which this |
| 184 // RenderFrameProxy is meant to replace in the frame tree. | 184 // RenderFrameProxy is meant to replace in the frame tree. |
| 185 const int frame_routing_id_; | 185 const int frame_routing_id_; |
| 186 | 186 |
| 187 // Stores the WebRemoteFrame we are associated with. | 187 // Stores the WebRemoteFrame we are associated with. |
| 188 blink::WebRemoteFrame* web_frame_; | 188 blink::WebRemoteFrame* web_frame_; |
| 189 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 189 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 190 | 190 |
| 191 RenderViewImpl* render_view_; | 191 RenderViewImpl* render_view_; |
| 192 RenderWidget* render_widget_; | 192 RenderWidget* render_widget_; |
| 193 | 193 |
| 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace | 197 } // namespace |
| 198 | 198 |
| 199 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 199 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |