Chromium Code Reviews
DescriptionMake the extra padding around VectorIconButtons configurable.
Pre-Harmony, these always assume 4 px of padding on every side. They also
assume the default ripple size will work (it is normally 24 DIP, which lines up
with a 16 DIP icon + 2 * 4 DIP padding).
In Harmony, we want to change the size of the close buttons to 16 px, with no
padding. This change makes the padding amount configurable through the various
delegates, and changes the ripple to be sized to the icon button size itself.
I think there is no functional change pre-Harmony, because I think
VectorIconButton is always used for 16 DIP vectors, but I didn't audit.
BUG=686962
TEST=Launch Chrome with --secondary-ui-md, open the Page Info dialog, and hover the close button. The hover area should be 16 DIP.
Patch Set 1 #Patch Set 2 : Make sure Harmony close buttons stay in place #
Total comments: 2
Patch Set 3 : Rebase #Patch Set 4 : Rebase take 2 #Patch Set 5 : Resync #Patch Set 6 : Resync #Messages
Total messages: 15 (5 generated)
|