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

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

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_params.h ('k') | chrome/common/extensions/api/windows.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator_params.cc
diff --git a/chrome/browser/ui/browser_navigator_params.cc b/chrome/browser/ui/browser_navigator_params.cc
index c4a62645415c7266789f4878638a4c66a2e3c313..f4bf1e1c1aeb602c7ae9359104e882a3347aec7b 100644
--- a/chrome/browser/ui/browser_navigator_params.cc
+++ b/chrome/browser/ui/browser_navigator_params.cc
@@ -26,7 +26,7 @@ NavigateParams::NavigateParams(WebContents* a_target_contents)
target_contents(a_target_contents),
source_contents(nullptr),
disposition(WindowOpenDisposition::CURRENT_TAB),
- force_new_process_for_new_contents(false),
+ opener(nullptr),
trusted_source(false),
transition(ui::PAGE_TRANSITION_LINK),
is_renderer_initiated(false),
@@ -50,7 +50,7 @@ NavigateParams::NavigateParams(Browser* a_browser,
target_contents(NULL),
source_contents(NULL),
disposition(WindowOpenDisposition::CURRENT_TAB),
- force_new_process_for_new_contents(false),
+ opener(nullptr),
trusted_source(false),
transition(a_transition),
is_renderer_initiated(false),
@@ -73,7 +73,7 @@ NavigateParams::NavigateParams(Browser* a_browser,
target_contents(a_target_contents),
source_contents(NULL),
disposition(WindowOpenDisposition::CURRENT_TAB),
- force_new_process_for_new_contents(false),
+ opener(nullptr),
trusted_source(false),
transition(ui::PAGE_TRANSITION_LINK),
is_renderer_initiated(false),
@@ -99,7 +99,7 @@ NavigateParams::NavigateParams(Profile* a_profile,
target_contents(NULL),
source_contents(NULL),
disposition(WindowOpenDisposition::NEW_FOREGROUND_TAB),
- force_new_process_for_new_contents(false),
+ opener(nullptr),
trusted_source(false),
transition(a_transition),
is_renderer_initiated(false),
@@ -130,8 +130,6 @@ void FillNavigateParamsFromOpenURLParams(NavigateParams* nav_params,
nav_params->redirect_chain = params.redirect_chain;
nav_params->extra_headers = params.extra_headers;
nav_params->disposition = params.disposition;
- nav_params->force_new_process_for_new_contents =
- params.force_new_process_for_new_contents;
nav_params->trusted_source = false;
nav_params->is_renderer_initiated = params.is_renderer_initiated;
nav_params->should_replace_current_entry =
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.h ('k') | chrome/common/extensions/api/windows.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698