Description[Win] Redesign the new avatar button.
Screenshots: https://drive.google.com/open?id=0B1B1Up4p2NRMc28yXzJuRFRZbWs&authuser=1
TL; DR:
- never show a drop down arrow in the button. This means we can do s/MenuButton/LabelButton
- if there is one local, non-signed in profile, show a tiny button with a generic avatar
- in all other cases, show the avatar button with the profile name
- updated the button insets so that the icons are centered correctly in the button
- the new tab button should completely slide under the avatar button
- because of this, I made public the new tab button width (and height, to be consistent)
BUG=410946
Committed: https://crrev.com/47436cee55dc9836f3bd77efc4c9ca1648fd86a9
Cr-Commit-Position: refs/heads/master@{#296959}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : fix unit test #
Total comments: 4
Patch Set 3 : move static var declaration #Messages
Total messages: 19 (4 generated)
|