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_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "content/browser/site_instance_impl.h" | 13 #include "content/browser/site_instance_impl.h" |
14 #include "ipc/ipc_listener.h" | 14 #include "ipc/ipc_listener.h" |
15 #include "ipc/ipc_sender.h" | 15 #include "ipc/ipc_sender.h" |
16 #include "third_party/WebKit/public/platform/WebFocusType.h" | 16 #include "third_party/WebKit/public/platform/WebFocusType.h" |
17 | 17 |
18 struct FrameHostMsg_OpenURL_Params; | 18 struct FrameHostMsg_OpenURL_Params; |
19 struct FrameMsg_PostMessage_Params; | 19 struct FrameMsg_PostMessage_Params; |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
23 class CrossProcessFrameConnector; | 23 class CrossProcessFrameConnector; |
24 class FrameTreeNode; | 24 class FrameTreeNode; |
25 class RenderProcessHost; | 25 class RenderProcessHost; |
26 class RenderFrameHostImpl; | |
27 class RenderViewHostImpl; | 26 class RenderViewHostImpl; |
28 class RenderWidgetHostView; | 27 class RenderWidgetHostView; |
29 | 28 |
30 // When a page's frames are rendered by multiple processes, each renderer has a | 29 // When a page's frames are rendered by multiple processes, each renderer has a |
31 // full copy of the frame tree. It has full RenderFrames for the frames it is | 30 // full copy of the frame tree. It has full RenderFrames for the frames it is |
32 // responsible for rendering and placeholder objects (i.e., RenderFrameProxies) | 31 // responsible for rendering and placeholder objects (i.e., RenderFrameProxies) |
33 // for frames rendered by other processes. | 32 // for frames rendered by other processes. |
34 // | 33 // |
35 // This class is the browser-side host object for the placeholder. Each node in | 34 // This class is the browser-side host object for the placeholder. Each node in |
36 // the frame tree has a RenderFrameHost for the active SiteInstance and a set | 35 // the frame tree has a RenderFrameHost for the active SiteInstance and a set |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts | 152 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts |
154 // are associated with it. | 153 // are associated with it. |
155 RenderViewHostImpl* render_view_host_; | 154 RenderViewHostImpl* render_view_host_; |
156 | 155 |
157 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); | 156 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); |
158 }; | 157 }; |
159 | 158 |
160 } // namespace | 159 } // namespace |
161 | 160 |
162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ | 161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ |
OLD | NEW |