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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // We don't validate |unfiltered_link_url| so that this field can be used | 214 // We don't validate |unfiltered_link_url| so that this field can be used |
215 // when users want to copy the original link URL. | 215 // when users want to copy the original link URL. |
216 process->FilterURL(true, &validated_params.link_url); | 216 process->FilterURL(true, &validated_params.link_url); |
217 process->FilterURL(true, &validated_params.src_url); | 217 process->FilterURL(true, &validated_params.src_url); |
218 process->FilterURL(false, &validated_params.page_url); | 218 process->FilterURL(false, &validated_params.page_url); |
219 process->FilterURL(true, &validated_params.frame_url); | 219 process->FilterURL(true, &validated_params.frame_url); |
220 | 220 |
221 delegate_->ShowContextMenu(this, validated_params); | 221 delegate_->ShowContextMenu(this, validated_params); |
222 } | 222 } |
223 | 223 |
| 224 void RenderFrameHostImpl::SetPendingShutdown(const base::Closure& on_swap_out) { |
| 225 render_view_host_->SetPendingShutdown(on_swap_out); |
| 226 } |
| 227 |
224 } // namespace content | 228 } // namespace content |
OLD | NEW |