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

Issue 2171473002: Bringing back fast user switching on Mac material design user menu (Closed)

Created:
4 years, 5 months ago by Jane
Modified:
4 years, 5 months ago
Reviewers:
*groby-ooo-7-16
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bringing back fast user switching on Mac material design user menu Specifically: 1. Migrated the fast user switching buttons view (triggered by right-clicking the avatar button) back to user menu's main page; 2. Added a "Guest" and "Close all your windows" button. Implemented with createMaterialDesignOptionsViewWithRect, which is based on/parallel to createOptionsViewWithRect; 3. Made UI modifications on paddings, seperators/not, using new skia icons, etc. See screenshot: https://drive.google.com/a/google.com/file/d/0B7Fvv7JszRyGTndKT2pBWlhRY2s/view Mocks: https://folio.googleplex.com/chrome-ux-specs-and-sources/Chrome%20Desktop%20Sign%20In/user_menu/specs#%2Fspec-2.png Design doc: https://docs.google.com/document/d/17yHrKd_EU6WoIAgljnZmNCSJLRlbM3O2Pxr7aPEnqik/edit?ts=57445a70#heading=h.ulgws5x4kc7r BUG=615893 Committed: https://crrev.com/d123727f6a71838bc658c255a685fed19bd34d6e Cr-Commit-Position: refs/heads/master@{#406849}

Patch Set 1 #

Total comments: 31

Patch Set 2 : Addressed comments #

Patch Set 3 : Final nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -47 lines) Patch
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 24 chunks +219 lines, -47 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
Jane
Hi Rachel, PTAL, thanks!
4 years, 5 months ago (2016-07-20 18:28:08 UTC) #5
groby-ooo-7-16
Thank you - the structure LG, just a bunch of nits and questions https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File ...
4 years, 5 months ago (2016-07-20 20:54:22 UTC) #11
Jane
Thanks for the fast reply, PTAL! https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode455 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:455: - (void)addRightMarginSpacing:(int)rightMarginSpacing { ...
4 years, 5 months ago (2016-07-20 22:03:46 UTC) #13
groby-ooo-7-16
LGTM % nits https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1079 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1079: PrefService* service = g_browser_process->local_state(); On 2016/07/20 ...
4 years, 5 months ago (2016-07-21 00:01:46 UTC) #14
Jane
https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/2171473002/diff/1/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode1388 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:1388: - (CGFloat)buildFastUserSwitcherViewWithProfiles:(NSMutableArray*)otherProfiles On 2016/07/21 00:01:46, groby wrote: > On ...
4 years, 5 months ago (2016-07-21 13:49:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171473002/60001
4 years, 5 months ago (2016-07-21 14:43:35 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-21 14:47:04 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 14:50:20 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d123727f6a71838bc658c255a685fed19bd34d6e
Cr-Commit-Position: refs/heads/master@{#406849}

Powered by Google App Engine
This is Rietveld 408576698