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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.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/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index d20b66a5138b6deb02e00da69da22a6303d08ff7..b42266de97c4cfcc8ae6a8f59fe6fa45440cb474 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -485,7 +485,7 @@ void SystemTrayDelegateChromeOS::ShowPowerSettings() {
void SystemTrayDelegateChromeOS::ShowChromeSlow() {
chrome::ScopedTabbedBrowserDisplayer displayer(
- ProfileManager::GetPrimaryUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH);
+ ProfileManager::GetPrimaryUserProfile());
chrome::ShowSlow(displayer.browser());
}
@@ -522,7 +522,7 @@ void SystemTrayDelegateChromeOS::ShowHelp() {
void SystemTrayDelegateChromeOS::ShowAccessibilityHelp() {
chrome::ScopedTabbedBrowserDisplayer displayer(
- ProfileManager::GetActiveUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH);
+ ProfileManager::GetActiveUserProfile());
accessibility::ShowAccessibilityHelp(displayer.browser());
}
@@ -536,7 +536,7 @@ void SystemTrayDelegateChromeOS::ShowAccessibilitySettings() {
void SystemTrayDelegateChromeOS::ShowPublicAccountInfo() {
chrome::ScopedTabbedBrowserDisplayer displayer(
- ProfileManager::GetActiveUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH);
+ ProfileManager::GetActiveUserProfile());
chrome::ShowPolicy(displayer.browser());
}
@@ -558,7 +558,7 @@ void SystemTrayDelegateChromeOS::ShowEnterpriseInfo() {
help_app->ShowHelpTopic(chromeos::HelpAppLauncher::HELP_ENTERPRISE);
} else {
chrome::ScopedTabbedBrowserDisplayer displayer(
- ProfileManager::GetActiveUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH);
+ ProfileManager::GetActiveUserProfile());
chrome::ShowSingletonTab(displayer.browser(),
GURL(chrome::kLearnMoreEnterpriseURL));
}

Powered by Google App Engine
This is Rietveld 408576698