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

Side by Side Diff: ui/login/account_picker/user_pod_row.js

Issue 2015413002: Enable the PIN keyboard on the lockscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address comments Created 4 years, 6 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
« no previous file with comments | « ui/login/account_picker/screen_account_picker.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 User pod row implementation. 6 * @fileoverview User pod row implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 /** 10 /**
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 this.tabIndex = UserPodTabOrder.POD_INPUT; 771 this.tabIndex = UserPodTabOrder.POD_INPUT;
772 }, 772 },
773 773
774 /** 774 /**
775 * Handles the user hitting 'submit' on the PIN keyboard. 775 * Handles the user hitting 'submit' on the PIN keyboard.
776 * @param {Event} e Submit event object. 776 * @param {Event} e Submit event object.
777 * @private 777 * @private
778 */ 778 */
779 handlePinSubmitted_: function(e) { 779 handlePinSubmitted_: function(e) {
780 var pin = e.detail.pin; 780 var pin = e.detail.pin;
781 chrome.send('authenticateUserWithPin', [this.user.username, pin]); 781 chrome.send('authenticateUser', [this.user.username, pin]);
782 }, 782 },
783 783
784 /** 784 /**
785 * Handles keypress event (i.e. any textual input) on password input. 785 * Handles keypress event (i.e. any textual input) on password input.
786 * @param {Event} e Keypress Event object. 786 * @param {Event} e Keypress Event object.
787 * @private 787 * @private
788 */ 788 */
789 handlePasswordKeyPress_: function(e) { 789 handlePasswordKeyPress_: function(e) {
790 // When tabbing from the system tray a tab key press is received. Suppress 790 // When tabbing from the system tray a tab key press is received. Suppress
791 // this so as not to type a tab character into the password field. 791 // this so as not to type a tab character into the password field.
(...skipping 2568 matching lines...) Expand 10 before | Expand all | Expand 10 after
3360 if (pod && pod.multiProfilesPolicyApplied) { 3360 if (pod && pod.multiProfilesPolicyApplied) {
3361 pod.userTypeBubbleElement.classList.remove('bubble-shown'); 3361 pod.userTypeBubbleElement.classList.remove('bubble-shown');
3362 } 3362 }
3363 } 3363 }
3364 }; 3364 };
3365 3365
3366 return { 3366 return {
3367 PodRow: PodRow 3367 PodRow: PodRow
3368 }; 3368 };
3369 }); 3369 });
OLDNEW
« no previous file with comments | « ui/login/account_picker/screen_account_picker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698