| 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 ffc792b553cf2a69fc9a6dd0c2c5356761bbd2e8..bfdb3b2e7a324df2dc53b8b1ef391d2149b97d65 100644
|
| --- a/ui/login/account_picker/user_pod_row.js
|
| +++ b/ui/login/account_picker/user_pod_row.js
|
| @@ -735,13 +735,6 @@ cr.define('login', function() {
|
| this.actionBoxRemoveUserWarningButtonElement.addEventListener('keydown',
|
| this.handleRemoveUserConfirmationKeyDown_.bind(this));
|
|
|
| - var pinKeyboard = $('pin-keyboard');
|
| - // The pin keyboard is not present on the md user manager.
|
| - if (pinKeyboard) {
|
| - pinKeyboard.addEventListener('submit',
|
| - this.handlePinSubmitted_.bind(this));
|
| - }
|
| -
|
| var customIcon = this.customIconElement;
|
| customIcon.parentNode.replaceChild(new UserPodCustomIcon(), customIcon);
|
| },
|
| @@ -755,6 +748,11 @@ cr.define('login', function() {
|
| this.passwordElement.addEventListener('keypress',
|
| this.handlePasswordKeyPress_.bind(this));
|
|
|
| + if (this.pinKeyboard) {
|
| + this.pinKeyboard.addEventListener('submit',
|
| + this.handlePinSubmitted_.bind(this));
|
| + }
|
| +
|
| this.imageElement.addEventListener('load',
|
| this.parentNode.handlePodImageLoad.bind(this.parentNode, this));
|
|
|
| @@ -837,6 +835,14 @@ cr.define('login', function() {
|
| },
|
|
|
| /**
|
| + * Gets the authorization element of the pod.
|
| + * @type {!HTMLDivElement}
|
| + */
|
| + get authElement() {
|
| + return this.querySelector('.auth-container');
|
| + },
|
| +
|
| + /**
|
| * Gets image element.
|
| * @type {!HTMLImageElement}
|
| */
|
| @@ -886,6 +892,14 @@ cr.define('login', function() {
|
| },
|
|
|
| /**
|
| + * Gets the pin-keyboard of the pod.
|
| + * @type {!HTMLElement}
|
| + */
|
| + get pinKeyboard() {
|
| + return this.querySelector('pin-keyboard');
|
| + },
|
| +
|
| + /**
|
| * Gets user online sign in hint element.
|
| * @type {!HTMLDivElement}
|
| */
|
| @@ -894,6 +908,14 @@ cr.define('login', function() {
|
| },
|
|
|
| /**
|
| + * Gets the signed in indicator of the pod.
|
| + * @type {!HTMLDivElement}
|
| + */
|
| + get signInElement() {
|
| + return this.querySelector('.signed-in-indicator');
|
| + },
|
| +
|
| + /**
|
| * Gets the container holding the launch app button.
|
| * @type {!HTMLButtonElement}
|
| */
|
|
|