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

Unified Diff: ui/native_theme/common_theme.cc

Issue 2616273002: Native Themes: Add table header colors (Closed)
Patch Set: Add gradients back 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 f41e775465dbfc9d7f239159fa9444e5d0ba03b8..287d1a74d61d35ce73e2b0c2a2c4e42c89d18695 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -261,6 +261,17 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
case NativeTheme::kColorId_TableGroupingIndicatorColor:
return kTableGroupingIndicatorColor;
+ // Table Header
+ case NativeTheme::kColorId_TableHeaderText:
+ return base_theme->GetSystemColor(
+ NativeTheme::kColorId_EnabledMenuItemForegroundColor);
+ case NativeTheme::kColorId_TableHeaderBackground:
+ return base_theme->GetSystemColor(
+ NativeTheme::kColorId_MenuBackgroundColor);
+ case NativeTheme::kColorId_TableHeaderSeparator:
+ return base_theme->GetSystemColor(
+ NativeTheme::kColorId_EnabledMenuButtonBorderColor);
+
// FocusableBorder
case NativeTheme::kColorId_FocusedBorderColor:
return gfx::kGoogleBlue500;
« 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