OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_host_impl.h" | 5 #include "content/browser/frame_host/render_frame_host_impl.h" |
6 | 6 |
7 #include "base/containers/hash_tables.h" | 7 #include "base/containers/hash_tables.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "content/browser/frame_host/cross_process_frame_connector.h" | 9 #include "content/browser/frame_host/cross_process_frame_connector.h" |
10 #include "content/browser/frame_host/frame_tree.h" | 10 #include "content/browser/frame_host/frame_tree.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 | 188 |
189 void RenderFrameHostImpl::OnSwapOutACK() { | 189 void RenderFrameHostImpl::OnSwapOutACK() { |
190 OnSwappedOut(false); | 190 OnSwappedOut(false); |
191 } | 191 } |
192 | 192 |
193 void RenderFrameHostImpl::OnSwappedOut(bool timed_out) { | 193 void RenderFrameHostImpl::OnSwappedOut(bool timed_out) { |
194 frame_tree_node_->render_manager()->SwappedOutFrame(this); | 194 frame_tree_node_->render_manager()->SwappedOutFrame(this); |
195 } | 195 } |
196 | 196 |
| 197 void RenderFrameHostImpl::SetPendingShutdown(const base::Closure& on_swap_out) { |
| 198 render_view_host_->SetPendingShutdown(on_swap_out); |
| 199 } |
| 200 |
197 } // namespace content | 201 } // namespace content |
OLD | NEW |