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

Unified Diff: ui/base/native_theme/native_theme_aura.cc

Issue 10837317: Setting the touch wrench menu as default menu for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Still build problems: Removed const from function since linux_clang didn't like that Created 8 years, 4 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: ui/base/native_theme/native_theme_aura.cc
diff --git a/ui/base/native_theme/native_theme_aura.cc b/ui/base/native_theme/native_theme_aura.cc
index 40c2d5f8a9014caa4b310799007f63d53f358383..f6328084896a116657577923f35c117f798b7d82 100644
--- a/ui/base/native_theme/native_theme_aura.cc
+++ b/ui/base/native_theme/native_theme_aura.cc
@@ -107,8 +107,12 @@ SkColor NativeThemeAura::GetSystemColor(ColorId color_id) const {
case kColorId_FocusedMenuItemBackgroundColor:
return kFocusedMenuItemBackgroundColor;
case kColorId_MenuSeparatorColor:
+#if defined(USE_AURA)
+ return kMenuSeparatorColorTouch;
+#else
return ui::GetDisplayLayout() == ui::LAYOUT_TOUCH ?
kMenuSeparatorColorTouch : kMenuSeparatorColor;
+#endif
// Label
case kColorId_LabelEnabledColor:

Powered by Google App Engine
This is Rietveld 408576698