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 23 matching lines...) Expand all Loading... |
34 bool show_users, | 34 bool show_users, |
35 bool show_new_user) OVERRIDE; | 35 bool show_new_user) OVERRIDE; |
36 virtual void OnPreferencesChanged() OVERRIDE; | 36 virtual void OnPreferencesChanged() OVERRIDE; |
37 virtual void OnBeforeUserRemoved(const std::string& username) OVERRIDE; | 37 virtual void OnBeforeUserRemoved(const std::string& username) OVERRIDE; |
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; | |
45 virtual void ShowUserPodButton(const std::string& username, | |
46 const std::string& iconURL, | |
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; | |
53 virtual void ShowError(int error_msg_id, | 44 virtual void ShowError(int error_msg_id, |
54 int login_attempts, | 45 int login_attempts, |
55 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 46 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
56 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; | 47 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; |
57 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; | 48 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; |
58 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; | 49 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; |
59 virtual void ShowSigninUI(const std::string& email) OVERRIDE; | 50 virtual void ShowSigninUI(const std::string& email) OVERRIDE; |
60 virtual void ShowControlBar(bool show) OVERRIDE; | 51 virtual void ShowControlBar(bool show) OVERRIDE; |
61 | 52 |
62 // NativeWindowDelegate implementation: | 53 // NativeWindowDelegate implementation: |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 112 |
122 // Reference to the WebUI handling layer for the login screen | 113 // Reference to the WebUI handling layer for the login screen |
123 LoginDisplayWebUIHandler* webui_handler_; | 114 LoginDisplayWebUIHandler* webui_handler_; |
124 | 115 |
125 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 116 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
126 }; | 117 }; |
127 | 118 |
128 } // namespace chromeos | 119 } // namespace chromeos |
129 | 120 |
130 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ | 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
OLD | NEW |