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

Unified Diff: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js

Issue 2131823004: Dialog message saying PIN is incorrect positioned correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Addressed comment. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
diff --git a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
index de93c08df1b17741ac5612be76bb7a37cf141619..f9f58738081b9aaf30ede887395d73cdfaaadcbd 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
@@ -48,6 +48,22 @@ Polymer({
}
},
+ /**
+ * Gets the container holding the password field.
+ * @type {!HTMLInputElement}
+ */
+ get inputElement() {
+ return this.$$('#pin-input');
+ },
+
+ /**
+ * Gets the submit button.
+ * @type {!HTMLElement}
+ */
+ get submitButton() {
+ return this.$$('.submit-button');
+ },
+
/** Transfers focus to the input element. */
focus: function() {
this.$$('#pin-input').focus();
« no previous file with comments | « chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.html ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698