OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_APP_LAUNCH_SIGNIN_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
67 virtual void ShowKioskEnableScreen() OVERRIDE; | 67 virtual void ShowKioskEnableScreen() OVERRIDE; |
68 virtual void ShowResetScreen() OVERRIDE; | 68 virtual void ShowResetScreen() OVERRIDE; |
69 virtual void ShowKioskAutolaunchScreen() OVERRIDE; | 69 virtual void ShowKioskAutolaunchScreen() OVERRIDE; |
70 virtual void ShowWrongHWIDScreen() OVERRIDE; | 70 virtual void ShowWrongHWIDScreen() OVERRIDE; |
71 virtual void SetWebUIHandler( | 71 virtual void SetWebUIHandler( |
72 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; | 72 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 virtual const UserList& GetUsers() const OVERRIDE; | 75 virtual const UserList& GetUsers() const OVERRIDE; |
76 virtual bool IsShowGuest() const OVERRIDE; | 76 virtual bool IsShowGuest() const OVERRIDE; |
77 virtual bool IsShowSupervised() const OVERRIDE; | |
Nikita (slow)
2014/04/08 14:02:09
I don't see much value in adding IsShowSupervised(
merkulova
2014/04/09 15:24:19
Done.
| |
77 virtual bool IsShowUsers() const OVERRIDE; | 78 virtual bool IsShowUsers() const OVERRIDE; |
78 virtual bool IsShowNewUser() const OVERRIDE; | 79 virtual bool IsShowNewUser() const OVERRIDE; |
79 virtual bool IsSigninInProgress() const OVERRIDE; | 80 virtual bool IsSigninInProgress() const OVERRIDE; |
80 virtual bool IsUserSigninCompleted() const OVERRIDE; | 81 virtual bool IsUserSigninCompleted() const OVERRIDE; |
81 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; | 82 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
82 virtual void Signout() OVERRIDE; | 83 virtual void Signout() OVERRIDE; |
83 virtual void LoginAsKioskApp(const std::string& app_id, | 84 virtual void LoginAsKioskApp(const std::string& app_id, |
84 bool diagnostic_mode) OVERRIDE; | 85 bool diagnostic_mode) OVERRIDE; |
85 | 86 |
86 // LoginStatusConsumer implementation: | 87 // LoginStatusConsumer implementation: |
87 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE; | 88 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE; |
88 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE; | 89 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE; |
89 | 90 |
90 OobeUI* oobe_ui_; | 91 OobeUI* oobe_ui_; |
91 Delegate* delegate_; | 92 Delegate* delegate_; |
92 LoginDisplayWebUIHandler* webui_handler_; | 93 LoginDisplayWebUIHandler* webui_handler_; |
93 scoped_refptr<Authenticator> authenticator_; | 94 scoped_refptr<Authenticator> authenticator_; |
94 | 95 |
95 // This list should have at most one user, and that user should be the owner. | 96 // This list should have at most one user, and that user should be the owner. |
96 UserList owner_user_list_; | 97 UserList owner_user_list_; |
97 | 98 |
98 static UserManager* test_user_manager_; | 99 static UserManager* test_user_manager_; |
99 | 100 |
100 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); | 101 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); |
101 }; | 102 }; |
102 | 103 |
103 } // namespace chromeos | 104 } // namespace chromeos |
104 | 105 |
105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ | 106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ |
OLD | NEW |