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

Unified Diff: chrome/browser/ui/ash/lock_screen_client.h

Issue 2896093003: cros: Make sure views-based lock screen is destroyed after it is dismissed. (Closed)
Patch Set: Address comments Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
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..d33c5def8f6f5bb28dae724533da8df1346c96e2 100644
--- a/chrome/browser/ui/ash/lock_screen_client.h
+++ b/chrome/browser/ui/ash/lock_screen_client.h
@@ -9,8 +9,8 @@
#include "base/macros.h"
#include "mojo/public/cpp/bindings/binding.h"
-// Handles method calls delegated back to chrome from ash. Also notifies ash of
-// relevant state changes in chrome.
+// Handles method calls sent from ash to chrome. Also sends messages from chrome
+// to ash.
class LockScreenClient : public ash::mojom::LockScreenClient {
public:
LockScreenClient();
@@ -34,12 +34,14 @@ class LockScreenClient : public ash::mojom::LockScreenClient {
// ash::mojom::LockScreenClient:
void AuthenticateUser(const AccountId& account_id,
const std::string& hashed_password,
- bool authenticated_by_pin) override;
+ bool authenticated_by_pin,
+ AuthenticateUserCallback callback) override;
void AttemptUnlock(const AccountId& account_id) override;
void HardlockPod(const AccountId& account_id) override;
void RecordClickOnLockIcon(const AccountId& account_id) override;
// Wrappers around the mojom::LockScreen interface.
+ void ShowLockScreen(ash::mojom::LockScreen::ShowLockScreenCallback on_shown);
void ShowErrorMessage(int32_t login_attempts,
const std::string& error_text,
const std::string& help_link_text,
« no previous file with comments | « chrome/browser/chromeos/login/lock/webui_screen_locker.cc ('k') | chrome/browser/ui/ash/lock_screen_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698