| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 bool OnMessageReceived(const IPC::Message& msg) override; | 136 bool OnMessageReceived(const IPC::Message& msg) override; |
| 137 | 137 |
| 138 // IPC handlers | 138 // IPC handlers |
| 139 void OnDeleteProxy(); | 139 void OnDeleteProxy(); |
| 140 void OnChildFrameProcessGone(); | 140 void OnChildFrameProcessGone(); |
| 141 void OnCompositorFrameSwapped(const IPC::Message& message); | 141 void OnCompositorFrameSwapped(const IPC::Message& message); |
| 142 void OnDisownOpener(); | 142 void OnDisownOpener(); |
| 143 void OnDidStopLoading(); | 143 void OnDidStopLoading(); |
| 144 void OnDidUpdateSandboxFlags(SandboxFlags flags); | 144 void OnDidUpdateSandboxFlags(SandboxFlags flags); |
| 145 void OnDispatchLoad(); | 145 void OnDispatchLoad(); |
| 146 void OnDidUpdateName(const std::string& name); |
| 146 | 147 |
| 147 // The routing ID by which this RenderFrameProxy is known. | 148 // The routing ID by which this RenderFrameProxy is known. |
| 148 const int routing_id_; | 149 const int routing_id_; |
| 149 | 150 |
| 150 // The routing ID of the local RenderFrame (if any) which this | 151 // The routing ID of the local RenderFrame (if any) which this |
| 151 // RenderFrameProxy is meant to replace in the frame tree. | 152 // RenderFrameProxy is meant to replace in the frame tree. |
| 152 const int frame_routing_id_; | 153 const int frame_routing_id_; |
| 153 | 154 |
| 154 // Stores the WebRemoteFrame we are associated with. | 155 // Stores the WebRemoteFrame we are associated with. |
| 155 blink::WebRemoteFrame* web_frame_; | 156 blink::WebRemoteFrame* web_frame_; |
| 156 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 157 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
| 157 | 158 |
| 158 RenderViewImpl* render_view_; | 159 RenderViewImpl* render_view_; |
| 159 | 160 |
| 160 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 161 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 } // namespace | 164 } // namespace |
| 164 | 165 |
| 165 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 166 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
| OLD | NEW |