OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual void ShowError(int error_msg_id, | 68 virtual void ShowError(int error_msg_id, |
69 int login_attempts, | 69 int login_attempts, |
70 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 70 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
71 | 71 |
72 // SigninScreenHandlerDelegate implementation: | 72 // SigninScreenHandlerDelegate implementation: |
73 virtual void CompleteLogin(const std::string& username, | 73 virtual void CompleteLogin(const std::string& username, |
74 const std::string& password) OVERRIDE; | 74 const std::string& password) OVERRIDE; |
75 virtual void Login(const std::string& username, | 75 virtual void Login(const std::string& username, |
76 const std::string& password) OVERRIDE; | 76 const std::string& password) OVERRIDE; |
77 virtual void LoginAsGuest() OVERRIDE; | 77 virtual void LoginAsGuest() OVERRIDE; |
| 78 virtual void CreateAccount() OVERRIDE; |
78 virtual void RemoveUser(const std::string& username) OVERRIDE; | 79 virtual void RemoveUser(const std::string& username) OVERRIDE; |
79 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; | 80 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; |
80 virtual void SetWebUIHandler( | 81 virtual void SetWebUIHandler( |
81 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; | 82 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; |
82 | 83 |
83 void set_login_window(views::Widget* login_window) { | 84 void set_login_window(views::Widget* login_window) { |
84 login_window_ = login_window; | 85 login_window_ = login_window; |
85 } | 86 } |
86 | 87 |
87 const std::vector<UserManager::User>& users() const { | 88 const std::vector<UserManager::User>& users() const { |
(...skipping 27 matching lines...) Expand all Loading... |
115 | 116 |
116 // Reference to the WebUI handling layer for the login screen | 117 // Reference to the WebUI handling layer for the login screen |
117 LoginDisplayWebUIHandler* webui_handler_; | 118 LoginDisplayWebUIHandler* webui_handler_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 120 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
120 }; | 121 }; |
121 | 122 |
122 } // namespace chromeos | 123 } // namespace chromeos |
123 | 124 |
124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 125 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |