| 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_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 53 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
| 54 virtual void CompleteLogin(const std::string& username, | 54 virtual void CompleteLogin(const std::string& username, |
| 55 const std::string& password) OVERRIDE; | 55 const std::string& password) OVERRIDE; |
| 56 virtual void Login(const std::string& username, | 56 virtual void Login(const std::string& username, |
| 57 const std::string& password) OVERRIDE; | 57 const std::string& password) OVERRIDE; |
| 58 virtual void LoginAsDemoUser() OVERRIDE; | 58 virtual void LoginAsDemoUser() OVERRIDE; |
| 59 virtual void LoginAsGuest() OVERRIDE; | 59 virtual void LoginAsGuest() OVERRIDE; |
| 60 virtual void Signout() OVERRIDE; | 60 virtual void Signout() OVERRIDE; |
| 61 virtual void OnUserSelected(const std::string& username) OVERRIDE; | 61 virtual void OnUserSelected(const std::string& username) OVERRIDE; |
| 62 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 62 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
| 63 virtual void OnStartDeviceReset() OVERRIDE; |
| 63 | 64 |
| 64 // content::NotificationObserver (via WebUILoginView) implementation. | 65 // content::NotificationObserver (via WebUILoginView) implementation. |
| 65 virtual void Observe(int type, | 66 virtual void Observe(int type, |
| 66 const content::NotificationSource& source, | 67 const content::NotificationSource& source, |
| 67 const content::NotificationDetails& details) OVERRIDE; | 68 const content::NotificationDetails& details) OVERRIDE; |
| 68 | 69 |
| 69 // LockWindow::Observer implementation. | 70 // LockWindow::Observer implementation. |
| 70 virtual void OnLockWindowReady() OVERRIDE; | 71 virtual void OnLockWindowReady() OVERRIDE; |
| 71 | 72 |
| 72 private: | 73 private: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 91 | 92 |
| 92 // Time when lock was initiated, required for metrics. | 93 // Time when lock was initiated, required for metrics. |
| 93 base::TimeTicks lock_time_; | 94 base::TimeTicks lock_time_; |
| 94 | 95 |
| 95 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 96 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 } // namespace chromeos | 99 } // namespace chromeos |
| 99 | 100 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| OLD | NEW |