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

Unified Diff: chrome/browser/resources/chromeos/login/login_common.js

Issue 298193002: Revert of ChromeOS login webui refactoring: split user selection/gaia login screens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: chrome/browser/resources/chromeos/login/login_common.js
diff --git a/chrome/browser/resources/chromeos/login/login_common.js b/chrome/browser/resources/chromeos/login/login_common.js
index f17f181c79e84cc8d4d39908f50a7c33bf5134b3..46eeb7fac43b470fba8fbdbfa513a4b02ddf1d35 100644
--- a/chrome/browser/resources/chromeos/login/login_common.js
+++ b/chrome/browser/resources/chromeos/login/login_common.js
@@ -197,6 +197,17 @@
};
/**
+ * Handles login success notification.
+ */
+ Oobe.onLoginSuccess = function(username) {
+ if (Oobe.getInstance().currentScreen.id == SCREEN_ACCOUNT_PICKER) {
+ // TODO(nkostylev): Enable animation back when session start jank
+ // is reduced. See http://crosbug.com/11116 http://crosbug.com/18307
+ // $('pod-row').startAuthenticatedAnimation();
+ }
+ };
+
+ /**
* Sets text content for a div with |labelId|.
* @param {string} labelId Id of the label div.
* @param {string} labelText Text for the label.
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_display.cc ('k') | chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698