Chromium Code Reviews
DescriptionUse kColorId_LabelEnabledColor in Checkbox, not kColorId_ButtonEnabledColor
Checkbox uses views::Button::STYLE_TEXTBUTTON, but only STYLE_BUTTON
uses kColorId_ButtonEnabledColor in views::LabelButton (which
views::Checkbox inherits from). Fix it.
Also use the CreateDefaultInkDropRipple helper in
Checkbox::CreateInkDropRipple()
Ripples under harmony aren't derived from text colors, so we want to
consolidate calls to the SquareInkDropRipple constructor. This special
case isn't actually special.
BUG=691891
Review-Url: https://codereview.chromium.org/2963083003
Cr-Commit-Position: refs/heads/master@{#483650}
Committed: https://chromium.googlesource.com/chromium/src/+/2d322753596b18ed0d10242424edcefe4da835f2
Patch Set 1 #Patch Set 2 : Fix checkbox color #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 16 (11 generated)
|
|||||||||||||||||||