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 d4af56ba894927b545d4b1505cbf6e4f3f47c21a..69e922a653ee9aeca38a4dd69b50ef7306f0c5d4 100644 |
--- a/ui/login/account_picker/screen_account_picker.js |
+++ b/ui/login/account_picker/screen_account_picker.js |
@@ -29,7 +29,6 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
'showUserPodCustomIcon', |
'hideUserPodCustomIcon', |
'setAuthType', |
- 'showEasyUnlockBubble', |
'setPublicSessionDisplayName', |
'setPublicSessionLocales', |
'setPublicSessionKeyboardLayouts', |
@@ -279,8 +278,14 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
* Shows a custom icon in the user pod of |username|. This function |
* is used by the chrome.screenlockPrivate API. |
* @param {string} username Username of pod to add button |
- * @param {{scale1x: string, scale2x: string}} icon Dictionary of URLs of |
- * the custom icon's representations for 1x and 2x scale factors. |
+ * @param {!{resourceUrl: (string | undefined), |
+ * data: ({scale1x: string, scale2x: string} | undefined), |
+ * size: ({width: number, height: number} | undefined), |
+ * animation: ({resourceWidth: number, frameLength: number} | |
+ * undefined), |
+ * opacity: (number | undefined), |
+ * tooltip: ({text: string, autoshow: boolean} | undefined)}} icon |
+ * The icon parameters. |
*/ |
showUserPodCustomIcon: function(username, icon) { |
$('pod-row').showUserPodCustomIcon(username, icon); |
@@ -308,13 +313,6 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() { |
}, |
/** |
- * Shows a tooltip bubble explaining Easy Unlock. |
- */ |
- showEasyUnlockBubble: function() { |
- $('pod-row').showEasyUnlockBubble(); |
- }, |
- |
- /** |
* Updates the display name shown on a public session pod. |
* @param {string} userID The user ID of the public session |
* @param {string} displayName The new display name |