| OLD | NEW |
| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // sign-in (allow BWSI and allow whitelist) are changed. | 203 // sign-in (allow BWSI and allow whitelist) are changed. |
| 204 void UpdateAuthExtension(); | 204 void UpdateAuthExtension(); |
| 205 void UpdateAddButtonStatus(); | 205 void UpdateAddButtonStatus(); |
| 206 | 206 |
| 207 // WebUI message handlers. | 207 // WebUI message handlers. |
| 208 void HandleCompleteLogin(const base::ListValue* args); | 208 void HandleCompleteLogin(const base::ListValue* args); |
| 209 void HandleGetUsers(const base::ListValue* args); | 209 void HandleGetUsers(const base::ListValue* args); |
| 210 void HandleAuthenticateUser(const base::ListValue* args); | 210 void HandleAuthenticateUser(const base::ListValue* args); |
| 211 void HandleLaunchDemoUser(const base::ListValue* args); | 211 void HandleLaunchDemoUser(const base::ListValue* args); |
| 212 void HandleLaunchIncognito(const base::ListValue* args); | 212 void HandleLaunchIncognito(const base::ListValue* args); |
| 213 void HandleLaunchPublicAccount(const base::ListValue* args); |
| 213 void HandleOfflineLogin(const base::ListValue* args); | 214 void HandleOfflineLogin(const base::ListValue* args); |
| 214 void HandleShutdownSystem(const base::ListValue* args); | 215 void HandleShutdownSystem(const base::ListValue* args); |
| 215 void HandleLoadWallpaper(const base::ListValue* args); | 216 void HandleLoadWallpaper(const base::ListValue* args); |
| 216 void HandleRemoveUser(const base::ListValue* args); | 217 void HandleRemoveUser(const base::ListValue* args); |
| 217 void HandleShowAddUser(const base::ListValue* args); | 218 void HandleShowAddUser(const base::ListValue* args); |
| 218 void HandleToggleEnrollmentScreen(const base::ListValue* args); | 219 void HandleToggleEnrollmentScreen(const base::ListValue* args); |
| 219 void HandleToggleResetScreen(const base::ListValue* args); | 220 void HandleToggleResetScreen(const base::ListValue* args); |
| 220 void HandleLaunchHelpApp(const base::ListValue* args); | 221 void HandleLaunchHelpApp(const base::ListValue* args); |
| 221 void HandleCreateAccount(const base::ListValue* args); | 222 void HandleCreateAccount(const base::ListValue* args); |
| 222 void HandleAccountPickerReady(const base::ListValue* args); | 223 void HandleAccountPickerReady(const base::ListValue* args); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 316 |
| 316 // True when signin UI is shown to user (either sign in form or user pods). | 317 // True when signin UI is shown to user (either sign in form or user pods). |
| 317 bool login_ui_active_; | 318 bool login_ui_active_; |
| 318 | 319 |
| 319 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 320 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 320 }; | 321 }; |
| 321 | 322 |
| 322 } // namespace chromeos | 323 } // namespace chromeos |
| 323 | 324 |
| 324 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 325 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |