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

Unified Diff: ui/native_theme/native_theme_gtk.cc

Issue 12483006: wrench_menu: use NativeTheme colors under aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: {background,border}_color fixup and HoverBorderColor Created 7 years, 9 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/native_theme/native_theme_gtk.cc
diff --git a/ui/native_theme/native_theme_gtk.cc b/ui/native_theme/native_theme_gtk.cc
index 07209d8594b4d13cef3626f7b68a5569a1988c1e..cc8a4d87bc66ba642f65b540f7a5ee81d7f263b1 100644
--- a/ui/native_theme/native_theme_gtk.cc
+++ b/ui/native_theme/native_theme_gtk.cc
@@ -20,6 +20,9 @@ const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128);
const SkColor kFocusedBorderColor = SkColorSetRGB(0x4D, 0x90, 0xFE);
const SkColor kUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9);
+// MenuItem
+const SkColor kHoverMenuItemBackgroundColor = SkColorSetRGB(204, 204, 204);
+
// TextButton:
const SkColor kTextButtonBackgroundColor = SkColorSetRGB(0xde, 0xde, 0xde);
const SkColor kTextButtonEnabledColor = SkColorSetRGB(6, 45, 117);
@@ -59,6 +62,10 @@ SkColor NativeThemeGtk::GetSystemColor(ColorId color_id) const {
case kColorId_UnfocusedBorderColor:
return kUnfocusedBorderColor;
+ // MenuItem
+ case kColorId_HoverMenuItemBackgroundColor:
+ return kHoverMenuItemBackgroundColor;
+
// TextButton:
case kColorId_TextButtonBackgroundColor:
return kTextButtonBackgroundColor;

Powered by Google App Engine
This is Rietveld 408576698