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

Unified Diff: trunk/src/chrome/browser/chromeos/login/ui/webui_login_display.h

Issue 319273002: Revert 275550 "Revert 275046 "ChromeOS login webui refactoring: ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/chrome/browser/chromeos/login/ui/webui_login_display.h
===================================================================
--- trunk/src/chrome/browser/chromeos/login/ui/webui_login_display.h (revision 275554)
+++ trunk/src/chrome/browser/chromeos/login/ui/webui_login_display.h (working copy)
@@ -9,7 +9,6 @@
#include <vector>
#include "base/compiler_specific.h"
-#include "base/timer/timer.h"
#include "chrome/browser/chromeos/login/screens/gaia_screen.h"
#include "chrome/browser/chromeos/login/screens/user_selection_screen.h"
#include "chrome/browser/chromeos/login/ui/login_display.h"
@@ -77,20 +76,23 @@
virtual const UserList& GetUsers() const OVERRIDE;
virtual bool IsShowGuest() const OVERRIDE;
virtual bool IsShowUsers() const OVERRIDE;
- virtual bool IsShowNewUser() const OVERRIDE;
virtual bool IsSigninInProgress() const OVERRIDE;
virtual bool IsUserSigninCompleted() const OVERRIDE;
virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
virtual void Signout() OVERRIDE;
virtual void LoginAsKioskApp(const std::string& app_id,
bool diagnostic_mode) OVERRIDE;
+ virtual void HandleGetUsers() OVERRIDE;
+ virtual void SetAuthType(
+ const std::string& username,
+ ScreenlockBridge::LockHandler::AuthType auth_type) OVERRIDE;
+ virtual ScreenlockBridge::LockHandler::AuthType GetAuthType(
+ const std::string& username) const OVERRIDE;
// wm::UserActivityDetector implementation:
virtual void OnUserActivity(const ui::Event* event) OVERRIDE;
private:
- void StartPasswordClearTimer();
- void OnPasswordClearTimerExpired();
// Whether to show guest login.
bool show_guest_;
@@ -102,9 +104,6 @@
// Whether to show add new user.
bool show_new_user_;
- // Timer for measuring idle state duration before password clear.
- base::OneShotTimer<WebUILoginDisplay> password_clear_timer_;
-
// Reference to the WebUI handling layer for the login screen
LoginDisplayWebUIHandler* webui_handler_;

Powered by Google App Engine
This is Rietveld 408576698