| Index: chrome/browser/ui/ash/lock_screen_client.h
|
| diff --git a/chrome/browser/ui/ash/lock_screen_client.h b/chrome/browser/ui/ash/lock_screen_client.h
|
| index bb5d543105bc807007223435f4734e160be4a167..b4a8d65403f57e03e1443ba268ec9b4798dadecd 100644
|
| --- a/chrome/browser/ui/ash/lock_screen_client.h
|
| +++ b/chrome/browser/ui/ash/lock_screen_client.h
|
| @@ -8,6 +8,7 @@
|
| #include "ash/public/interfaces/lock_screen.mojom.h"
|
| #include "base/macros.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| +#include "ui/base/ime/chromeos/input_method_manager.h"
|
|
|
| // Handles method calls delegated back to chrome from ash. Also notifies ash of
|
| // relevant state changes in chrome.
|
| @@ -21,9 +22,14 @@ class LockScreenClient : public ash::mojom::LockScreenClient {
|
| public:
|
| Delegate();
|
| virtual ~Delegate();
|
| + virtual void HandleAuthenticateUser(const AccountId& account_id,
|
| + const std::string& hashed_password,
|
| + bool authenticated_by_pin) = 0;
|
| virtual void HandleAttemptUnlock(const AccountId& account_id) = 0;
|
| virtual void HandleHardlockPod(const AccountId& account_id) = 0;
|
| virtual void HandleRecordClickOnLockIcon(const AccountId& account_id) = 0;
|
| + virtual void HandleFocusPod(const AccountId& account_id) = 0;
|
| + virtual void HandleNoPodFocused() = 0;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(Delegate);
|
| @@ -38,6 +44,11 @@ class LockScreenClient : public ash::mojom::LockScreenClient {
|
| void AttemptUnlock(const AccountId& account_id) override;
|
| void HardlockPod(const AccountId& account_id) override;
|
| void RecordClickOnLockIcon(const AccountId& account_id) override;
|
| + void FocusPod(const AccountId& account_id) override;
|
| + void NoPodFocused() override;
|
| + void LoadWallpaper(const AccountId& account_id) override;
|
| + void SignOutUser() override;
|
| + void MaxIncorrectPasswordAttempts(const AccountId& account_id) override;
|
|
|
| // Wrappers around the mojom::LockScreen interface.
|
| void ShowErrorMessage(int32_t login_attempts,
|
| @@ -52,6 +63,7 @@ class LockScreenClient : public ash::mojom::LockScreenClient {
|
| ash::mojom::AuthType auth_type,
|
| const base::string16& initial_value);
|
| void LoadUsers(std::unique_ptr<base::ListValue> users_list, bool show_guest);
|
| + void SetPinEnabledForUser(const AccountId& account_id, bool is_enabled);
|
|
|
| void SetDelegate(Delegate* delegate);
|
|
|
|
|