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 #include "content/browser/frame_host/render_frame_proxy_host.h" | 5 #include "content/browser/frame_host/render_frame_proxy_host.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "content/browser/frame_host/cross_process_frame_connector.h" | 8 #include "content/browser/frame_host/cross_process_frame_connector.h" |
9 #include "content/browser/frame_host/frame_tree.h" | 9 #include "content/browser/frame_host/frame_tree.h" |
10 #include "content/browser/frame_host/frame_tree_node.h" | 10 #include "content/browser/frame_host/frame_tree_node.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
147 ->GetRenderViewHost(site_instance_.get()) | 147 ->GetRenderViewHost(site_instance_.get()) |
148 ->GetRoutingID())); | 148 ->GetRoutingID())); |
149 | 149 |
150 return true; | 150 return true; |
151 } | 151 } |
152 | 152 |
153 void RenderFrameProxyHost::DisownOpener() { | 153 void RenderFrameProxyHost::DisownOpener() { |
154 Send(new FrameMsg_DisownOpener(GetRoutingID())); | 154 Send(new FrameMsg_DisownOpener(GetRoutingID())); |
155 } | 155 } |
156 | 156 |
157 void RenderFrameProxyHost::SwapOut(RenderFrameHostImpl* host) { | |
158 Send(new FrameMsg_SwapOut(GetRoutingID(), host->GetRoutingID())); | |
Nate Chapin
2014/09/30 21:44:48
I was lazy and just reused the existing FrameMsg_S
| |
159 } | |
160 | |
157 void RenderFrameProxyHost::OnOpenURL( | 161 void RenderFrameProxyHost::OnOpenURL( |
158 const FrameHostMsg_OpenURL_Params& params) { | 162 const FrameHostMsg_OpenURL_Params& params) { |
159 frame_tree_node_->current_frame_host()->OpenURL(params); | 163 frame_tree_node_->current_frame_host()->OpenURL(params); |
160 } | 164 } |
161 | 165 |
162 } // namespace content | 166 } // namespace content |
OLD | NEW |