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

Unified Diff: ui/native_theme/native_theme_dark_aura.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 | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_dark_aura.cc
diff --git a/ui/native_theme/native_theme_dark_aura.cc b/ui/native_theme/native_theme_dark_aura.cc
index 8974c488b7a91be584014f00d1c5ed8217775e5a..059312a6e60d5c222c16bf6e771e24c4135d0dea 100644
--- a/ui/native_theme/native_theme_dark_aura.cc
+++ b/ui/native_theme/native_theme_dark_aura.cc
@@ -38,7 +38,7 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
return SK_ColorBLACK;
// Button
- case kColorId_ButtonEnabledColor:
+ case kColorId_TextOnEnabledDialogButton:
return kButtonEnabledColor;
case kColorId_ProminentButtonColor:
return gfx::kGoogleBlue300;
@@ -90,7 +90,7 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
// Intentional pass-throughs to NativeThemeAura.
case kColorId_LabelDisabledColor:
- case kColorId_TextOnProminentButtonColor:
+ case kColorId_TextOnProminentDialogButton:
case kColorId_ButtonPressedShade:
case kColorId_ResultsTableHoveredBackground:
case kColorId_ResultsTableSelectedBackground:
@@ -101,7 +101,7 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
// Any other color is not defined and shouldn't be used in a dark theme.
case kColorId_UnfocusedBorderColor:
- case kColorId_ButtonDisabledColor:
+ case kColorId_TextOnDisabledDialogButton:
case kColorId_ButtonHoverColor:
case kColorId_BlueButtonEnabledColor:
case kColorId_BlueButtonDisabledColor:
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698