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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 virtual void ShowError(int error_msg_id, | 42 virtual void ShowError(int error_msg_id, |
43 int login_attempts, | 43 int login_attempts, |
44 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 44 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
45 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; | 45 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; |
46 | 46 |
47 // SigninScreenHandlerDelegate implementation: | 47 // SigninScreenHandlerDelegate implementation: |
48 virtual void CompleteLogin(const std::string& username, | 48 virtual void CompleteLogin(const std::string& username, |
49 const std::string& password) OVERRIDE; | 49 const std::string& password) OVERRIDE; |
50 virtual void Login(const std::string& username, | 50 virtual void Login(const std::string& username, |
51 const std::string& password) OVERRIDE; | 51 const std::string& password) OVERRIDE; |
| 52 virtual void LoginAsDemoUser() OVERRIDE; |
52 virtual void LoginAsGuest() OVERRIDE; | 53 virtual void LoginAsGuest() OVERRIDE; |
53 virtual void Signout() OVERRIDE; | 54 virtual void Signout() OVERRIDE; |
54 virtual void FixCaptivePortal() OVERRIDE; | 55 virtual void FixCaptivePortal() OVERRIDE; |
55 virtual void CreateAccount() OVERRIDE; | 56 virtual void CreateAccount() OVERRIDE; |
56 virtual void RemoveUser(const std::string& username) OVERRIDE; | 57 virtual void RemoveUser(const std::string& username) OVERRIDE; |
57 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; | 58 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; |
58 virtual void SetWebUIHandler( | 59 virtual void SetWebUIHandler( |
59 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; | 60 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; |
60 virtual void ShowSigninScreenForCreds(const std::string& username, | 61 virtual void ShowSigninScreenForCreds(const std::string& username, |
61 const std::string& password); | 62 const std::string& password); |
(...skipping 18 matching lines...) Expand all Loading... |
80 | 81 |
81 // Reference to the WebUI handling layer for the login screen | 82 // Reference to the WebUI handling layer for the login screen |
82 LoginDisplayWebUIHandler* webui_handler_; | 83 LoginDisplayWebUIHandler* webui_handler_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 85 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
85 }; | 86 }; |
86 | 87 |
87 } // namespace chromeos | 88 } // namespace chromeos |
88 | 89 |
89 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 90 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |