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

Unified Diff: chrome/browser/ui/browser_navigator_params.h

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 | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/browser_navigator_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator_params.h
diff --git a/chrome/browser/ui/browser_navigator_params.h b/chrome/browser/ui/browser_navigator_params.h
index bf40e6781e709db6d8311cab5e6e07366d3a143d..10778a1b72218e577e24a66bf3e030c899ca8ee3 100644
--- a/chrome/browser/ui/browser_navigator_params.h
+++ b/chrome/browser/ui/browser_navigator_params.h
@@ -132,6 +132,12 @@ struct NavigateParams {
// |tabstrip_add_types|.
WindowOpenDisposition disposition;
+ // Controls creation of new web contents (in case |disposition| asks for a new
+ // tab or window). If |force_new_process_for_new_contents| is true, then we
+ // try to put the new contents in a new renderer, even if they are same-site
+ // as |source_site_instance| (this is subject to renderer process limits).
+ bool force_new_process_for_new_contents;
+
// Sets browser->is_trusted_source. Default is false.
bool trusted_source;
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/browser_navigator_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698