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

Issue 333353004: Fix the Windows 8 mode avatar button menu. (Closed)

Created:
6 years, 6 months ago by msw
Modified:
6 years, 6 months ago
Reviewers:
noms (inactive), sky
CC:
chromium-reviews, tfarina, Mike Lerman, Roger Tawa OOO till Jul 10th, guohui
Visibility:
Public.

Description

Fix 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -36 lines) Patch
M chrome/browser/ui/browser_window.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 chunks +31 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
msw
Please take a look; lmk if we should do something else, like: 1) Use the ...
6 years, 6 months ago (2014-06-16 22:49:53 UTC) #1
noms (inactive)
Does the new menu button not work in Win8 metro? Is there a limitaton why ...
6 years, 6 months ago (2014-06-17 14:16:54 UTC) #2
msw
On 2014/06/17 14:16:54, Monica Dinculescu wrote: > Does the new menu button not work in ...
6 years, 6 months ago (2014-06-17 18:16:45 UTC) #3
noms (inactive)
I see. lgtm. I will investigate what's up with the new button.
6 years, 6 months ago (2014-06-17 18:19:06 UTC) #4
msw
+Scott for OWNERS, please take a look; thanks!
6 years, 6 months ago (2014-06-17 18:21:09 UTC) #5
sky
LGTM
6 years, 6 months ago (2014-06-17 19:14:53 UTC) #6
msw
The CQ bit was checked by msw@chromium.org
6 years, 6 months ago (2014-06-17 19:22:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/333353004/20001
6 years, 6 months ago (2014-06-17 19:24:01 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 20:38:33 UTC) #9
Message was sent while issue was closed.
Change committed as 277857

Powered by Google App Engine
This is Rietveld 408576698