Chromium Code Reviews
DescriptionAllow ripple hover/press effects to be more easily sized by subclasses.
This will be useful in the harmony work, where we want icon buttons to have a
ripple size that matches the button size, rather than using the fixed 24 px
size.
This also converts some consts to constexprs -- I needed to move one constant to
the header for my default argument values, and having it constexpr and the
things above it const looked weird.
BUG=686962
TEST=none
Review-Url: https://codereview.chromium.org/2665073002
Cr-Commit-Position: refs/heads/master@{#447178}
Committed: https://chromium.googlesource.com/chromium/src/+/233a48eb42ca4b36a788c7d366a438ff4066015b
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review comment, compile fix #
Messages
Total messages: 14 (9 generated)
|
||||||||||||||||||||||||||||