Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 88503002: Have the unload event execute in background on cross-site navigations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Charlie's comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.h ('k') | content/browser/frame_host/render_frame_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698