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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 1662783002: Remove HostDesktopType from Browser::CreateParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-12
Patch Set: remove desktop_type_ in bookmark_bubble_sign_in_delegate 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/ash/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index ce82d55a5005ee689547fc6537b2eaeedb7bfd94..dd9c48e7d535ef4308e8b2feebaf4d713aa76fe7 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -955,13 +955,12 @@ bool ChromeLauncherController::IsLoggedInAsGuest() {
void ChromeLauncherController::CreateNewWindow() {
// Use the currently active user.
- chrome::NewEmptyWindow(profile_, chrome::HOST_DESKTOP_TYPE_ASH);
+ chrome::NewEmptyWindow(profile_);
}
void ChromeLauncherController::CreateNewIncognitoWindow() {
// Use the currently active user.
- chrome::NewEmptyWindow(profile_->GetOffTheRecordProfile(),
- chrome::HOST_DESKTOP_TYPE_ASH);
+ chrome::NewEmptyWindow(profile_->GetOffTheRecordProfile());
}
void ChromeLauncherController::PersistPinnedState() {

Powered by Google App Engine
This is Rietveld 408576698