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

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: Fixed patch set 2 errors. 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 ca343b2e90386434eff0b825f3037bc075960652..2efa182a41cc18f80aabad24da215187aeb0e998 100644
--- a/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
+++ b/chrome/browser/resources/chromeos/quick_unlock/pin_keyboard.js
@@ -35,6 +35,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();

Powered by Google App Engine
This is Rietveld 408576698