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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; | 47 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; |
48 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; | 48 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; |
49 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; | 49 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; |
50 virtual void ShowSigninUI(const std::string& email) OVERRIDE; | 50 virtual void ShowSigninUI(const std::string& email) OVERRIDE; |
51 | 51 |
52 // NativeWindowDelegate implementation: | 52 // NativeWindowDelegate implementation: |
53 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 53 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
54 | 54 |
55 // SigninScreenHandlerDelegate implementation: | 55 // SigninScreenHandlerDelegate implementation: |
56 virtual void CancelPasswordChangedFlow() OVERRIDE; | 56 virtual void CancelPasswordChangedFlow() OVERRIDE; |
| 57 virtual void CancelUserAdding() OVERRIDE; |
57 virtual void CreateAccount() OVERRIDE; | 58 virtual void CreateAccount() OVERRIDE; |
58 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE; | 59 virtual void CompleteLogin(const UserContext& user_context) OVERRIDE; |
59 virtual void Login(const UserContext& user_context) OVERRIDE; | 60 virtual void Login(const UserContext& user_context) OVERRIDE; |
60 virtual void LoginAsRetailModeUser() OVERRIDE; | 61 virtual void LoginAsRetailModeUser() OVERRIDE; |
61 virtual void LoginAsGuest() OVERRIDE; | 62 virtual void LoginAsGuest() OVERRIDE; |
62 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; | 63 virtual void MigrateUserData(const std::string& old_password) OVERRIDE; |
63 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; | 64 virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; |
64 virtual void LoadWallpaper(const std::string& username) OVERRIDE; | 65 virtual void LoadWallpaper(const std::string& username) OVERRIDE; |
65 virtual void LoadSigninWallpaper() OVERRIDE; | 66 virtual void LoadSigninWallpaper() OVERRIDE; |
66 virtual void OnSigninScreenReady() OVERRIDE; | 67 virtual void OnSigninScreenReady() OVERRIDE; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 109 |
109 // Reference to the WebUI handling layer for the login screen | 110 // Reference to the WebUI handling layer for the login screen |
110 LoginDisplayWebUIHandler* webui_handler_; | 111 LoginDisplayWebUIHandler* webui_handler_; |
111 | 112 |
112 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 113 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
113 }; | 114 }; |
114 | 115 |
115 } // namespace chromeos | 116 } // namespace chromeos |
116 | 117 |
117 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 118 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |