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

Unified Diff: ui/login/account_picker/user_pod_row.js

Issue 2533413002: cros: Small JS cleanup in lock screen code. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/lock.js ('k') | ui/login/display_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71e88f292fade6756b7ce5bcca209238bf3dcd79..58ffddfc16428ee0c28d0dcc9c0d0a346fdb4962 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -2729,10 +2729,10 @@ cr.define('login', function() {
},
/**
- * Enables or disables transitions on the user pod.
+ * Enables or disables transitions on every pod instance.
* @param {boolean} enable
*/
- togglePinTransitions: function(enable) {
+ toggleTransitions: function(enable) {
for (var i = 0; i < this.pods.length; ++i)
this.pods[i].toggleTransitions(enable);
},
@@ -2773,15 +2773,6 @@ cr.define('login', function() {
},
/**
- * Function that hides the pin keyboard. Meant to be called when the virtual
- * keyboard is enabled and being toggled.
- * @param {boolean} hidden
- */
- setPinHidden: function(hidden) {
- this.setFocusedPodPinVisibility(!hidden);
- },
-
- /**
* Remove the pin keyboard from the pod with the given |username|.
* @param {!user} username
* @param {boolean} visible
« no previous file with comments | « chrome/browser/resources/chromeos/login/lock.js ('k') | ui/login/display_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698