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

Issue 8500004: Rebase AvatarMenuBubbleView on the new views bubble. (Closed)

Created:
9 years, 1 month ago by msw
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Rebase AvatarMenuBubbleView on the new views bubble. Added an std::max to prevent negative width calculation. TODO(sail/msw): BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE. I filed crbug.com/105014 for the placement regression on NTP. BUG=98323 TEST=The avatar menu bubble works as before. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111018 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111102

Patch Set 1 #

Patch Set 2 : Mostly working. #

Patch Set 3 : Sync and merge. #

Total comments: 2

Patch Set 4 : Fix indentation. #

Patch Set 5 : Remove unused var and fix init order (nits). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -62 lines) Patch
M chrome/browser/ui/views/avatar_menu_bubble_view.h View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_bubble_view.cc View 1 2 3 4 6 chunks +17 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.h View 1 3 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_button.cc View 1 2 3 4 3 chunks +6 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
msw
Sail, Alice: I got started on the avatar bubble. PTAL; thanks! We need to deprecate ...
9 years, 1 month ago (2011-11-19 05:40:42 UTC) #1
alicet1
lgtm lg for moving to the new bubble code.
9 years, 1 month ago (2011-11-19 15:50:44 UTC) #2
sail
lgtm
9 years, 1 month ago (2011-11-21 17:40:40 UTC) #3
msw
Ben PTAL, we'll address the bubble placement regression in another CL ASAP.
9 years, 1 month ago (2011-11-21 20:03:14 UTC) #4
Ben Goodger (Google)
lgtm http://codereview.chromium.org/8500004/diff/5001/chrome/browser/ui/views/avatar_menu_button.cc File chrome/browser/ui/views/avatar_menu_button.cc (right): http://codereview.chromium.org/8500004/diff/5001/chrome/browser/ui/views/avatar_menu_button.cc#newcode156 chrome/browser/ui/views/avatar_menu_button.cc:156: views::BubbleBorder::TOP_LEFT, bounds, browser_); 4-space indent
9 years, 1 month ago (2011-11-21 20:23:22 UTC) #5
msw
Done; landing. http://codereview.chromium.org/8500004/diff/5001/chrome/browser/ui/views/avatar_menu_button.cc File chrome/browser/ui/views/avatar_menu_button.cc (right): http://codereview.chromium.org/8500004/diff/5001/chrome/browser/ui/views/avatar_menu_button.cc#newcode156 chrome/browser/ui/views/avatar_menu_button.cc:156: views::BubbleBorder::TOP_LEFT, bounds, browser_); On 2011/11/21 20:23:22, Ben ...
9 years, 1 month ago (2011-11-21 20:39:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/8500004/11001
9 years, 1 month ago (2011-11-21 20:40:44 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-21 22:46:08 UTC) #8
Change committed as 111018

Powered by Google App Engine
This is Rietveld 408576698