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

Unified Diff: chrome/browser/ui/app_list/app_list_view_delegate.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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/app_list/app_list_view_delegate.cc
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
index 7424f830fe251c202e1452a082d5f6c30ce11c40..39d2962fbdad3f7e87868f28bba28174c9172e28 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
@@ -320,9 +320,9 @@ void AppListViewDelegate::SetUpProfileSwitcher() {
return;
// Don't populate the app list users if we are on the ash desktop.
- chrome::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
+ ui::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
controller_->GetAppListWindow());
- if (desktop == chrome::HOST_DESKTOP_TYPE_ASH)
+ if (desktop == ui::HOST_DESKTOP_TYPE_ASH)
return;
// Populate the app list users.
@@ -581,7 +581,7 @@ void AppListViewDelegate::OpenSettings() {
}
void AppListViewDelegate::OpenHelp() {
- chrome::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
+ ui::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
controller_->GetAppListWindow());
chrome::ScopedTabbedBrowserDisplayer displayer(profile_, desktop);
content::OpenURLParams params(GURL(chrome::kAppLauncherHelpURL),
@@ -593,7 +593,7 @@ void AppListViewDelegate::OpenHelp() {
}
void AppListViewDelegate::OpenFeedback() {
- chrome::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
+ ui::HostDesktopType desktop = chrome::GetHostDesktopTypeForNativeWindow(
controller_->GetAppListWindow());
Browser* browser = chrome::FindTabbedBrowser(profile_, false, desktop);
chrome::ShowFeedbackPage(browser, std::string(),

Powered by Google App Engine
This is Rietveld 408576698