| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |