DescriptionClose avatar bubble when avatar button is clicked a second time
Currently when the avatar button is clicked a second time the avatar bubble closes then immediately opens again.
The problem is that the same mouse event that closes the bubble also causes to open again.
To fix this I've changed AvatarMenuBubbleView to track it's current instance. If a caller tries to show the bubble while an instance is already being shown then the show request is ignored.
BUG=107876
TEST=Clicked on the avatar button a second time and verified that the avatar bubble stayed closed.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175220
Patch Set 1 #
Total comments: 4
Patch Set 2 : address review comments #
Total comments: 4
Patch Set 3 : address comments #Patch Set 4 : fix build #
Messages
Total messages: 9 (0 generated)
|