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

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

Issue 2830933002: cros: Use SessionController for lock starting code (Closed)
Patch Set: update comment Created 3 years, 8 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 | « no previous file | ash/session/session_controller.h » ('j') | ash/session/session_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/session_controller.mojom
diff --git a/ash/public/interfaces/session_controller.mojom b/ash/public/interfaces/session_controller.mojom
index ed066cbd2a87399167ef62e0c698e3f170b7580d..ef5834401915c6fa7319bd57065b8c385e091310 100644
--- a/ash/public/interfaces/session_controller.mojom
+++ b/ash/public/interfaces/session_controller.mojom
@@ -143,6 +143,12 @@ interface SessionController {
// active user session.
SetUserSessionOrder(array<uint32> user_session_ids);
+ // Runs the pre-lock animation to start locking. The call returns after
+ // the post-lock animation finishes and the system is fully locked. When
Tom Sepez 2017/04/20 01:25:00 Can something go wrong and this fail to lock? Do w
xiyuan 2017/04/20 15:14:40 LockStateController has a |lock_fail_timer_| to ha
+ // it returns, screen locker runs the post lock jobs such as a11y
+ // announcement etc. Invoked by the screen locker during initialization.
+ RunLockAnimation() => ();
+
// Runs the pre-unlock animation. Invoked by the screen locker before
// dismissing. When the mojo call returns, screen locker takes that as a
// signal of finished unlock animation and dismisses itself.
« no previous file with comments | « no previous file | ash/session/session_controller.h » ('j') | ash/session/session_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698