OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_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 <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 // lock_screen_apps::StateObserver: | 360 // lock_screen_apps::StateObserver: |
361 void OnLockScreenNoteStateChanged(ash::mojom::TrayActionState state) override; | 361 void OnLockScreenNoteStateChanged(ash::mojom::TrayActionState state) override; |
362 | 362 |
363 void UpdateAddButtonStatus(); | 363 void UpdateAddButtonStatus(); |
364 | 364 |
365 // Restore input focus to current user pod. | 365 // Restore input focus to current user pod. |
366 void RefocusCurrentPod(); | 366 void RefocusCurrentPod(); |
367 | 367 |
368 // Enable or disable the pin keyboard for the given account. | 368 // Enable or disable the pin keyboard for the given account. |
369 void UpdatePinKeyboardState(const AccountId& account_id); | 369 void UpdatePinKeyboardState(const AccountId& account_id); |
| 370 void UpdatePinKeyboardStateCallback(const AccountId& account_id, |
| 371 bool is_enabled); |
| 372 // Callback run by PinBackend. If |should_enabled| is true the PIN keyboard is |
| 373 // preloaded. |
| 374 void PreloadPinKeyboardCallback(bool should_enabled); |
370 | 375 |
371 // WebUI message handlers. | 376 // WebUI message handlers. |
372 void HandleGetUsers(); | 377 void HandleGetUsers(); |
373 void HandleAuthenticateUser(const AccountId& account_id, | 378 void HandleAuthenticateUser(const AccountId& account_id, |
374 const std::string& password, | 379 const std::string& password, |
375 bool authenticated_by_pin); | 380 bool authenticated_by_pin); |
376 void HandleAttemptUnlock(const std::string& username); | 381 void HandleAttemptUnlock(const std::string& username); |
377 void HandleLaunchIncognito(); | 382 void HandleLaunchIncognito(); |
378 void HandleLaunchPublicSession(const AccountId& account_id, | 383 void HandleLaunchPublicSession(const AccountId& account_id, |
379 const std::string& locale, | 384 const std::string& locale, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 lock_screen_apps_observer_; | 563 lock_screen_apps_observer_; |
559 | 564 |
560 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 565 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
561 | 566 |
562 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 567 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
563 }; | 568 }; |
564 | 569 |
565 } // namespace chromeos | 570 } // namespace chromeos |
566 | 571 |
567 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 572 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |