| 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/basictypes.h" | 8 #include "base/basictypes.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 void OnCompositorFrameSwapped(const IPC::Message& message); | 150 void OnCompositorFrameSwapped(const IPC::Message& message); |
| 151 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, | 151 void OnSetChildFrameSurface(const cc::SurfaceId& surface_id, |
| 152 const gfx::Size& frame_size, | 152 const gfx::Size& frame_size, |
| 153 float scale_factor, | 153 float scale_factor, |
| 154 const cc::SurfaceSequence& sequence); | 154 const cc::SurfaceSequence& sequence); |
| 155 void OnUpdateOpener(int opener_routing_id); | 155 void OnUpdateOpener(int opener_routing_id); |
| 156 void OnDidStopLoading(); | 156 void OnDidStopLoading(); |
| 157 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 157 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
| 158 void OnDispatchLoad(); | 158 void OnDispatchLoad(); |
| 159 void OnDidUpdateName(const std::string& name); | 159 void OnDidUpdateName(const std::string& name); |
| 160 void OnDidUpdateShouldEnforceStrictMixedContentChecking(bool should_enforce); |
| 160 void OnDidUpdateOrigin(const url::Origin& origin); | 161 void OnDidUpdateOrigin(const url::Origin& origin); |
| 161 void OnSetPageFocus(bool is_focused); | 162 void OnSetPageFocus(bool is_focused); |
| 162 void OnSetFocusedFrame(); | 163 void OnSetFocusedFrame(); |
| 163 | 164 |
| 164 // The routing ID by which this RenderFrameProxy is known. | 165 // The routing ID by which this RenderFrameProxy is known. |
| 165 const int routing_id_; | 166 const int routing_id_; |
| 166 | 167 |
| 167 // The routing ID of the local RenderFrame (if any) which this | 168 // The routing ID of the local RenderFrame (if any) which this |
| 168 // RenderFrameProxy is meant to replace in the frame tree. | 169 // RenderFrameProxy is meant to replace in the frame tree. |
| 169 const int frame_routing_id_; | 170 const int frame_routing_id_; |
| 170 | 171 |
| 171 // Stores the WebRemoteFrame we are associated with. | 172 // Stores the WebRemoteFrame we are associated with. |
| 172 blink::WebRemoteFrame* web_frame_; | 173 blink::WebRemoteFrame* web_frame_; |
| 173 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 174 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 174 | 175 |
| 175 RenderViewImpl* render_view_; | 176 RenderViewImpl* render_view_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 178 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace | 181 } // namespace |
| 181 | 182 |
| 182 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 183 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |