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

Unified Diff: ui/login/account_picker/user_pod_row.js

Issue 2624383004: cros: Lock Screen: Fixed an issue with tab order on the lock screen. (Closed)
Patch Set: Nit. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index 50bfff4e495da75e891ae1dd007b9839ebfde4ff..d6cc0242ecbf74fd17599279666da8e6b1b13efd 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -89,11 +89,13 @@ cr.define('login', function() {
* @const
*/
var UserPodTabOrder = {
- POD_INPUT: 1, // Password input field, Action box menu button, and
- // the pod itself.
- POD_CUSTOM_ICON: 2, // Pod custom icon next to password input field.
- HEADER_BAR: 3, // Buttons on the header bar (Shutdown, Add User).
- POD_MENU_ITEM: 4 // User pad menu items (User info, Remove user).
+ POD_INPUT: 1, // Password input field, Action box menu button, submit
+ // button next to password input field and the pod
+ // itself.
+ PIN_KEYBOARD: 2, // Pin keyboard below the password input field.
+ POD_CUSTOM_ICON: 3, // Pod custom icon next to password input field.
+ HEADER_BAR: 4, // Buttons on the header bar (Shutdown, Add User).
+ POD_MENU_ITEM: 5 // User pad menu items (User info, Remove user).
};
/**
@@ -722,6 +724,7 @@ cr.define('login', function() {
this.pinKeyboard.passwordElement = this.passwordElement;
this.pinKeyboard.addEventListener('pin-change',
this.handleInputChanged_.bind(this));
+ this.pinKeyboard.tabIndex = UserPodTabOrder.PIN_KEYBOARD;
}
this.actionBoxAreaElement.addEventListener('mousedown',
@@ -767,6 +770,7 @@ cr.define('login', function() {
if (this.submitButton) {
this.submitButton.addEventListener('click',
this.handleSubmitButtonClick_.bind(this));
+ this.submitButton.tabIndex = UserPodTabOrder.POD_INPUT;
}
this.imageElement.addEventListener('load',
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698