| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_WEBUI_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void OnPreferencesChanged() override; | 37 void OnPreferencesChanged() override; |
| 38 void RemoveUser(const std::string& user_id) override; | 38 void RemoveUser(const std::string& user_id) override; |
| 39 void SetUIEnabled(bool is_enabled) override; | 39 void SetUIEnabled(bool is_enabled) override; |
| 40 void ShowError(int error_msg_id, | 40 void ShowError(int error_msg_id, |
| 41 int login_attempts, | 41 int login_attempts, |
| 42 HelpAppLauncher::HelpTopic help_topic_id) override; | 42 HelpAppLauncher::HelpTopic help_topic_id) override; |
| 43 void ShowErrorScreen(LoginDisplay::SigninError error_id) override; | 43 void ShowErrorScreen(LoginDisplay::SigninError error_id) override; |
| 44 void ShowGaiaPasswordChanged(const std::string& username) override; | 44 void ShowGaiaPasswordChanged(const std::string& username) override; |
| 45 void ShowPasswordChangedDialog(bool show_password_error) override; | 45 void ShowPasswordChangedDialog(bool show_password_error) override; |
| 46 void ShowSigninUI(const std::string& email) override; | 46 void ShowSigninUI(const std::string& email) override; |
| 47 void ShowWhitelistCheckFailedError() override; |
| 47 | 48 |
| 48 // NativeWindowDelegate implementation: | 49 // NativeWindowDelegate implementation: |
| 49 gfx::NativeWindow GetNativeWindow() const override; | 50 gfx::NativeWindow GetNativeWindow() const override; |
| 50 | 51 |
| 51 // SigninScreenHandlerDelegate implementation: | 52 // SigninScreenHandlerDelegate implementation: |
| 52 void CancelPasswordChangedFlow() override; | 53 void CancelPasswordChangedFlow() override; |
| 53 void ResyncUserData() override; | 54 void ResyncUserData() override; |
| 54 void MigrateUserData(const std::string& old_password) override; | 55 void MigrateUserData(const std::string& old_password) override; |
| 55 | 56 |
| 56 void Login(const UserContext& user_context, | 57 void Login(const UserContext& user_context, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 98 |
| 98 // Reference to the WebUI handling layer for the login screen | 99 // Reference to the WebUI handling layer for the login screen |
| 99 LoginDisplayWebUIHandler* webui_handler_; | 100 LoginDisplayWebUIHandler* webui_handler_; |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 102 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace chromeos | 105 } // namespace chromeos |
| 105 | 106 |
| 106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ | 107 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |