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

Unified Diff: chrome/browser/chromeos/login/ui/login_display.h

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/chromeos/login/ui/login_display.h
diff --git a/chrome/browser/chromeos/login/ui/login_display.h b/chrome/browser/chromeos/login/ui/login_display.h
index bebe9d747d060b8a8e1d084da8f3b2979b5e47b2..eb727e8f68bdd009d0be0644815249b74e87909b 100644
--- a/chrome/browser/chromeos/login/ui/login_display.h
+++ b/chrome/browser/chromeos/login/ui/login_display.h
@@ -131,8 +131,19 @@
// |user| contains updated user.
virtual void OnUserImageChanged(const User& user) = 0;
+ // After this call login display should be ready to be smoothly destroyed
+ // (e.g. hide throbber, etc.).
+ virtual void OnFadeOut() = 0;
+
+ // Called when user is successfully authenticated.
+ virtual void OnLoginSuccess(const std::string& username) = 0;
+
// Changes enabled state of the UI.
virtual void SetUIEnabled(bool is_enabled) = 0;
+
+ // Selects user entry with specified |index|.
+ // Does nothing if current user is already selected.
+ virtual void SelectPod(int index) = 0;
// Displays simple error bubble with |error_msg_id| specified.
// |login_attempts| shows number of login attempts made by current user.
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | chrome/browser/chromeos/login/ui/mock_login_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698