| 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 27 matching lines...) Expand all Loading... |
| 38 virtual void OnUserImageChanged(const User& user) OVERRIDE; | 38 virtual void OnUserImageChanged(const User& user) OVERRIDE; |
| 39 virtual void OnUserRemoved(const std::string& username) OVERRIDE; | 39 virtual void OnUserRemoved(const std::string& username) OVERRIDE; |
| 40 virtual void OnFadeOut() OVERRIDE; | 40 virtual void OnFadeOut() OVERRIDE; |
| 41 virtual void OnLoginSuccess(const std::string& username) OVERRIDE; | 41 virtual void OnLoginSuccess(const std::string& username) OVERRIDE; |
| 42 virtual void SetUIEnabled(bool is_enabled) OVERRIDE; | 42 virtual void SetUIEnabled(bool is_enabled) OVERRIDE; |
| 43 virtual void SelectPod(int index) OVERRIDE; | 43 virtual void SelectPod(int index) OVERRIDE; |
| 44 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; | 44 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; |
| 45 virtual void ShowUserPodButton(const std::string& username, | 45 virtual void ShowUserPodButton(const std::string& username, |
| 46 const std::string& iconURL, | 46 const std::string& iconURL, |
| 47 const base::Closure& click_callback) OVERRIDE; | 47 const base::Closure& click_callback) OVERRIDE; |
| 48 virtual void HideUserPodButton(const std::string& username) OVERRIDE; |
| 49 virtual void SetAuthType(const std::string& username, |
| 50 AuthType auth_type, |
| 51 const std::string& initial_value) OVERRIDE; |
| 52 virtual AuthType GetAuthType(const std::string& username) const OVERRIDE; |
| 48 virtual void ShowError(int error_msg_id, | 53 virtual void ShowError(int error_msg_id, |
| 49 int login_attempts, | 54 int login_attempts, |
| 50 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 55 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
| 51 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; | 56 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; |
| 52 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; | 57 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; |
| 53 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; | 58 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; |
| 54 virtual void ShowSigninUI(const std::string& email) OVERRIDE; | 59 virtual void ShowSigninUI(const std::string& email) OVERRIDE; |
| 55 | 60 |
| 56 // NativeWindowDelegate implementation: | 61 // NativeWindowDelegate implementation: |
| 57 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 62 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 120 |
| 116 // Reference to the WebUI handling layer for the login screen | 121 // Reference to the WebUI handling layer for the login screen |
| 117 LoginDisplayWebUIHandler* webui_handler_; | 122 LoginDisplayWebUIHandler* webui_handler_; |
| 118 | 123 |
| 119 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 124 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 120 }; | 125 }; |
| 121 | 126 |
| 122 } // namespace chromeos | 127 } // namespace chromeos |
| 123 | 128 |
| 124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ | 129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |