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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // Sign in into Guest session. | 74 // Sign in into Guest session. |
75 virtual void LoginAsGuest() = 0; | 75 virtual void LoginAsGuest() = 0; |
76 | 76 |
77 // Signs out if the screen is currently locked. | 77 // Signs out if the screen is currently locked. |
78 virtual void Signout() = 0; | 78 virtual void Signout() = 0; |
79 | 79 |
80 // Create a new Google account. | 80 // Create a new Google account. |
81 virtual void CreateAccount() = 0; | 81 virtual void CreateAccount() = 0; |
82 | 82 |
83 // Called user pod selection is canceled. | 83 // Called user pod selection is canceled. |
84 virtual void UserDeselected() = 0; | 84 virtual void OnUserDeselected() = 0; |
85 | 85 |
86 // Called when user pod with |username| is selected at login screen. | 86 // Called when user pod with |username| is selected at login screen. |
87 // |username| is the email address of the selected user. | 87 // |username| is the email address of the selected user. |
88 virtual void UserSelected(const std::string& username) = 0; | 88 virtual void OnUserSelected(const std::string& username) = 0; |
89 | 89 |
90 // Attempts to remove given user. | 90 // Attempts to remove given user. |
91 virtual void RemoveUser(const std::string& username) = 0; | 91 virtual void RemoveUser(const std::string& username) = 0; |
92 | 92 |
93 // Shows Enterprise Enrollment screen. | 93 // Shows Enterprise Enrollment screen. |
94 virtual void ShowEnterpriseEnrollmentScreen() = 0; | 94 virtual void ShowEnterpriseEnrollmentScreen() = 0; |
95 | 95 |
96 // Let the delegate know about the handler it is supposed to be using. | 96 // Let the delegate know about the handler it is supposed to be using. |
97 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; | 97 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; |
98 | 98 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 BrowsingDataRemover* cookie_remover_; | 286 BrowsingDataRemover* cookie_remover_; |
287 | 287 |
288 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 288 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
289 | 289 |
290 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 290 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
291 }; | 291 }; |
292 | 292 |
293 } // namespace chromeos | 293 } // namespace chromeos |
294 | 294 |
295 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 295 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |