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

Unified Diff: ui/native_theme/native_theme_dark_aura.cc

Issue 2375543003: Add SetProminent() to MdTextButton to create blue buttons. (Closed)
Patch Set: Fix nits. Created 4 years, 3 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 305388e0f72917c653ac8490644c13a88db9627b..4683a65be010eb8a37e15ca7b9dbbe451e2659c9 100644
--- a/ui/native_theme/native_theme_dark_aura.cc
+++ b/ui/native_theme/native_theme_dark_aura.cc
@@ -39,7 +39,7 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
// Button
case kColorId_ButtonEnabledColor:
return kButtonEnabledColor;
- case kColorId_CallToActionColor:
+ case kColorId_ProminentButtonColor:
return gfx::kGoogleBlue300;
// Label
@@ -88,7 +88,7 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
// Intentional pass-throughs to NativeThemeAura.
case kColorId_LabelDisabledColor:
- case kColorId_TextOnCallToActionColor:
+ case kColorId_TextOnProminentButtonColor:
case kColorId_ButtonPressedShade:
case kColorId_ResultsTableHoveredBackground:
case kColorId_ResultsTableSelectedBackground:
« 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