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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
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 | 144 |
144 // The routing ID by which this RenderFrameProxy is known. | 145 // The routing ID by which this RenderFrameProxy is known. |
145 const int routing_id_; | 146 const int routing_id_; |
146 | 147 |
147 // The routing ID of the local RenderFrame (if any) which this | 148 // The routing ID of the local RenderFrame (if any) which this |
148 // RenderFrameProxy is meant to replace in the frame tree. | 149 // RenderFrameProxy is meant to replace in the frame tree. |
149 const int frame_routing_id_; | 150 const int frame_routing_id_; |
150 | 151 |
151 // Stores the WebRemoteFrame we are associated with. | 152 // Stores the WebRemoteFrame we are associated with. |
152 blink::WebRemoteFrame* web_frame_; | 153 blink::WebRemoteFrame* web_frame_; |
153 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; | 154 scoped_refptr<ChildFrameCompositingHelper> compositing_helper_; |
154 | 155 |
155 RenderViewImpl* render_view_; | 156 RenderViewImpl* render_view_; |
156 | 157 |
157 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); | 158 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); |
158 }; | 159 }; |
159 | 160 |
160 } // namespace | 161 } // namespace |
161 | 162 |
162 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ | 163 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ |
OLD | NEW |