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

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

Issue 2616273002: Native Themes: Add table header colors (Closed)
Patch Set: Update default colors 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
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..d1aa13b488de79447fc23937806ec000ca8eb8d7 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:
+ case kColorId_TableHeaderBackground:
+ case kColorId_TableHeaderSeparator:
+ // Fallback to using common theme colors.
+ return ui::NativeTheme::GetInstanceForNativeUi()->GetSystemColor(
+ color_id);
+
// 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/views/controls/table/table_header.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698