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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 2686943002: New WebContents created via ctrl-click should be in a new process. (Closed)
Patch Set: s/renderer/process/ in the field name + initializing the field and variables. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/navigator_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 6dd1df2f0ba63c8894c9cae86614b5db9042a0da..e1a5cc6ae07e9f4816c0432d55aabeebe7b18279 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -732,6 +732,7 @@ void NavigatorImpl::RequestOpenURL(
const std::string& extra_headers,
const Referrer& referrer,
WindowOpenDisposition disposition,
+ bool force_new_process_for_new_contents,
bool should_replace_current_entry,
bool user_gesture) {
// Note: This can be called for subframes (even when OOPIFs are not possible)
@@ -774,6 +775,8 @@ void NavigatorImpl::RequestOpenURL(
OpenURLParams params(dest_url, referrer, frame_tree_node_id, disposition,
ui::PAGE_TRANSITION_LINK,
true /* is_renderer_initiated */);
+ params.force_new_process_for_new_contents =
+ force_new_process_for_new_contents;
params.uses_post = uses_post;
params.post_data = body;
params.extra_headers = extra_headers;
« no previous file with comments | « content/browser/frame_host/navigator_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698