| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 virtual void ShowSigninScreenForCreds(const std::string& username, | 77 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 78 const std::string& password); | 78 const std::string& password); |
| 79 virtual const UserList& GetUsers() const OVERRIDE; | 79 virtual const UserList& GetUsers() const OVERRIDE; |
| 80 virtual bool IsShowGuest() const OVERRIDE; | 80 virtual bool IsShowGuest() const OVERRIDE; |
| 81 virtual bool IsShowUsers() const OVERRIDE; | 81 virtual bool IsShowUsers() const OVERRIDE; |
| 82 virtual bool IsShowNewUser() const OVERRIDE; | 82 virtual bool IsShowNewUser() const OVERRIDE; |
| 83 virtual bool IsSigninInProgress() const OVERRIDE; | 83 virtual bool IsSigninInProgress() const OVERRIDE; |
| 84 virtual bool IsUserSigninCompleted() const OVERRIDE; | 84 virtual bool IsUserSigninCompleted() const OVERRIDE; |
| 85 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 85 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
| 86 virtual void Signout() OVERRIDE; | 86 virtual void Signout() OVERRIDE; |
| 87 virtual void LaunchKioskApp(const std::string& app_id) OVERRIDE; |
| 87 | 88 |
| 88 // UserActivityDetector implementation: | 89 // UserActivityDetector implementation: |
| 89 virtual void OnUserActivity(const ui::Event* event) OVERRIDE; | 90 virtual void OnUserActivity(const ui::Event* event) OVERRIDE; |
| 90 | 91 |
| 91 private: | 92 private: |
| 92 void StartPasswordClearTimer(); | 93 void StartPasswordClearTimer(); |
| 93 void OnPasswordClearTimerExpired(); | 94 void OnPasswordClearTimerExpired(); |
| 94 | 95 |
| 95 // Set of Users that are visible. | 96 // Set of Users that are visible. |
| 96 UserList users_; | 97 UserList users_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 109 | 110 |
| 110 // Reference to the WebUI handling layer for the login screen | 111 // Reference to the WebUI handling layer for the login screen |
| 111 LoginDisplayWebUIHandler* webui_handler_; | 112 LoginDisplayWebUIHandler* webui_handler_; |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 114 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 } // namespace chromeos | 117 } // namespace chromeos |
| 117 | 118 |
| 118 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |