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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 1707773002: Revert of Remove HostDesktopType from AppLaunchParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-15
Patch Set: rebase Created 4 years, 10 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/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 7be189be5fdf330e2c07b883427eeb091610d6d2..6229f22a149789d34d29fd9576d8e27c94ad976c 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -334,6 +334,7 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile,
params.current_directory = cur_dir_;
// If we are being launched from the command line, default to native
// desktop.
+ params.desktop_type = chrome::HOST_DESKTOP_TYPE_NATIVE;
::OpenApplicationWithReenablePrompt(params);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698