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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 1807743003: Remove HostDesktopType from AppLaunchParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp-parent
Patch Set: cros Created 4 years, 9 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/views/app_list/win/app_list_controller_delegate_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index c3adbc2e2b8e38cb9162995d5848f5539051767e..ac4c6344c95bc330458876ae655345436b478bac 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -532,9 +532,9 @@ void AppLauncherHandler::HandleLaunchApp(const base::ListValue* args) {
if (browser)
old_contents = browser->tab_strip_model()->GetActiveWebContents();
- AppLaunchParams params(profile, extension,
- old_contents ? CURRENT_TAB : NEW_FOREGROUND_TAB,
- extensions::SOURCE_NEW_TAB_PAGE);
+ AppLaunchParams params = CreateAppLaunchParamsUserContainer(
+ profile, extension, old_contents ? CURRENT_TAB : NEW_FOREGROUND_TAB,
+ extensions::SOURCE_NEW_TAB_PAGE);
params.override_url = GURL(url);
WebContents* new_contents = OpenApplication(params);
« no previous file with comments | « chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698