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

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

Issue 2961223002: Rename native theme color constants relating to text on dialog buttons
Patch Set: rebase Created 3 years, 6 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_gtk2.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/native_theme_gtk3.cc
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
index ef2cc34c7fe695812f23226037fb38c26977a1a2..5c9cd6d372d464666fee22ce389f0991007ad67c 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
@@ -181,9 +181,9 @@ SkColor SkColorFromColorId(ui::NativeTheme::ColorId color_id) {
return GetSeparatorColor("GtkSeparator#separator.horizontal");
// Button
- case ui::NativeTheme::kColorId_ButtonEnabledColor:
+ case ui::NativeTheme::kColorId_TextOnEnabledDialogButton:
return GetFgColor("GtkButton#button.text-button GtkLabel");
- case ui::NativeTheme::kColorId_ButtonDisabledColor:
+ case ui::NativeTheme::kColorId_TextOnDisabledDialogButton:
return GetFgColor("GtkButton#button.text-button:disabled GtkLabel");
case ui::NativeTheme::kColorId_ButtonHoverColor:
return GetFgColor("GtkButton#button.text-button:hover GtkLabel");
@@ -214,7 +214,7 @@ SkColor SkColorFromColorId(ui::NativeTheme::ColorId color_id) {
return GetBgColor(
"GtkTreeView#treeview.view "
"GtkTreeView#treeview.view.cell:selected:focus");
- case ui::NativeTheme::kColorId_TextOnProminentButtonColor:
+ case ui::NativeTheme::kColorId_TextOnProminentDialogButton:
return GetFgColor(
"GtkTreeView#treeview.view "
"GtkTreeView#treeview.view.cell:selected:focus GtkLabel");
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk2.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698