Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/browser/chromeos/login/app_launch_signin_screen.h

Issue 296823009: ChromeOS login webui refactoring: split user selection/gaia login screens. (Closed) Base URL: http://git.chromium.org/chromium/src.git@refactoring-1
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
67 virtual void ShowKioskEnableScreen() OVERRIDE; 67 virtual void ShowKioskEnableScreen() OVERRIDE;
68 virtual void ShowKioskAutolaunchScreen() OVERRIDE; 68 virtual void ShowKioskAutolaunchScreen() OVERRIDE;
69 virtual void ShowWrongHWIDScreen() OVERRIDE; 69 virtual void ShowWrongHWIDScreen() OVERRIDE;
70 virtual void SetWebUIHandler( 70 virtual void SetWebUIHandler(
71 LoginDisplayWebUIHandler* webui_handler) OVERRIDE; 71 LoginDisplayWebUIHandler* webui_handler) OVERRIDE;
72 virtual void ShowSigninScreenForCreds(const std::string& username, 72 virtual void ShowSigninScreenForCreds(const std::string& username,
73 const std::string& password); 73 const std::string& password);
74 virtual const UserList& GetUsers() const OVERRIDE; 74 virtual const UserList& GetUsers() const OVERRIDE;
75 virtual bool IsShowGuest() const OVERRIDE; 75 virtual bool IsShowGuest() const OVERRIDE;
76 virtual bool IsShowUsers() const OVERRIDE; 76 virtual bool IsShowUsers() const OVERRIDE;
77 virtual bool IsShowNewUser() const OVERRIDE;
78 virtual bool IsSigninInProgress() const OVERRIDE; 77 virtual bool IsSigninInProgress() const OVERRIDE;
79 virtual bool IsUserSigninCompleted() const OVERRIDE; 78 virtual bool IsUserSigninCompleted() const OVERRIDE;
80 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; 79 virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
81 virtual void Signout() OVERRIDE; 80 virtual void Signout() OVERRIDE;
82 virtual void LoginAsKioskApp(const std::string& app_id, 81 virtual void LoginAsKioskApp(const std::string& app_id,
83 bool diagnostic_mode) OVERRIDE; 82 bool diagnostic_mode) OVERRIDE;
83 virtual void HandleCustomButtonClicked(const std::string& user_id) OVERRIDE;
84 virtual void HandleGetUsers() OVERRIDE;
84 85
85 // LoginStatusConsumer implementation: 86 // LoginStatusConsumer implementation:
86 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE; 87 virtual void OnLoginFailure(const LoginFailure& error) OVERRIDE;
87 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE; 88 virtual void OnLoginSuccess(const UserContext& user_context) OVERRIDE;
88 89
89 OobeUI* oobe_ui_; 90 OobeUI* oobe_ui_;
90 Delegate* delegate_; 91 Delegate* delegate_;
91 LoginDisplayWebUIHandler* webui_handler_; 92 LoginDisplayWebUIHandler* webui_handler_;
92 scoped_refptr<Authenticator> authenticator_; 93 scoped_refptr<Authenticator> authenticator_;
93 94
94 // This list should have at most one user, and that user should be the owner. 95 // This list should have at most one user, and that user should be the owner.
95 UserList owner_user_list_; 96 UserList owner_user_list_;
96 97
97 static UserManager* test_user_manager_; 98 static UserManager* test_user_manager_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); 100 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen);
100 }; 101 };
101 102
102 } // namespace chromeos 103 } // namespace chromeos
103 104
104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698