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

Unified Diff: ui/native_theme/common_theme.cc

Issue 2409563002: views: use darker stroke for non-prominent buttons (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | ui/native_theme/native_theme.h » ('j') | ui/views/controls/button/md_text_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/common_theme.cc
diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
index 69c0602befe74dc32553b51d37349efea993a7be..91b90562c5f2b52b2aa48f39ea251dc253ef8c38 100644
--- a/ui/native_theme/common_theme.cc
+++ b/ui/native_theme/common_theme.cc
@@ -161,6 +161,10 @@ SkColor GetAuraColor(NativeTheme::ColorId color_id,
return SK_ColorTRANSPARENT;
case NativeTheme::kColorId_ButtonDisabledColor:
return kDisabledMenuItemForegroundColor;
+ case NativeTheme::kColorId_ProminentButtonBorderColor:
+ return SK_ColorTRANSPARENT;
+ case NativeTheme::kColorId_NonProminentButtonBorderColor:
+ return SkColorSetA(SK_ColorBLACK, 0x33);
// MenuItem
case NativeTheme::kColorId_SelectedMenuItemForegroundColor:
« no previous file with comments | « no previous file | ui/native_theme/native_theme.h » ('j') | ui/views/controls/button/md_text_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698