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

Unified Diff: ui/views/controls/button/checkbox.cc

Issue 2302173002: Update Harmony textfield and combobox default border color. (Closed)
Patch Set: also tweak checkbox/radio 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/common_theme.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/checkbox.cc
diff --git a/ui/views/controls/button/checkbox.cc b/ui/views/controls/button/checkbox.cc
index ae7636732422a76c26ad92d457c9d93f15cb96fc..e52c23bf3ffead609ea8c26b18b3e4e3b2d10d1c 100644
--- a/ui/views/controls/button/checkbox.cc
+++ b/ui/views/controls/button/checkbox.cc
@@ -174,7 +174,7 @@ std::unique_ptr<InkDropHighlight> Checkbox::CreateInkDropHighlight() const {
SkColor Checkbox::GetInkDropBaseColor() const {
return GetNativeTheme()->GetSystemColor(
- ui::NativeTheme::kColorId_UnfocusedBorderColor);
+ ui::NativeTheme::kColorId_ButtonEnabledColor);
}
gfx::ImageSkia Checkbox::GetImage(ButtonState for_state) const {
@@ -183,7 +183,7 @@ gfx::ImageSkia Checkbox::GetImage(ButtonState for_state) const {
GetVectorIconId(), 16,
// When not checked, the icon color matches the button text color.
GetNativeTheme()->GetSystemColor(
- checked_ ? ui::NativeTheme::kColorId_CallToActionColor
+ checked_ ? ui::NativeTheme::kColorId_FocusedBorderColor
: ui::NativeTheme::kColorId_ButtonEnabledColor));
}
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698