Index: ui/login/account_picker/screen_account_picker.js |
diff --git a/ui/login/account_picker/screen_account_picker.js b/ui/login/account_picker/screen_account_picker.js |
index d66258e82a379155453c9f2700674540507f0833..572404dfdd6dc4dedc3af414daadb228e75a6830 100644 |
--- a/ui/login/account_picker/screen_account_picker.js |
+++ b/ui/login/account_picker/screen_account_picker.js |
@@ -35,6 +35,8 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
'showBannerMessage', |
'showUserPodCustomIcon', |
'hideUserPodCustomIcon', |
+ 'setUserPodFingerprintIcon', |
+ 'removeUserPodFingerprintIcon', |
'disablePinKeyboardForUser', |
'setAuthType', |
'setTouchViewState', |
@@ -419,6 +421,23 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
}, |
/** |
+ * Set a fingerprint icon in the user pod of |username|. |
+ * @param {string} username Username of the selected user |
+ * @param {number} state Fingerprint unlock state |
+ */ |
+ setUserPodFingerprintIcon: function(username, state) { |
+ $('pod-row').setUserPodFingerprintIcon(username, state); |
+ }, |
+ |
+ /** |
+ * Removes the fingerprint icon in the user pod of |username|. |
+ * @param {string} username Username of the selected user. |
+ */ |
+ removeUserPodFingerprintIcon: function(username) { |
+ $('pod-row').removeUserPodFingerprintIcon(username); |
+ }, |
+ |
+ /** |
* Sets the authentication type used to authenticate the user. |
* @param {string} username Username of selected user |
* @param {number} authType Authentication type, must be a valid value in |