| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 // SigninScreenHandlerDelegate implementation: | 44 // SigninScreenHandlerDelegate implementation: |
| 45 virtual void CompleteLogin(const std::string& username, | 45 virtual void CompleteLogin(const std::string& username, |
| 46 const std::string& password) OVERRIDE; | 46 const std::string& password) OVERRIDE; |
| 47 virtual void Login(const std::string& username, | 47 virtual void Login(const std::string& username, |
| 48 const std::string& password) OVERRIDE; | 48 const std::string& password) OVERRIDE; |
| 49 virtual void LoginAsDemoUser() OVERRIDE; | 49 virtual void LoginAsDemoUser() OVERRIDE; |
| 50 virtual void LoginAsGuest() OVERRIDE; | 50 virtual void LoginAsGuest() OVERRIDE; |
| 51 virtual void Signout() OVERRIDE; | 51 virtual void Signout() OVERRIDE; |
| 52 virtual void CreateAccount() OVERRIDE; | 52 virtual void CreateAccount() OVERRIDE; |
| 53 virtual void UserSelected(const std::string& username) OVERRIDE; |
| 53 virtual void RemoveUser(const std::string& username) OVERRIDE; | 54 virtual void RemoveUser(const std::string& username) OVERRIDE; |
| 54 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; | 55 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; |
| 55 virtual void SetWebUIHandler( | 56 virtual void SetWebUIHandler( |
| 56 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; | 57 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; |
| 57 virtual void ShowSigninScreenForCreds(const std::string& username, | 58 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 58 const std::string& password); | 59 const std::string& password); |
| 59 virtual const UserList& GetUsers() const OVERRIDE; | 60 virtual const UserList& GetUsers() const OVERRIDE; |
| 60 virtual bool IsShowGuest() const OVERRIDE; | 61 virtual bool IsShowGuest() const OVERRIDE; |
| 61 virtual bool IsShowUsers() const OVERRIDE; | 62 virtual bool IsShowUsers() const OVERRIDE; |
| 62 virtual bool IsShowNewUser() const OVERRIDE; | 63 virtual bool IsShowNewUser() const OVERRIDE; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 77 | 78 |
| 78 // Reference to the WebUI handling layer for the login screen | 79 // Reference to the WebUI handling layer for the login screen |
| 79 LoginDisplayWebUIHandler* webui_handler_; | 80 LoginDisplayWebUIHandler* webui_handler_; |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 82 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 } // namespace chromeos | 85 } // namespace chromeos |
| 85 | 86 |
| 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 87 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |