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

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: Adding setSelfAsOpener parameter. Created 3 years, 6 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 10778a1b72218e577e24a66bf3e030c899ca8ee3..5236b5f4f429254eba22eae4a62439ea828ff2a4 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 WebContents are created
+ // (i.e. when |disposition| asks for a new tab or window).
+ content::RenderFrameHost* opener;
// 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