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

Unified Diff: ui/native_theme/common_theme.cc

Issue 2623753002: Native themes: Add separator color (Closed)
Patch Set: Change function order Created 3 years, 11 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
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/common_theme.cc
diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
index 173ea4ef32a53ac70d7531fd3306d895e21069c6..f41e775465dbfc9d7f239159fa9444e5d0ba03b8 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -76,6 +76,8 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
SkColorSetA(SK_ColorBLACK, 0x48);
static const SkColor kMenuSeparatorColor = SkColorSetRGB(0xE9, 0xE9, 0xE9);
static const SkColor kEnabledMenuItemForegroundColor = SK_ColorBLACK;
+ // Separator:
+ static const SkColor kSeparatorColor = SkColorSetRGB(0xE9, 0xE9, 0xE9);
// Link:
static const SkColor kLinkEnabledColor = gfx::kGoogleBlue700;
// Text selection colors:
@@ -207,6 +209,10 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
case NativeTheme::kColorId_LinkPressed:
return kLinkEnabledColor;
+ // Separator
+ case NativeTheme::kColorId_SeparatorColor:
+ return kSeparatorColor;
+
// Textfield
case NativeTheme::kColorId_TextfieldDefaultColor:
return kTextfieldDefaultColor;
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698