New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 728141 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 730958



Sign in to add a comment

[MacViews] Wire up ProfileChooserView

Project Member Reported by ellyjo...@chromium.org, May 31 2017

Issue description

I don't know what this dialog is or how it differs from UserManagerProfileDialogDelegate :)
 
Blocking: 730958
Labels: Proj-MacViews
I think we can punt these to a later phase. See  Issue 730958 .
Labels: M-X

Comment 3 by jlebel@chromium.org, Oct 31 2017

ProfileChooserView is the Windows/Linux version.
ProfileChooserController is the macOS version.

Those classes are used to display the profile chooser menu when the profile button is clicked.

I have no clue what UserManagerProfileDialogDelegate is about.

Me and tangltom are in charge of ProfileChooserView and ProfileChooserController.

Comment 4 by tapted@chromium.org, Oct 31 2017

I think UserManagerProfileDialogDelegate is used for the webui container when you select 'Manage People' from ProfileChooserView/ProfileChooserController
Components: Services>SignIn
Owner: jlebel@chromium.org
Status: Started (was: Available)
Labels: -M-X M-64
This became higher priority and the current target is M64.
This is the macViews implementation based on crrev.com/c/750901
download.png
66.6 KB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, Nov 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ff683d4c68b0505229fe56d1bd34e371f1758124

commit ff683d4c68b0505229fe56d1bd34e371f1758124
Author: Jérôme Lebel <jlebel@chromium.org>
Date: Fri Nov 10 10:24:02 2017

[signin][Mac] Using ProfileChooserView on macOS

The profile chooser menu on macOS is implemented with cocoa, with
ProfileChooserController. On Linux and Windows, ProfileChooserView is
used (based on toolkit-views).
This patch adds a feature flag (enabled by default) to use
ProfileChooserView on macOS.
The benefit is to have only one implementation on all 3 platforms.

Bug:  728141 
Change-Id: Idf3099ac698dfa1e286ce23e6852390e8500b4b2
Reviewed-on: https://chromium-review.googlesource.com/750901
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515523}
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/about_flags.cc
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/flag_descriptions.cc
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/flag_descriptions.h
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/BUILD.gn
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm
[add] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/profile_chooser_bridge_views.h
[add] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/profile_chooser_bridge_views.mm
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/views/frame/browser_view.cc
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/views/profiles/profile_chooser_view.cc
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/browser/ui/views/profiles/profile_chooser_view.h
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/common/chrome_features.cc
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/chrome/common/chrome_features.h
[modify] https://crrev.com/ff683d4c68b0505229fe56d1bd34e371f1758124/tools/metrics/histograms/enums.xml

Comment 9 by jleedev@gmail.com, Nov 13 2017

It looks like this change broke keyboard focus in the profiles menu.
#c9: see  Issue 784235  - next canary should have the fix.
Project Member

Comment 11 by bugdroid1@chromium.org, Nov 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1038e2cc11f3b68df6204451aa2ba03b7f615073

commit 1038e2cc11f3b68df6204451aa2ba03b7f615073
Author: Jérôme Lebel <jlebel@chromium.org>
Date: Thu Nov 16 10:45:15 2017

macOS: Setting focus to the first profile in profile switcher

When opening the profile switcher menu using the shortcut (cmd-shift-m), the first
profile (other than the current one) in the list should be highlighted. This should
happens only when opening the menu with the keyboard (and not with the mouse).

This was done with Cocoa implementation: crrev.com/2638853003
It should have been done when moving the profile chooser menu to views-toolkit:
crrev.com/c/750901

Bug:  728141 
Change-Id: I724d08ce626ec88144edabe7d928d8315606fd71
Reviewed-on: https://chromium-review.googlesource.com/771753
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Reviewed-by: Trent Apted <tapted@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517052}
[modify] https://crrev.com/1038e2cc11f3b68df6204451aa2ba03b7f615073/chrome/browser/ui/cocoa/profiles/profile_chooser_bridge_views.mm

Status: Fixed (was: Started)
Issue 685668 has been merged into this issue.
Cc: groby@chromium.org rogerta@chromium.org jlebel@chromium.org
 Issue 522151  has been merged into this issue.

Sign in to add a comment