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

Unified Diff: content/public/browser/page_navigator.h

Issue 2686943002: New WebContents created via ctrl-click should be in a new process. (Closed)
Patch Set: No need to send the new boolean flag over IPC. 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
Index: content/public/browser/page_navigator.h
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index eb9e6a83e15df25bca29789867a3d613a0b88504..1aa5bde591580be632067ed659f5909160bb8a21 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -82,6 +82,14 @@ struct CONTENT_EXPORT OpenURLParams {
// The disposition requested by the navigation source.
WindowOpenDisposition disposition;
+ // Controls whether newly created web contents (in case if |disposition| asks
Charlie Reis 2017/04/19 20:11:11 nit: Drop "if"
Łukasz Anforowicz 2017/04/20 01:11:29 Done.
+ // for a new tab or window) should attempt to reuse the renderer process of
+ // |source_site_instance|. For example - new contents created after
+ // ctrl-clicking a link should use always a new renderer, but
+ // chrome.windows.create extensions API should try to keep the new contents in
+ // the same extension process (if same-site).
+ bool use_new_renderer_for_new_contents;
+
// The transition type of navigation.
ui::PageTransition transition;

Powered by Google App Engine
This is Rietveld 408576698