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