DescriptionFix the Windows 8 mode avatar button menu.
Metro's avatar button is no-op w/--new-profile-management.
This may have regressed with r270126, but I'm not sure how.
IsNewAvatarMenu returns true in metro (r263677, r263396).
However, GetNewAvatarMenuButton returns NULL in metro.
(the new button isn't implemented for that frame, afaict)
So ShowAvatarBubbleFromAvatarButton currently does nothing.
Instead, anchor to the avatar menu button or app menu.
Remove the unused |anchor_rect| parameter.
BUG=382895
R=noms@chromium.org,sky@chromium.org
TEST=Avatar button works in Windows 8 mode (metro) with .
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277857
Patch Set 1 #Patch Set 2 : Use another ProfileChooserView anchor, remove unused anchor_rect. #
Messages
Total messages: 9 (0 generated)
|