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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void ShowSigninUI(const std::string& email) OVERRIDE; | 49 virtual void ShowSigninUI(const std::string& email) OVERRIDE; |
50 | 50 |
51 // NativeWindowDelegate implementation: | 51 // NativeWindowDelegate implementation: |
52 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 52 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
53 | 53 |
54 // SigninScreenHandlerDelegate implementation: | 54 // SigninScreenHandlerDelegate implementation: |
55 virtual void CancelPasswordChangedFlow() OVERRIDE; | 55 virtual void CancelPasswordChangedFlow() OVERRIDE; |
56 virtual void CreateAccount() OVERRIDE; | 56 virtual void CreateAccount() OVERRIDE; |
57 virtual void CreateLocallyManagedUser(const string16& display_name, | 57 virtual void CreateLocallyManagedUser(const string16& display_name, |
58 const std::string password) OVERRIDE; | 58 const std::string password) OVERRIDE; |
59 virtual void CompleteLogin(const std::string& username, | 59 virtual void CompleteLogin(const UserCredentials& credentials) OVERRIDE; |
60 const std::string& password) OVERRIDE; | 60 virtual void Login(const UserCredentials& credentials) OVERRIDE; |
61 virtual void Login(const std::string& username, | |
62 const std::string& password) OVERRIDE; | |
63 virtual void LoginAsRetailModeUser() OVERRIDE; | 61 virtual void LoginAsRetailModeUser() OVERRIDE; |
64 virtual void LoginAsGuest() OVERRIDE; | 62 virtual void LoginAsGuest() OVERRIDE; |
65 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; | 63 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; |
66 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; | 64 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; |
67 virtual void LoadWallpaper(const std::string& username) OVERRIDE; | 65 virtual void LoadWallpaper(const std::string& username) OVERRIDE; |
68 virtual void LoadSigninWallpaper() OVERRIDE; | 66 virtual void LoadSigninWallpaper() OVERRIDE; |
69 virtual void OnSigninScreenReady() OVERRIDE; | 67 virtual void OnSigninScreenReady() OVERRIDE; |
70 virtual void RemoveUser(const std::string& username) OVERRIDE; | 68 virtual void RemoveUser(const std::string& username) OVERRIDE; |
71 virtual void ResyncUserData() OVERRIDE; | 69 virtual void ResyncUserData() OVERRIDE; |
72 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; | 70 virtual void ShowEnterpriseEnrollmentScreen() OVERRIDE; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 105 |
108 // Reference to the WebUI handling layer for the login screen | 106 // Reference to the WebUI handling layer for the login screen |
109 LoginDisplayWebUIHandler* webui_handler_; | 107 LoginDisplayWebUIHandler* webui_handler_; |
110 | 108 |
111 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 109 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
112 }; | 110 }; |
113 | 111 |
114 } // namespace chromeos | 112 } // namespace chromeos |
115 | 113 |
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |