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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.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/views/app_list/win/app_list_controller_delegate_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
index 743c4d1657df11c6cf8c45d02804d716aac9c6ea..29c712f6e53686f18d1d0d9fc4362fd502f4a904 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
@@ -30,15 +30,15 @@ gfx::ImageSkia AppListControllerDelegateWin::GetWindowIcon() {
}
void AppListControllerDelegateWin::FillLaunchParams(AppLaunchParams* params) {
- params->desktop_type = chrome::HOST_DESKTOP_TYPE_NATIVE;
+ params->desktop_type = ui::HOST_DESKTOP_TYPE_NATIVE;
extensions::AppWindow* any_existing_window =
extensions::AppWindowRegistry::Get(params->profile)
->GetCurrentAppWindowForApp(params->extension_id);
if (any_existing_window &&
chrome::GetHostDesktopTypeForNativeWindow(
- any_existing_window->GetNativeWindow())
- != chrome::HOST_DESKTOP_TYPE_NATIVE) {
- params->desktop_type = chrome::HOST_DESKTOP_TYPE_ASH;
+ any_existing_window->GetNativeWindow()) !=
+ ui::HOST_DESKTOP_TYPE_NATIVE) {
+ params->desktop_type = ui::HOST_DESKTOP_TYPE_ASH;
chrome::ActivateMetroChrome();
}
}

Powered by Google App Engine
This is Rietveld 408576698