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

Issue 2687693002: Linux/Windows: Setting focus to the first profile in profile switcher (Closed)

Created:
3 years, 10 months ago by jlebel
Modified:
3 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-history_chromium.org, dbeam+watch-options_chromium.org, Patrick Dubroy, gcasto+watchlist_chromium.org, mac-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-options_chromium.org, pam+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, tfarina, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux/Windows: Setting focus to the first profile in profile switcher When opening the profile switcher menu using the shortcut (ctrl-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). For macOS: crrev.com/2638853003 and crrev.com/2682153002 BUG=674343 Review-Url: https://codereview.chromium.org/2687693002 Cr-Commit-Position: refs/heads/master@{#452449} Committed: https://chromium.googlesource.com/chromium/src/+/233d5951645e51d856784682bd5c1b32b2f60f81

Patch Set 1 #

Total comments: 11

Patch Set 2 : Removing {} #

Total comments: 4

Patch Set 3 : Renaming |focus_first_profile| to |is_source_keyboard| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -29 lines) Patch
M chrome/browser/printing/print_dialog_cloud.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/chrome_signin_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/signin_global_error.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/avatar_button_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 5 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/history_login_handler.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 52 (24 generated)
jlebel
Hello sky Can you review my patch about the profile switching menu? This is about ...
3 years, 10 months ago (2017-02-09 12:55:06 UTC) #8
sky
On 2017/02/09 12:55:06, jlebel wrote: > Hello sky > > Can you review my patch ...
3 years, 10 months ago (2017-02-09 19:22:14 UTC) #9
jlebel
On 2017/02/09 19:22:14, sky wrote: > On 2017/02/09 12:55:06, jlebel wrote: > > Hello sky ...
3 years, 10 months ago (2017-02-09 19:43:25 UTC) #10
sky
On 2017/02/09 19:43:25, jlebel wrote: > On 2017/02/09 19:22:14, sky wrote: > > On 2017/02/09 ...
3 years, 10 months ago (2017-02-09 20:05:00 UTC) #11
sky
https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc#newcode1131 chrome/browser/ui/browser_commands.cc:1131: void ShowFastUserSwitcher(Browser* browser) { Is this called anywhere? https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/views/profiles/profile_chooser_view.cc ...
3 years, 10 months ago (2017-02-09 20:17:39 UTC) #12
jlebel
Hello anthony, Can you tell if ShowFastUserSwitcher() in browser_commands.cc is still used? Thanks, https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc File ...
3 years, 10 months ago (2017-02-10 12:13:43 UTC) #14
sky
On 2017/02/09 20:05:00, sky wrote: > On 2017/02/09 19:43:25, jlebel wrote: > > On 2017/02/09 ...
3 years, 10 months ago (2017-02-10 18:55:59 UTC) #15
jlebel
On 2017/02/10 18:55:59, sky wrote: > On 2017/02/09 20:05:00, sky wrote: > > On 2017/02/09 ...
3 years, 10 months ago (2017-02-13 09:58:06 UTC) #16
anthonyvd
https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc#newcode1131 chrome/browser/ui/browser_commands.cc:1131: void ShowFastUserSwitcher(Browser* browser) { On 2017/02/10 at 12:13:43, jlebel ...
3 years, 10 months ago (2017-02-13 15:46:46 UTC) #17
sky
Can you attach screenshots of what this looks like with and without the focus? On ...
3 years, 10 months ago (2017-02-13 18:05:31 UTC) #18
jlebel
On 2017/02/13 18:05:31, sky wrote: > Can you attach screenshots of what this looks like ...
3 years, 10 months ago (2017-02-14 10:53:43 UTC) #19
sky
Thanks for attaching the screenshot. https://codereview.chromium.org/2687693002/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2687693002/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode748 chrome/browser/ui/views/profiles/profile_chooser_view.cc:748: bool focus_first_profile_button) { I ...
3 years, 10 months ago (2017-02-14 18:05:20 UTC) #20
jlebel
https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/2687693002/diff/20001/chrome/browser/ui/browser_commands.cc#newcode1131 chrome/browser/ui/browser_commands.cc:1131: void ShowFastUserSwitcher(Browser* browser) { On 2017/02/13 15:46:45, anthonyvd wrote: ...
3 years, 10 months ago (2017-02-20 16:11:23 UTC) #23
sky
LGTM
3 years, 10 months ago (2017-02-21 17:57:55 UTC) #26
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/2687693002/60001
3 years, 10 months ago (2017-02-21 21:54:07 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-21 23:58:19 UTC) #30
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/2687693002/60001
3 years, 10 months ago (2017-02-22 00:05:14 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-22 02:08:57 UTC) #34
jlebel
Hello Bernhard, Can you review this patch? Thanks,
3 years, 10 months ago (2017-02-22 06:55:58 UTC) #36
Bernhard Bauer
Web UI LGTM (I assume that's what you want me to review).
3 years, 10 months ago (2017-02-22 15:27:26 UTC) #37
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/2687693002/60001
3 years, 10 months ago (2017-02-22 16:14:56 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/370161)
3 years, 10 months ago (2017-02-22 16:22:06 UTC) #41
jlebel
Hello tsergeant, Can you review chrome/browser/ui/webui/history_login_handler.cc in this patch? Thanks,
3 years, 10 months ago (2017-02-22 17:22:28 UTC) #43
jlebel
Hello Andrew, Can you review chrome/browser/ui/webui/options/sync_setup_handler.cc in this patch? Thanks,
3 years, 10 months ago (2017-02-22 17:23:15 UTC) #45
tsergeant
history_login_handler lgtm
3 years, 10 months ago (2017-02-22 21:32:46 UTC) #46
Andrew T Wilson (Slow)
lgtm
3 years, 10 months ago (2017-02-23 10:15:36 UTC) #47
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/2687693002/60001
3 years, 10 months ago (2017-02-23 10:16:21 UTC) #49
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 10:56:23 UTC) #52
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/233d5951645e51d856784682bd5c...

Powered by Google App Engine
This is Rietveld 408576698