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

Unified Diff: chrome/browser/ui/views/frame/system_menu_model_builder.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/frame/system_menu_model_builder.cc
diff --git a/chrome/browser/ui/views/frame/system_menu_model_builder.cc b/chrome/browser/ui/views/frame/system_menu_model_builder.cc
index 0e5d48fb30939ff9f0b6900653728431ef8f3462..60f1bf930f03433d315a48437f456891a7f388d1 100644
--- a/chrome/browser/ui/views/frame/system_menu_model_builder.cc
+++ b/chrome/browser/ui/views/frame/system_menu_model_builder.cc
@@ -59,10 +59,10 @@ void SystemMenuModelBuilder::Init() {
menu_model_.reset(model);
BuildMenu(model);
#if defined(OS_WIN)
- // On Windows with HOST_DESKTOP_TYPE_NATIVE we put the menu items in the
+ // On Windows with ui::HOST_DESKTOP_TYPE_NATIVE we put the menu items in the
// system menu (not at the end). Doing this necessitates adding a trailing
// separator.
- if (browser()->host_desktop_type() == chrome::HOST_DESKTOP_TYPE_NATIVE)
+ if (browser()->host_desktop_type() == ui::HOST_DESKTOP_TYPE_NATIVE)
model->AddSeparator(ui::NORMAL_SEPARATOR);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698