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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Sign in into Guest session. 70 // Sign in into Guest session.
71 virtual void LoginAsGuest() = 0; 71 virtual void LoginAsGuest() = 0;
72 72
73 // Signs out if the screen is currently locked. 73 // Signs out if the screen is currently locked.
74 virtual void Signout() = 0; 74 virtual void Signout() = 0;
75 75
76 // Create a new Google account. 76 // Create a new Google account.
77 virtual void CreateAccount() = 0; 77 virtual void CreateAccount() = 0;
78 78
79 // Called when user pod with |username| is selected at login screen.
80 // |username| is the email address of the selected user.
81 virtual void UserSelected(const std::string& username) = 0;
82
79 // Attempts to remove given user. 83 // Attempts to remove given user.
80 virtual void RemoveUser(const std::string& username) = 0; 84 virtual void RemoveUser(const std::string& username) = 0;
81 85
82 // Shows Enterprise Enrollment screen. 86 // Shows Enterprise Enrollment screen.
83 virtual void ShowEnterpriseEnrollmentScreen() = 0; 87 virtual void ShowEnterpriseEnrollmentScreen() = 0;
84 88
85 // Let the delegate know about the handler it is supposed to be using. 89 // Let the delegate know about the handler it is supposed to be using.
86 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; 90 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0;
87 91
88 // Returns users list to be shown. 92 // Returns users list to be shown.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 void HandleCompleteLogin(const base::ListValue* args); 185 void HandleCompleteLogin(const base::ListValue* args);
182 void HandleGetUsers(const base::ListValue* args); 186 void HandleGetUsers(const base::ListValue* args);
183 void HandleAuthenticateUser(const base::ListValue* args); 187 void HandleAuthenticateUser(const base::ListValue* args);
184 void HandleLaunchDemoUser(const base::ListValue* args); 188 void HandleLaunchDemoUser(const base::ListValue* args);
185 void HandleLaunchIncognito(const base::ListValue* args); 189 void HandleLaunchIncognito(const base::ListValue* args);
186 void HandleFixCaptivePortal(const base::ListValue* args); 190 void HandleFixCaptivePortal(const base::ListValue* args);
187 void HandleShowCaptivePortal(const base::ListValue* args); 191 void HandleShowCaptivePortal(const base::ListValue* args);
188 void HandleHideCaptivePortal(const base::ListValue* args); 192 void HandleHideCaptivePortal(const base::ListValue* args);
189 void HandleOfflineLogin(const base::ListValue* args); 193 void HandleOfflineLogin(const base::ListValue* args);
190 void HandleShutdownSystem(const base::ListValue* args); 194 void HandleShutdownSystem(const base::ListValue* args);
195 void HandleUserSelected(const base::ListValue* args);
191 void HandleRemoveUser(const base::ListValue* args); 196 void HandleRemoveUser(const base::ListValue* args);
192 void HandleShowAddUser(const base::ListValue* args); 197 void HandleShowAddUser(const base::ListValue* args);
193 void HandleToggleEnrollmentScreen(const base::ListValue* args); 198 void HandleToggleEnrollmentScreen(const base::ListValue* args);
194 void HandleLaunchHelpApp(const base::ListValue* args); 199 void HandleLaunchHelpApp(const base::ListValue* args);
195 void HandleCreateAccount(const base::ListValue* args); 200 void HandleCreateAccount(const base::ListValue* args);
196 void HandleAccountPickerReady(const base::ListValue* args); 201 void HandleAccountPickerReady(const base::ListValue* args);
197 void HandleLoginWebuiReady(const base::ListValue* args); 202 void HandleLoginWebuiReady(const base::ListValue* args);
198 void HandleLoginRequestNetworkState(const base::ListValue* args); 203 void HandleLoginRequestNetworkState(const base::ListValue* args);
199 void HandleLoginAddNetworkStateObserver(const base::ListValue* args); 204 void HandleLoginAddNetworkStateObserver(const base::ListValue* args);
200 void HandleLoginRemoveNetworkStateObserver(const base::ListValue* args); 205 void HandleLoginRemoveNetworkStateObserver(const base::ListValue* args);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 275
271 // CapsLock state change notifier instance; 276 // CapsLock state change notifier instance;
272 SystemKeyEventListener* key_event_listener_; 277 SystemKeyEventListener* key_event_listener_;
273 278
274 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 279 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
275 }; 280 };
276 281
277 } // namespace chromeos 282 } // namespace chromeos
278 283
279 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 284 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698