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

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

Issue 422563002: Prevented false error messages from user manager UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 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
« no previous file with comments | « chrome/browser/resources/user_manager/control_bar.js ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b053cacee2be72fd2063edac63101eedd6f6be4a..7fad61ab660adfd389b205fea6110f10ffa67004 100644
--- a/ui/login/account_picker/screen_account_picker.js
+++ b/ui/login/account_picker/screen_account_picker.js
@@ -13,12 +13,6 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
* @const
*/
var MAX_LOGIN_ATTEMPTS_IN_POD = 3;
- /**
- * Whether to preselect the first pod automatically on login screen.
- * @type {boolean}
- * @const
- */
- var PRESELECT_FIRST_POD = true;
return {
EXTERNAL_API: [
@@ -122,7 +116,7 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
this.firstShown_ = false;
// Ensure that login is actually visible.
- window.webkitRequestAnimationFrame(function() {
+ window.requestAnimationFrame(function() {
chrome.send('accountPickerReady');
chrome.send('loginVisible', ['account-picker']);
});
« no previous file with comments | « chrome/browser/resources/user_manager/control_bar.js ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698