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

Unified Diff: ash/public/interfaces/lock_screen.mojom

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
« no previous file with comments | « ash/login/ui/lock_screen.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/lock_screen.mojom
diff --git a/ash/public/interfaces/lock_screen.mojom b/ash/public/interfaces/lock_screen.mojom
index 0b4a1417191f445f44e381bc5974d67cd0d8b3d5..5cc5c35d25df5bb333033de531a7cfd26bddc09b 100644
--- a/ash/public/interfaces/lock_screen.mojom
+++ b/ash/public/interfaces/lock_screen.mojom
@@ -34,6 +34,10 @@ interface LockScreen {
// Sets the client interface.
SetClient(LockScreenClient client);
+ // Displays the lock screen. |did_show| is true iff the lock UI was
+ // successfully displayed.
+ ShowLockScreen() => (bool did_show);
+
// Requests to show error message in the ash lock screen.
// TODO(xiaoyinh): login_attempts is probabaly not needed from chrome,
// remove it when we start to count the login attempts in ash lock screen.
@@ -87,9 +91,11 @@ interface LockScreenClient {
// |account_id|: The account id of the user we are authenticating.
// |hashed_password|: The hashed password of the user.
// |authenticated_by_pin|: True if we are using pin to authenticate.
+ //
+ // The result will be set to true if auth was successful, false if not.
AuthenticateUser(signin.mojom.AccountId account_id,
string hashed_password,
- bool authenticated_by_pin);
+ bool authenticated_by_pin) => (bool auth_success);
// Request to attempt easy unlock in chrome.
// |account_id|: The account id of the user we are authenticating.
« no previous file with comments | « ash/login/ui/lock_screen.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698