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

Issue 869793004: Bring up the Fast User Switcher on Shift+Click on the new Avatar Button (Closed)

Created:
5 years, 11 months ago by anthonyvd
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bring up the Fast User Switcher on Shift+Click on the new Avatar Button BUG=403619 TEST 1. Enable the New Avatar Menu and Fast User Switcher flags in chrome://flags 2a. Left click on the new avatar button, the entire menu should appear (tutorials if applicable, current user avatar, list of profiles to switch to, options buttons) 2b. Right click on the new avatar button, only the list of available profiles should show up. Committed: https://crrev.com/a0a82fe8d1fa9fbf10b0a4cccf7542e74c707680 Cr-Commit-Position: refs/heads/master@{#315643}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Change to right click and port to Mac UI #

Total comments: 10

Patch Set 3 : Fix nits/formatting #

Patch Set 4 : Fix browser tests #

Total comments: 22

Patch Set 5 : Corrections based on CR comments #

Total comments: 2

Patch Set 6 : Formatting #

Total comments: 2

Patch Set 7 : Rebase before submit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -28 lines) Patch
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 4 chunks +18 lines, -13 lines 0 comments Download
M chrome/browser/ui/profile_chooser_constants.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 1 chunk +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 9 chunks +41 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
Roger Tawa OOO till Jul 10th
Looks great! Just a few nits. https://codereview.chromium.org/869793004/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): https://codereview.chromium.org/869793004/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode332 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:332: BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT; Inent 331 ...
5 years, 11 months ago (2015-01-26 20:30:41 UTC) #2
anthonyvd
https://codereview.chromium.org/869793004/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): https://codereview.chromium.org/869793004/diff/1/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode332 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:332: BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT; On 2015/01/26 20:30:40, Roger Tawa wrote: > Inent ...
5 years, 10 months ago (2015-01-28 22:04:38 UTC) #3
Roger Tawa OOO till Jul 10th
lgtm, some nits below. https://codereview.chromium.org/869793004/diff/20001/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm File chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm (right): https://codereview.chromium.org/869793004/diff/20001/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm#newcode214 chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm:214: BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT; Two spaces. https://codereview.chromium.org/869793004/diff/20001/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm#newcode218 chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm:218: ...
5 years, 10 months ago (2015-01-29 23:00:35 UTC) #4
anthonyvd
https://codereview.chromium.org/869793004/diff/20001/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm File chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm (right): https://codereview.chromium.org/869793004/diff/20001/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm#newcode214 chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm:214: BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT; On 2015/01/29 23:00:35, Roger Tawa wrote: > Two ...
5 years, 10 months ago (2015-01-30 15:02:20 UTC) #5
anthonyvd
Hi guys, could you please take a look at: noms@: profile_window.cc asvitkine@: both files under ...
5 years, 10 months ago (2015-01-30 21:32:31 UTC) #7
Alexei Svitkine (slow)
Please associate this CL with a crbug and add a TEST= line that gives steps ...
5 years, 10 months ago (2015-02-02 17:22:31 UTC) #8
noms (inactive)
Looking good! Some initial nits :) https://codereview.chromium.org/869793004/diff/60001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/869793004/diff/60001/chrome/browser/profiles/profile_window.cc#newcode505 chrome/browser/profiles/profile_window.cc:505: *bubble_view_mode = profiles::BUBBLE_VIEW_MODE_FAST_PROFILE_CHOOSER; ...
5 years, 10 months ago (2015-02-03 15:29:50 UTC) #9
anthonyvd
Addressed those comments, thanks guys :) https://codereview.chromium.org/869793004/diff/60001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/869793004/diff/60001/chrome/browser/profiles/profile_window.cc#newcode505 chrome/browser/profiles/profile_window.cc:505: *bubble_view_mode = profiles::BUBBLE_VIEW_MODE_FAST_PROFILE_CHOOSER; ...
5 years, 10 months ago (2015-02-03 21:53:21 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/869793004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/869793004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1330 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1330: currentProfileView) { Don't wrap if it fits. Please fix ...
5 years, 10 months ago (2015-02-06 15:23:31 UTC) #11
noms (inactive)
profiles lgtm
5 years, 10 months ago (2015-02-10 18:31:18 UTC) #12
anthonyvd
https://codereview.chromium.org/869793004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/869793004/diff/80001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1330 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1330: currentProfileView) { On 2015/02/06 15:23:31, Alexei Svitkine wrote: > ...
5 years, 10 months ago (2015-02-10 18:49:33 UTC) #14
anthonyvd
sky@ Could you please take a look at browser_window.h profile_chooser_constants.h chrome/browser/ui/views/* Thanks a lot!
5 years, 10 months ago (2015-02-10 18:52:17 UTC) #16
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/869793004/diff/100001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/869793004/diff/100001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode988 chrome/browser/ui/views/profiles/profile_chooser_view.cc:988: AvatarMenu* avatar_menu) { Can this be a const ...
5 years, 10 months ago (2015-02-10 19:49:51 UTC) #17
sky
LGTM
5 years, 10 months ago (2015-02-10 20:19:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869793004/120001
5 years, 10 months ago (2015-02-10 21:28:11 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-10 21:32:34 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 21:33:15 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a0a82fe8d1fa9fbf10b0a4cccf7542e74c707680
Cr-Commit-Position: refs/heads/master@{#315643}

Powered by Google App Engine
This is Rietveld 408576698