Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Issue 8138019: Don't reopen avatar bubble view on second click (Closed)

Created:
9 years, 2 months ago by sail
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Don't reopen avatar bubble view on second click If user opened the avatar bubble view then clicked on the avatar button the avatar menu would close then reopen. With this change we keep track of the open bubble and prevent it from reopening. BUG=97146 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104057

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M chrome/browser/ui/views/avatar_menu_button.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.cc View 1 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/bubble/bubble.h View 1 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/bubble/bubble.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sail
9 years, 2 months ago (2011-10-05 01:18:04 UTC) #1
Peter Kasting
LGTM http://codereview.chromium.org/8138019/diff/1/chrome/browser/ui/views/avatar_menu_button.cc File chrome/browser/ui/views/avatar_menu_button.cc (right): http://codereview.chromium.org/8138019/diff/1/chrome/browser/ui/views/avatar_menu_button.cc#newcode76 chrome/browser/ui/views/avatar_menu_button.cc:76: if (bubble_) Nit: Maybe this should just call ...
9 years, 2 months ago (2011-10-05 01:22:51 UTC) #2
sail
http://codereview.chromium.org/8138019/diff/1/chrome/browser/ui/views/avatar_menu_button.cc File chrome/browser/ui/views/avatar_menu_button.cc (right): http://codereview.chromium.org/8138019/diff/1/chrome/browser/ui/views/avatar_menu_button.cc#newcode76 chrome/browser/ui/views/avatar_menu_button.cc:76: if (bubble_) On 2011/10/05 01:22:51, Peter Kasting wrote: > ...
9 years, 2 months ago (2011-10-05 01:32:10 UTC) #3
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8138019/8
9 years, 2 months ago (2011-10-05 01:32:19 UTC) #4
commit-bot: I haz the power
9 years, 2 months ago (2011-10-05 03:24:50 UTC) #5
Change committed as 104057

Powered by Google App Engine
This is Rietveld 408576698