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

Issue 398543002: Add language and keyboard layout pickers to public session pods (Closed)

Created:
6 years, 5 months ago by bartfab (slow)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, jshin+watch_chromium.org, Nikita (slow)
Project:
chromium
Visibility:
Public.

Description

Add language and keyboard layout pickers to public session pods This CL adds language and keyboard pickers to public session pods. The CL focuses on the necessary changes to the login UI. Follow-up CLs will: - wire up the pickers so that they actually influence the language and keyboard layout in the public session, and - customize the contents of the language picker based on policy (languages recommended by policy go first; the top recommended language is pre-selected) BUG=214904, 241790 TEST=Manual, including RTL Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284983

Patch Set 1 #

Total comments: 16

Patch Set 2 : Rebased. #

Patch Set 3 : Addressed comments. #

Patch Set 4 : Addressed comments. #

Patch Set 5 : Base the list of keyboard layouts offered on the resolved locale, not the selected locale. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -29 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/user_selection_screen.cc View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/resources/login/screen_account_picker.js View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/login/user_pod_row.css View 5 chunks +79 lines, -7 lines 0 comments Download
M chrome/browser/resources/login/user_pod_row.js View 1 2 9 chunks +116 lines, -19 lines 0 comments Download
M chrome/browser/resources/login/user_pod_template.html View 1 chunk +26 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util.cc View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 6 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
bartfab (slow)
Hi Pavel, Could you take a look please? FYI - This CL depends on: https://codereview.chromium.org/397723002/
6 years, 5 months ago (2014-07-15 18:36:12 UTC) #1
dzhioev (left Google)
+alemate@ for l10n_util.cc review.
6 years, 5 months ago (2014-07-16 18:42:29 UTC) #2
Alexander Alekseev
https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc File chrome/browser/ui/webui/chromeos/login/l10n_util.cc (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc#newcode170 chrome/browser/ui/webui/chromeos/login/l10n_util.cc:170: scoped_ptr<base::ListValue> GetKeyboardLayouts(const std::string& locale) { We have similar code ...
6 years, 5 months ago (2014-07-16 19:35:51 UTC) #3
bartfab (slow)
https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc File chrome/browser/ui/webui/chromeos/login/l10n_util.cc (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc#newcode170 chrome/browser/ui/webui/chromeos/login/l10n_util.cc:170: scoped_ptr<base::ListValue> GetKeyboardLayouts(const std::string& locale) { On 2014/07/16 19:35:50, alemate ...
6 years, 5 months ago (2014-07-21 14:49:14 UTC) #4
dzhioev (left Google)
https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js File chrome/browser/resources/login/user_pod_row.js (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js#newcode1191 chrome/browser/resources/login/user_pod_row.js:1191: this.left = $('pod-row').offsetWidth - rowPadding - width; If we ...
6 years, 5 months ago (2014-07-21 14:57:49 UTC) #5
bartfab (slow)
https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js File chrome/browser/resources/login/user_pod_row.js (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js#newcode1191 chrome/browser/resources/login/user_pod_row.js:1191: this.left = $('pod-row').offsetWidth - rowPadding - width; On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 16:50:04 UTC) #6
Alexander Alekseev
https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc File chrome/browser/ui/webui/chromeos/login/l10n_util.cc (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc#newcode170 chrome/browser/ui/webui/chromeos/login/l10n_util.cc:170: scoped_ptr<base::ListValue> GetKeyboardLayouts(const std::string& locale) { On 2014/07/21 14:49:13, bartfab ...
6 years, 5 months ago (2014-07-21 17:06:56 UTC) #7
Nikita (slow)
https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js File chrome/browser/resources/login/user_pod_row.js (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/resources/login/user_pod_row.js#newcode1205 chrome/browser/resources/login/user_pod_row.js:1205: languageAndInputSection.addEventListener('webkitTransitionEnd', On 2014/07/21 16:50:04, bartfab wrote: > On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 17:08:51 UTC) #8
Alexander Alekseev
https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc File chrome/browser/ui/webui/chromeos/login/l10n_util.cc (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc#newcode170 chrome/browser/ui/webui/chromeos/login/l10n_util.cc:170: scoped_ptr<base::ListValue> GetKeyboardLayouts(const std::string& locale) { GetKeyboardLayouts() seems to be ...
6 years, 5 months ago (2014-07-21 17:13:41 UTC) #9
dzhioev (left Google)
LGTM
6 years, 5 months ago (2014-07-21 17:37:17 UTC) #10
bartfab (slow)
https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc File chrome/browser/ui/webui/chromeos/login/l10n_util.cc (right): https://codereview.chromium.org/398543002/diff/1/chrome/browser/ui/webui/chromeos/login/l10n_util.cc#newcode170 chrome/browser/ui/webui/chromeos/login/l10n_util.cc:170: scoped_ptr<base::ListValue> GetKeyboardLayouts(const std::string& locale) { On 2014/07/21 17:13:41, alemate ...
6 years, 5 months ago (2014-07-21 18:20:48 UTC) #11
Alexander Alekseev
lgtm
6 years, 5 months ago (2014-07-21 18:33:23 UTC) #12
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 5 months ago (2014-07-23 08:00:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/398543002/80001
6 years, 5 months ago (2014-07-23 08:01:43 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-23 13:08:39 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 13:32:52 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/31502)
6 years, 5 months ago (2014-07-23 13:32:53 UTC) #17
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 5 months ago (2014-07-23 13:33:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/398543002/80001
6 years, 5 months ago (2014-07-23 13:35:00 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-23 14:04:20 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 14:33:09 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/31502)
6 years, 5 months ago (2014-07-23 14:33:10 UTC) #22
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 5 months ago (2014-07-23 14:41:37 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/398543002/80001
6 years, 5 months ago (2014-07-23 14:42:54 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-23 15:19:09 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 15:57:35 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/31572)
6 years, 5 months ago (2014-07-23 15:57:35 UTC) #27
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 5 months ago (2014-07-23 16:33:17 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/398543002/80001
6 years, 5 months ago (2014-07-23 16:34:52 UTC) #29
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 17:47:28 UTC) #30
Message was sent while issue was closed.
Change committed as 284983

Powered by Google App Engine
This is Rietveld 408576698