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