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

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

Issue 2923773003: Adding mojo calls for several lock screen related operations. (Closed)
Patch Set: comments and rebase 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/mock_lock_screen_client.h ('k') | chrome/browser/chromeos/BUILD.gn » ('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 5cc5c35d25df5bb333033de531a7cfd26bddc09b..0947cf43f655b822356027538e1bb37fa4b5488d 100644
--- a/ash/public/interfaces/lock_screen.mojom
+++ b/ash/public/interfaces/lock_screen.mojom
@@ -78,6 +78,11 @@ interface LockScreen {
// |users|: A list of users who can unlock the device.
// |show_guest|: Whether to show guest session button.
LoadUsers(mojo.common.mojom.ListValue users, bool show_guest);
+
+ // Notification if pin is enabled or disabled for the given user.
+ // |account_id|: The account id of the user in the user pod.
+ // |is_enabled|: True if pin unlock is enabled.
+ SetPinEnabledForUser(signin.mojom.AccountId account_id, bool is_enabled);
};
// Allows ash lock screen to control a client (e.g. Chrome browser). Requests
@@ -108,4 +113,19 @@ interface LockScreenClient {
// Record clicks on the lock icon in the user pod.
// |account_id|: The account id of the user in the user pod.
RecordClickOnLockIcon(signin.mojom.AccountId account_id);
+
+ // Focus user pod of user with |account_id|.
+ OnFocusPod(signin.mojom.AccountId account_id);
+
+ // Notify that no user pod is focused.
+ OnNoPodFocused();
+
+ // Load wallpaper of user with |account_id|.
+ LoadWallpaper(signin.mojom.AccountId account_id);
+
+ // Sign out current user.
+ SignOutUser();
+
+ // User with |account_id| has reached maximum incorrect password attempts.
+ OnMaxIncorrectPasswordAttempted(signin.mojom.AccountId account_id);
};
« no previous file with comments | « ash/login/mock_lock_screen_client.h ('k') | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698