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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 void SuspendDone(const base::TimeDelta& sleep_duration) override; | 340 void SuspendDone(const base::TimeDelta& sleep_duration) override; |
341 | 341 |
342 // ash::mojom::TouchView: | 342 // ash::mojom::TouchView: |
343 void OnTouchViewToggled(bool enabled) override; | 343 void OnTouchViewToggled(bool enabled) override; |
344 | 344 |
345 void UpdateAddButtonStatus(); | 345 void UpdateAddButtonStatus(); |
346 | 346 |
347 // Restore input focus to current user pod. | 347 // Restore input focus to current user pod. |
348 void RefocusCurrentPod(); | 348 void RefocusCurrentPod(); |
349 | 349 |
350 // Hides the PIN keyboard if it is no longer available. | 350 // Enable or disable the pin keyboard for the given account. |
351 void HidePinKeyboardIfNeeded(const AccountId& account_id); | 351 void UpdatePinKeyboardState(const AccountId& account_id); |
352 | 352 |
353 // WebUI message handlers. | 353 // WebUI message handlers. |
354 void HandleGetUsers(); | 354 void HandleGetUsers(); |
355 void HandleAuthenticateUser(const AccountId& account_id, | 355 void HandleAuthenticateUser(const AccountId& account_id, |
356 const std::string& password, | 356 const std::string& password, |
357 bool authenticated_by_pin); | 357 bool authenticated_by_pin); |
358 void HandleAttemptUnlock(const std::string& username); | 358 void HandleAttemptUnlock(const std::string& username); |
359 void HandleLaunchIncognito(); | 359 void HandleLaunchIncognito(); |
360 void HandleLaunchPublicSession(const AccountId& account_id, | 360 void HandleLaunchPublicSession(const AccountId& account_id, |
361 const std::string& locale, | 361 const std::string& locale, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 std::unique_ptr<AccountId> focused_pod_account_id_; | 535 std::unique_ptr<AccountId> focused_pod_account_id_; |
536 | 536 |
537 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 537 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
538 | 538 |
539 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 539 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
540 }; | 540 }; |
541 | 541 |
542 } // namespace chromeos | 542 } // namespace chromeos |
543 | 543 |
544 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 544 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |