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

Unified Diff: chrome/browser/ui/libgtkui/native_theme_gtk2.cc

Issue 2616273002: Native Themes: Add table header colors (Closed)
Patch Set: Address sky@ and estade@'s comments 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 | « no previous file | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | ui/native_theme/common_theme.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
index edf6ef9dbb28ac377b59e6d9ec709131ee2f2e4c..b643a5cf1ad977372ec25dd9858ef802e35655fa 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
@@ -268,6 +268,14 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
case kColorId_TableGroupingIndicatorColor:
return GetTextAAColor(GetTree(), NORMAL);
+ // Table Headers
+ case kColorId_TableHeaderText:
+ return GetTextColor(GetTree(), NORMAL);
+ case kColorId_TableHeaderBackground:
+ return GetBgColor(GetWindow(), NORMAL);
Evan Stade 2017/01/20 01:46:02 why is this not GetTree?
Tom (Use chromium acct) 2017/01/20 19:10:38 The window color is usually slightly darker than t
+ case kColorId_TableHeaderSeparator:
+ return GetFgColor(GetSeparator(), INSENSITIVE);
+
// Results Table
case kColorId_ResultsTableNormalBackground:
return GetSystemColor(kColorId_TextfieldDefaultBackground);
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | ui/native_theme/common_theme.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698