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

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

Issue 2383573002: [DO NOT COMMIT] Remove chrome::NOTIFICATION_RETARGETING
Patch Set: Rebase on ToT Created 4 years, 2 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.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 251e61855691d52949d509cbff5965a89e4bb0c5..04dcc5735455811b7c66b4ad07a1a7d23d62eee4 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -366,6 +366,12 @@ content::WebContents* CreateTargetContents(const chrome::NavigateParams& params,
if (params.disposition == WindowOpenDisposition::NEW_BACKGROUND_TAB)
create_params.initially_hidden = true;
+ create_params.created_from_context_menu = params.started_from_context_menu;
+ create_params.target_url = params.url;
+ create_params.source_web_contents = params.source_contents;
+ create_params.disposition = params.disposition;
+ create_params.transition = params.transition;
+
#if defined(USE_AURA)
if (params.browser->window() &&
params.browser->window()->GetNativeWindow()) {
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/test/data/extensions/api_test/webnavigation/userAction/framework.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698