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

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed)

Created:
6 years, 8 months ago by noms (inactive)
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Mac] Redesign the avatar bubble UI. Again. Mocks: https://docs.google.com/a/google.com/file/d/0BxMIIGI80eU-VW16NEloUFdyaXc/edit This CL does not implement the "round" avatar icon, nor the top-left corner info button, but it does set up the layout for the other elements. There is also an intermediate flag now, --new-avatar-menu, which enables the new UI but not the mirror-specific features (such as account management or the user manager). In this menu we always display the fast user switcher. BUG=353398 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265432

Patch Set 1 : #

Patch Set 2 : fix tests #

Patch Set 3 : preemptive nits #

Total comments: 7

Patch Set 4 : rachel nits #

Patch Set 5 : rebase #

Total comments: 4

Patch Set 6 : fix disaster rebase #

Total comments: 2

Patch Set 7 : roger nit #

Patch Set 8 : rebase #

Patch Set 9 : change hover colour into a kColorId #

Patch Set 10 : fix unittest broken by rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -217 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -20 lines 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_list_desktop.cc View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 7 8 20 chunks +178 lines, -126 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 chunks +166 lines, -44 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/OWNERS View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M components/signin/core/common/profile_management_switches.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M ui/native_theme/common_theme.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M ui/native_theme/fallback_theme.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
noms (inactive)
Hi Hui, Mind taking a brief look at this, before I send it out for ...
6 years, 8 months ago (2014-04-14 22:10:16 UTC) #1
guohui
yup, it looks good with my refactoring plan, though there are some overlapping changes between ...
6 years, 8 months ago (2014-04-15 13:51:13 UTC) #2
noms (inactive)
Hi Rachel, There are new mocks for the new avatar bubble, which means: brace yourself, ...
6 years, 8 months ago (2014-04-15 15:02:21 UTC) #3
groby-ooo-7-16
c/b/ui/cocoa LGTM w/ nits https://codereview.chromium.org/235833002/diff/140001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/235833002/diff/140001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode592 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:592: SkColor backgroundColor_; You might want ...
6 years, 8 months ago (2014-04-16 18:50:37 UTC) #4
noms (inactive)
https://codereview.chromium.org/235833002/diff/140001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/235833002/diff/140001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode592 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:592: SkColor backgroundColor_; On 2014/04/16 18:50:37, groby wrote: > You ...
6 years, 8 months ago (2014-04-16 19:43:35 UTC) #5
noms (inactive)
+ Elliot for c/b/profiles stamp + Scott for c/b/ui/views and c/common stamps. I've added my ...
6 years, 8 months ago (2014-04-16 19:46:14 UTC) #6
sky
LGTM
6 years, 8 months ago (2014-04-16 21:18:59 UTC) #7
Elliot Glaysher
https://codereview.chromium.org/235833002/diff/180001/chrome/browser/profiles/profile_avatar_icon_util.cc File chrome/browser/profiles/profile_avatar_icon_util.cc (right): https://codereview.chromium.org/235833002/diff/180001/chrome/browser/profiles/profile_avatar_icon_util.cc#newcode187 chrome/browser/profiles/profile_avatar_icon_util.cc:187: SkColorSetRGB(0xea, 0xea, 0xea); Be careful here; bubble background varies ...
6 years, 8 months ago (2014-04-16 21:24:48 UTC) #8
noms (inactive)
https://codereview.chromium.org/235833002/diff/180001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (left): https://codereview.chromium.org/235833002/diff/180001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#oldcode622 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:622: ui::NativeTheme::kColorId_DialogBackground)); But If I make a specific ColorId, how ...
6 years, 8 months ago (2014-04-17 14:13:40 UTC) #9
noms (inactive)
+ Roger for components/signin/core/common/profile_management_switches.cc stamp.
6 years, 8 months ago (2014-04-17 15:06:01 UTC) #10
Roger Tawa OOO till Jul 10th
components/signin lgtm, nit about variable name https://codereview.chromium.org/235833002/diff/200001/components/signin/core/common/profile_management_switches.cc File components/signin/core/common/profile_management_switches.cc (right): https://codereview.chromium.org/235833002/diff/200001/components/signin/core/common/profile_management_switches.cc#newcode53 components/signin/core/common/profile_management_switches.cc:53: switches::kFastUserSwitching) || is_just_new_menu; ...
6 years, 8 months ago (2014-04-17 15:16:42 UTC) #11
noms (inactive)
https://codereview.chromium.org/235833002/diff/200001/components/signin/core/common/profile_management_switches.cc File components/signin/core/common/profile_management_switches.cc (right): https://codereview.chromium.org/235833002/diff/200001/components/signin/core/common/profile_management_switches.cc#newcode53 components/signin/core/common/profile_management_switches.cc:53: switches::kFastUserSwitching) || is_just_new_menu; On 2014/04/17 15:16:43, Roger Tawa wrote: ...
6 years, 8 months ago (2014-04-17 15:20:09 UTC) #12
Elliot Glaysher
https://codereview.chromium.org/235833002/diff/180001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (left): https://codereview.chromium.org/235833002/diff/180001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#oldcode622 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:622: ui::NativeTheme::kColorId_DialogBackground)); On 2014/04/17 14:13:41, Monica Dinculescu wrote: > But ...
6 years, 8 months ago (2014-04-17 17:29:25 UTC) #13
noms (inactive)
Hi Elliot, I've done some things that are possibly very incorrect about converting the hard ...
6 years, 8 months ago (2014-04-22 17:06:55 UTC) #14
Elliot Glaysher
On 2014/04/22 17:06:55, Monica Dinculescu wrote: > Hi Elliot, > > I've done some things ...
6 years, 8 months ago (2014-04-22 17:55:10 UTC) #15
noms (inactive)
Yay! Thanks!
6 years, 8 months ago (2014-04-22 18:20:37 UTC) #16
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 8 months ago (2014-04-22 18:20:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/235833002/260001
6 years, 8 months ago (2014-04-22 18:21:01 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 19:29:16 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-22 19:29:16 UTC) #20
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 8 months ago (2014-04-22 20:04:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/235833002/280001
6 years, 8 months ago (2014-04-22 20:05:23 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 21:34:57 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_x64_rel
6 years, 8 months ago (2014-04-22 21:34:58 UTC) #24
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 8 months ago (2014-04-22 21:43:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/235833002/280001
6 years, 8 months ago (2014-04-22 21:43:37 UTC) #26
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 00:09:02 UTC) #27
Message was sent while issue was closed.
Change committed as 265432

Powered by Google App Engine
This is Rietveld 408576698