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> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 int GetRoutingID() { | 75 int GetRoutingID() { |
76 return routing_id_; | 76 return routing_id_; |
77 } | 77 } |
78 | 78 |
79 SiteInstance* GetSiteInstance() { | 79 SiteInstance* GetSiteInstance() { |
80 return site_instance_.get(); | 80 return site_instance_.get(); |
81 } | 81 } |
82 | 82 |
83 FrameTreeNode* frame_tree_node() const { return frame_tree_node_; }; | 83 FrameTreeNode* frame_tree_node() const { return frame_tree_node_; }; |
| 84 int GetFrameTreeNodeId() const; |
84 | 85 |
85 void SetChildRWHView(RenderWidgetHostView* view); | 86 void SetChildRWHView(RenderWidgetHostView* view); |
86 | 87 |
87 RenderViewHostImpl* GetRenderViewHost(); | 88 RenderViewHostImpl* GetRenderViewHost(); |
88 RenderWidgetHostView* GetRenderWidgetHostView(); | 89 RenderWidgetHostView* GetRenderWidgetHostView(); |
89 | 90 |
90 // IPC::Sender | 91 // IPC::Sender |
91 bool Send(IPC::Message* msg) override; | 92 bool Send(IPC::Message* msg) override; |
92 | 93 |
93 // IPC::Listener | 94 // IPC::Listener |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts | 152 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts |
152 // are associated with it. | 153 // are associated with it. |
153 RenderViewHostImpl* render_view_host_; | 154 RenderViewHostImpl* render_view_host_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); | 156 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace | 159 } // namespace |
159 | 160 |
160 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ | 161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ |
OLD | NEW |