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

Unified Diff: ui/native_theme/native_theme_dark_aura.cc

Issue 2315233002: views: support disabled color for CTA buttons (Closed)
Patch Set: 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/views/controls/button/md_text_button.cc » ('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 443d955642302b7fb153e96ea8dacf7195cd9f92..3280d4d91700b9cce1abe9a5f2a38d9c0e204980 100644
--- a/ui/native_theme/native_theme_dark_aura.cc
+++ b/ui/native_theme/native_theme_dark_aura.cc
@@ -42,6 +42,8 @@ SkColor NativeThemeDarkAura::GetSystemColor(ColorId color_id) const {
return kButtonEnabledColor;
case kColorId_CallToActionColor:
return gfx::kGoogleBlue300;
+ case kColorId_CallToActionDisabledColor:
+ return SkColorSetA(gfx::kGoogleBlue300, 255.0 * 0.38);
Evan Stade 2016/09/07 16:00:35 I think it makes sense to keep this in MdTextButto
Elly Fong-Jones 2016/09/07 16:59:59 Done.
// Label
case kColorId_LabelEnabledColor:
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698