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

Issue 2816543004: Login screen IME policy does not apply in user session (Closed)

Created:
3 years, 8 months ago by pmarko
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, jdufault
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Login screen IME policy does not apply in user session This CL fixes issues with the DeviceLoginScreenInputMethods policy: + SigninScreenHandler is now only enforcing input methods on if the sign-in screen is visible. This prevents a SigninScreenHandler instance which exists during the user session from enforcing input methods in the user session. + SigninScreenHandler re-enforces input methods on the "addUser" event, because if only one user pod is present on the sign-in screen, pressing addUser does not de-focus the user pod before switching to the gaia screen. + Prefer policy-allowed input methods on the gaia screen ("Add Person") BUG=373324, 709313 TEST=Manual test && browser_tests --gtest_filter=LoginScreen* Review-Url: https://codereview.chromium.org/2816543004 Cr-Commit-Position: refs/heads/master@{#464204} Committed: https://chromium.googlesource.com/chromium/src/+/ca7672ad2527bb65ca0a1bc76d8e369f4a4c0729

Patch Set 1 #

Patch Set 2 : Login screen IME policy does not apply in user session #

Patch Set 3 : Login screen IME policy does not apply in user session #

Patch Set 4 : Fixed browsertests. #

Total comments: 2

Patch Set 5 : Addressed comments, fixed browser_tests for real. #

Total comments: 4

Patch Set 6 : Improved browser tests. #

Patch Set 7 : Improved browser tests further. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M chrome/browser/chromeos/login/login_screen_policy_browsertest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 4 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 29 (20 generated)
pmarko
Hello xiyuan, please review the bugfix. The original CL (2652793003) was written under the assumption ...
3 years, 8 months ago (2017-04-12 16:39:37 UTC) #11
xiyuan
+jdufault > please review the bugfix. The original CL (2652793003) was written under the > ...
3 years, 8 months ago (2017-04-12 17:42:07 UTC) #15
jdufault
On 2017/04/12 17:42:07, xiyuan wrote: > +jdufault > > > please review the bugfix. The ...
3 years, 8 months ago (2017-04-12 18:13:10 UTC) #16
pmarko
Yes, the behavior is definitely related to lock screen preloading (which is also why it ...
3 years, 8 months ago (2017-04-12 19:05:36 UTC) #19
xiyuan
Thanks jdufault@ for chiming in and pmarko@ to confirm. I am fine with the solution ...
3 years, 8 months ago (2017-04-12 19:33:44 UTC) #20
pmarko
As always, you are right :) this is much simpler now and works just fine ...
3 years, 8 months ago (2017-04-12 20:29:32 UTC) #23
xiyuan
lgtm Thanks.
3 years, 8 months ago (2017-04-12 20:31:41 UTC) #24
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/2816543004/110001
3 years, 8 months ago (2017-04-12 20:54:43 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 23:25:27 UTC) #29
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/ca7672ad2527bb65ca0a1bc76d8e...

Powered by Google App Engine
This is Rietveld 408576698