| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void ShowWrongHWIDScreen() override; | 71 void ShowWrongHWIDScreen() override; |
| 72 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; | 72 void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) override; |
| 73 virtual void ShowSigninScreenForCreds(const std::string& username, | 73 virtual void ShowSigninScreenForCreds(const std::string& username, |
| 74 const std::string& password); | 74 const std::string& password); |
| 75 bool IsShowGuest() const override; | 75 bool IsShowGuest() const override; |
| 76 bool IsShowUsers() const override; | 76 bool IsShowUsers() const override; |
| 77 bool IsUserSigninCompleted() const override; | 77 bool IsUserSigninCompleted() const override; |
| 78 void SetDisplayEmail(const std::string& email) override; | 78 void SetDisplayEmail(const std::string& email) override; |
| 79 | 79 |
| 80 void HandleGetUsers() override; | 80 void HandleGetUsers() override; |
| 81 void CheckUserStatus(const std::string& user_id) override; | 81 void CheckUserStatus(const AccountId& account_id) override; |
| 82 bool IsUserWhitelisted(const std::string& user_id) override; | 82 bool IsUserWhitelisted(const std::string& user_id) override; |
| 83 | 83 |
| 84 // ui::UserActivityDetector implementation: | 84 // ui::UserActivityDetector implementation: |
| 85 void OnUserActivity(const ui::Event* event) override; | 85 void OnUserActivity(const ui::Event* event) override; |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 | 88 |
| 89 // Whether to show guest login. | 89 // Whether to show guest login. |
| 90 bool show_guest_; | 90 bool show_guest_; |
| 91 | 91 |
| 92 // Weather to show the user pods or a GAIA sign in. | 92 // Weather to show the user pods or a GAIA sign in. |
| 93 // Public sessions are always shown. | 93 // Public sessions are always shown. |
| 94 bool show_users_; | 94 bool show_users_; |
| 95 | 95 |
| 96 // Whether to show add new user. | 96 // Whether to show add new user. |
| 97 bool show_new_user_; | 97 bool show_new_user_; |
| 98 | 98 |
| 99 // Reference to the WebUI handling layer for the login screen | 99 // Reference to the WebUI handling layer for the login screen |
| 100 LoginDisplayWebUIHandler* webui_handler_; | 100 LoginDisplayWebUIHandler* webui_handler_; |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); | 102 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace chromeos | 105 } // namespace chromeos |
| 106 | 106 |
| 107 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ | 107 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_DISPLAY_H_ |
| OLD | NEW |