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

Issue 2295843006: Signin screen and locked screen status area focus advancing (Closed)

Created:
4 years, 3 months ago by Qiang(Joe) Xu
Modified:
4 years, 3 months ago
Reviewers:
xiyuan, stevenjb
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, achuith+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Signin screen and locked screen status area focus advancing This CL is aimed at solving the bug described in comment 7 in crbug.com/468969. The original method only considered the system tray alone. After the fix: On signin screen, tabing focus order is: three dots -> system tray -> (virtual keyboard) -> user login shift-tabing focus order is: user login -> (virtual keyboard) -> system tray -> three dots On locked screen, tabing focus order is: signout -> system tray -> notification tray -> (virtual keyboard) -> user login reverse tabing focus order is: user login -> (virtual keyboard) -> notification tray -> system tray -> signout BUG=468969 TEST=device test, works good on the above description. Committed: https://crrev.com/e9224222f960f7ab2406abf05a3bb95289994f98 Cr-Commit-Position: refs/heads/master@{#419234}

Patch Set 1 #

Total comments: 6

Patch Set 2 : based on steven's comments #

Total comments: 4

Patch Set 3 : optimization #

Total comments: 2

Patch Set 4 : based on xiyuan's CL #

Patch Set 5 : patch xiyuan's CL #

Patch Set 6 : fix shift-tab skipping notification tray #

Total comments: 2

Patch Set 7 : create a helper GetStatusAreaWidgetDelegate #

Total comments: 2

Patch Set 8 : move helper to anonymous namespace #

Total comments: 2

Patch Set 9 : GetWidget->IsVisible() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -6 lines) Patch
M ash/common/system/status_area_widget_delegate.h View 1 2 3 5 2 chunks +18 lines, -0 lines 0 comments Download
M ash/common/system/status_area_widget_delegate.cc View 1 2 3 4 5 1 chunk +19 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.h View 1 2 3 7 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/webui_login_view.cc View 1 2 3 4 5 6 7 8 8 chunks +89 lines, -5 lines 0 comments Download

Messages

Total messages: 40 (20 generated)
Qiang(Joe) Xu
Hi Steven, could you please take a look? Thanks! I am not sure if there ...
4 years, 3 months ago (2016-09-02 05:15:59 UTC) #5
stevenjb
xiyuan@, can you also take a look? The approach seems reasonable to me, but I ...
4 years, 3 months ago (2016-09-02 16:29:53 UTC) #9
Qiang(Joe) Xu
New patch is uploaded based on Steven's comments. Let us wait and see how xiyuan ...
4 years, 3 months ago (2016-09-02 19:32:51 UTC) #10
stevenjb
This lgtm w/ nits, but please wait for xiyuan@ to also take a look next ...
4 years, 3 months ago (2016-09-02 20:05:32 UTC) #11
xiyuan
Is it possible to fix the issue by setting WebUILoginView as focus traversable parent of ...
4 years, 3 months ago (2016-09-06 22:02:44 UTC) #12
Qiang(Joe) Xu
Hi xiyuan, I investigated this bug today. SetFocusTraversableParent doesn't really help. If we could define/override ...
4 years, 3 months ago (2016-09-09 00:11:15 UTC) #13
xiyuan
I have created a CL that is based on focus traversable parent: https://codereview.chromium.org/2332863002/ It requires ...
4 years, 3 months ago (2016-09-12 18:19:09 UTC) #14
Qiang(Joe) Xu
Hi, xiyuan@, I patched your CL and figured out a way to fixing shift-tab skipping ...
4 years, 3 months ago (2016-09-13 00:08:34 UTC) #15
xiyuan
lgtm stevenjb@, you might want to take another look since the CL is changed significantly. ...
4 years, 3 months ago (2016-09-13 18:00:57 UTC) #21
stevenjb
For the new changes I will defer to xiyuan@, but at a glance this lgtm.
4 years, 3 months ago (2016-09-13 21:41:38 UTC) #22
stevenjb
(Assuming tbuckley@ or another PM approves the change in focus behavior)
4 years, 3 months ago (2016-09-13 21:42:22 UTC) #23
Qiang(Joe) Xu
I updated the patch with the helper method GetStatusAreaWidgetDelegate. I contacted lpalmaro@, once she confirmed. ...
4 years, 3 months ago (2016-09-13 21:44:57 UTC) #24
xiyuan
https://codereview.chromium.org/2295843006/diff/120001/chrome/browser/chromeos/login/ui/webui_login_view.h File chrome/browser/chromeos/login/ui/webui_login_view.h (right): https://codereview.chromium.org/2295843006/diff/120001/chrome/browser/chromeos/login/ui/webui_login_view.h#newcode149 chrome/browser/chromeos/login/ui/webui_login_view.h:149: ash::StatusAreaWidgetDelegate* GetStatusAreaWidgetDelegate(); Move this to cc file in anonymous ...
4 years, 3 months ago (2016-09-13 21:48:08 UTC) #25
Qiang(Joe) Xu
https://codereview.chromium.org/2295843006/diff/120001/chrome/browser/chromeos/login/ui/webui_login_view.h File chrome/browser/chromeos/login/ui/webui_login_view.h (right): https://codereview.chromium.org/2295843006/diff/120001/chrome/browser/chromeos/login/ui/webui_login_view.h#newcode149 chrome/browser/chromeos/login/ui/webui_login_view.h:149: ash::StatusAreaWidgetDelegate* GetStatusAreaWidgetDelegate(); On 2016/09/13 21:48:08, xiyuan wrote: > Move ...
4 years, 3 months ago (2016-09-13 21:54:57 UTC) #26
xiyuan
Sorry for the spamming. I should have looked more closely last time. :p https://codereview.chromium.org/2295843006/diff/140001/chrome/browser/chromeos/login/ui/webui_login_view.cc File ...
4 years, 3 months ago (2016-09-13 21:56:46 UTC) #27
Qiang(Joe) Xu
Thanks, it is updated. https://codereview.chromium.org/2295843006/diff/140001/chrome/browser/chromeos/login/ui/webui_login_view.cc File chrome/browser/chromeos/login/ui/webui_login_view.cc (right): https://codereview.chromium.org/2295843006/diff/140001/chrome/browser/chromeos/login/ui/webui_login_view.cc#newcode522 chrome/browser/chromeos/login/ui/webui_login_view.cc:522: if (status_area_widget_delegate && status_area_widget_delegate->visible()) { ...
4 years, 3 months ago (2016-09-13 22:07:21 UTC) #29
xiyuan
lgtm!
4 years, 3 months ago (2016-09-13 22:08:39 UTC) #31
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/2295843006/160001
4 years, 3 months ago (2016-09-16 17:40:05 UTC) #36
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-16 18:56:52 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 18:59:02 UTC) #40
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e9224222f960f7ab2406abf05a3bb95289994f98
Cr-Commit-Position: refs/heads/master@{#419234}

Powered by Google App Engine
This is Rietveld 408576698