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

Issue 371923002: cros: Fixes the text input focus when screen is locked. (Closed)

Created:
6 years, 5 months ago by Yuki
Modified:
6 years, 5 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

cros: Fixes the text input focus when screen is locked. When the screen is locked after some time not used, the initial text input focus is not in the password field when --enable-text-input-focus-manager is enabled. This CL fixes this issue and puts the text input focus in the password field of the lock screen. The issue occurs only when the screen gets locked because of time-out. When it's explicitly locked by a user, the issue doesn't occur. Please allow me about not adding a test case because it's tough to add a test case. BUG=290701 TEST=Done manually. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281727

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changed to use WidgetDelegate::GetInitiallyFocusedView. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window_aura.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window_aura.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yuki
Could you review this CL? dzhioev@ as an owner of c/b/chromeos/login/. msw@ as a reviwer ...
6 years, 5 months ago (2014-07-07 14:33:04 UTC) #1
Nikita (slow)
>> When the screen is locked after some time not used, >> the initial text ...
6 years, 5 months ago (2014-07-07 14:46:02 UTC) #2
Yuki
On 2014/07/07 14:46:02, Nikita Kostylev wrote: > >> When the screen is locked after some ...
6 years, 5 months ago (2014-07-07 15:09:44 UTC) #3
Nikita (slow)
https://codereview.chromium.org/371923002/diff/1/chrome/browser/chromeos/login/lock/webui_screen_locker.cc File chrome/browser/chromeos/login/lock/webui_screen_locker.cc (right): https://codereview.chromium.org/371923002/diff/1/chrome/browser/chromeos/login/lock/webui_screen_locker.cc#newcode97 chrome/browser/chromeos/login/lock/webui_screen_locker.cc:97: if (::switches::IsTextInputFocusManagerEnabled()) Can this condition be dropped?
6 years, 5 months ago (2014-07-07 15:32:09 UTC) #4
Nikita (slow)
On 2014/07/07 15:09:44, Yuki wrote: > On 2014/07/07 14:46:02, Nikita Kostylev wrote: > > >> ...
6 years, 5 months ago (2014-07-07 15:33:48 UTC) #5
oshima
On 2014/07/07 15:33:48, Nikita Kostylev wrote: > On 2014/07/07 15:09:44, Yuki wrote: > > On ...
6 years, 5 months ago (2014-07-07 17:41:13 UTC) #6
Yuki
Thanks for the comment. I've changed the approach to use WidgetDelegate::GetInitiallyFocusedView. Could you take another ...
6 years, 5 months ago (2014-07-08 09:34:18 UTC) #7
Nikita (slow)
lgtm
6 years, 5 months ago (2014-07-08 10:07:49 UTC) #8
dzhioev (left Google)
On 2014/07/08 09:34:18, Yuki wrote: > Thanks for the comment. I've changed the approach to ...
6 years, 5 months ago (2014-07-08 10:17:35 UTC) #9
Yuki
The CQ bit was checked by yukishiino@chromium.org
6 years, 5 months ago (2014-07-08 11:28:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/371923002/20001
6 years, 5 months ago (2014-07-08 11:28:50 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 12:13:10 UTC) #12
Message was sent while issue was closed.
Change committed as 281727

Powered by Google App Engine
This is Rietveld 408576698