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

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

Issue 2921753002: NOT YET READY: Making chrome.windows.create establish an actual "opener" relationship.
Patch Set: Fix incognito profile transitions Created 3 years, 7 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: 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 10778a1b72218e577e24a66bf3e030c899ca8ee3..eac47c210289d8584addec4a211ad2707ebc7722 100644
--- a/chrome/browser/ui/browser_navigator_params.h
+++ b/chrome/browser/ui/browser_navigator_params.h
@@ -23,6 +23,7 @@ class Browser;
class Profile;
namespace content {
+class RenderFrameHost;
class WebContents;
struct OpenURLParams;
}
@@ -132,11 +133,9 @@ 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;
+ // Allows setting the opener for the case when new web contents are created
Charlie Reis 2017/06/05 21:06:28 nit: WebContents
Łukasz Anforowicz 2017/06/05 22:06:54 Done.
+ // (i.e. in case |disposition| asks for a new tab or window).
+ content::RenderFrameHost* opener;
// Sets browser->is_trusted_source. Default is false.
bool trusted_source;

Powered by Google App Engine
This is Rietveld 408576698