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

Side by Side Diff: chrome/browser/resources/login/screen_account_picker.js

Issue 398543002: Add language and keyboard layout pickers to public session pods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base the list of keyboard layouts offered on the resolved locale, not the selected locale. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Account picker screen implementation. 6 * @fileoverview Account picker screen implementation.
7 */ 7 */
8 8
9 login.createScreen('AccountPickerScreen', 'account-picker', function() { 9 login.createScreen('AccountPickerScreen', 'account-picker', function() {
10 /** 10 /**
(...skipping 18 matching lines...) Expand all
29 'showAppError', 29 'showAppError',
30 'updateUserImage', 30 'updateUserImage',
31 'setCapsLockState', 31 'setCapsLockState',
32 'forceLockedUserPodFocus', 32 'forceLockedUserPodFocus',
33 'removeUser', 33 'removeUser',
34 'showBannerMessage', 34 'showBannerMessage',
35 'showUserPodCustomIcon', 35 'showUserPodCustomIcon',
36 'hideUserPodCustomIcon', 36 'hideUserPodCustomIcon',
37 'setAuthType', 37 'setAuthType',
38 'showEasyUnlockBubble', 38 'showEasyUnlockBubble',
39 'setPublicSessionKeyboardLayouts',
39 ], 40 ],
40 41
41 preferredWidth_: 0, 42 preferredWidth_: 0,
42 preferredHeight_: 0, 43 preferredHeight_: 0,
43 44
44 // Whether this screen is shown for the first time. 45 // Whether this screen is shown for the first time.
45 firstShown_: true, 46 firstShown_: true,
46 47
47 /** @override */ 48 /** @override */
48 decorate: function() { 49 decorate: function() {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 */ 300 */
300 setAuthType: function(username, authType, value) { 301 setAuthType: function(username, authType, value) {
301 $('pod-row').setAuthType(username, authType, value); 302 $('pod-row').setAuthType(username, authType, value);
302 }, 303 },
303 304
304 /** 305 /**
305 * Shows a tooltip bubble explaining Easy Unlock. 306 * Shows a tooltip bubble explaining Easy Unlock.
306 */ 307 */
307 showEasyUnlockBubble: function() { 308 showEasyUnlockBubble: function() {
308 $('pod-row').showEasyUnlockBubble(); 309 $('pod-row').showEasyUnlockBubble();
310 },
311
312 /**
313 * Updates the list of available keyboard layouts for a public session pod.
314 * @param {string} userID The user ID of the public session
315 * @param {!Object} list List of available keyboard layouts
316 */
317 setPublicSessionKeyboardLayouts: function(userID, list) {
318 $('pod-row').setPublicSessionKeyboardLayouts(userID, list);
309 } 319 }
310 }; 320 };
311 }); 321 });
312 322
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | chrome/browser/resources/login/user_pod_row.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698