| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; | 77 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; |
| 78 virtual void ShowSigninScreenForCreds(const std::string& username, | 78 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 79 const std::string& password); | 79 const std::string& password); |
| 80 bool IsShowGuest() const override; | 80 bool IsShowGuest() const override; |
| 81 bool IsShowUsers() const override; | 81 bool IsShowUsers() const override; |
| 82 bool ShowUsersHasChanged() const override; | 82 bool ShowUsersHasChanged() const override; |
| 83 bool IsAllowNewUser() const override; | 83 bool IsAllowNewUser() const override; |
| 84 bool AllowNewUserChanged() const override; | 84 bool AllowNewUserChanged() const override; |
| 85 bool IsUserSigninCompleted() const override; | 85 bool IsUserSigninCompleted() const override; |
| 86 void SetDisplayEmail(const std::string& email) override; | 86 void SetDisplayEmail(const std::string& email) override; |
| 87 void SetDisplayAndGivenName(const std::string& display_name, |
| 88 const std::string& given_name) override; |
| 87 | 89 |
| 88 void HandleGetUsers() override; | 90 void HandleGetUsers() override; |
| 89 void CheckUserStatus(const AccountId& account_id) override; | 91 void CheckUserStatus(const AccountId& account_id) override; |
| 90 bool IsUserWhitelisted(const AccountId& account_id) override; | 92 bool IsUserWhitelisted(const AccountId& account_id) override; |
| 91 | 93 |
| 92 // ui::UserActivityDetector implementation: | 94 // ui::UserActivityDetector implementation: |
| 93 void OnUserActivity(const ui::Event* event) override; | 95 void OnUserActivity(const ui::Event* event) override; |
| 94 | 96 |
| 95 private: | 97 private: |
| 96 | 98 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 112 | 114 |
| 113 // Reference to the WebUI handling layer for the login screen | 115 // Reference to the WebUI handling layer for the login screen |
| 114 LoginDisplayWebUIHandler* webui_handler_ = nullptr; | 116 LoginDisplayWebUIHandler* webui_handler_ = nullptr; |
| 115 | 117 |
| 116 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 118 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 117 }; | 119 }; |
| 118 | 120 |
| 119 } // namespace chromeos | 121 } // namespace chromeos |
| 120 | 122 |
| 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ | 123 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |