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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.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/apps/chrome_native_app_window_views_aura.cc
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
index 2adfb24ed68646ce6501c379c1d03ecd05eb41cb..e5d5fa41bdf19492b0ffbac0becbe890fdbcd0d2 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
@@ -131,7 +131,7 @@ void ChromeNativeAppWindowViewsAura::InitializeWindow(
// Restore docked state on ash desktop and ignore it elsewhere.
if (create_params.state == ui::SHOW_STATE_DOCKED &&
chrome::GetHostDesktopTypeForNativeWindow(widget()->GetNativeWindow()) ==
- chrome::HOST_DESKTOP_TYPE_ASH) {
+ ui::HOST_DESKTOP_TYPE_ASH) {
widget()->GetNativeWindow()->SetProperty(aura::client::kShowStateKey,
create_params.state);
}
@@ -199,7 +199,7 @@ ChromeNativeAppWindowViewsAura::CreateNonStandardAppFrame() {
// For non-Ash windows, install an easy resize window targeter, which ensures
// that the root window (not the app) receives mouse events on the edges.
if (chrome::GetHostDesktopTypeForNativeWindow(widget()->GetNativeWindow()) !=
- chrome::HOST_DESKTOP_TYPE_ASH) {
+ ui::HOST_DESKTOP_TYPE_ASH) {
aura::Window* window = widget()->GetNativeWindow();
int resize_inside = frame->resize_inside_bounds_size();
gfx::Insets inset(resize_inside, resize_inside, resize_inside,

Powered by Google App Engine
This is Rietveld 408576698