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

Unified Diff: ash/session/session_state_observer.h

Issue 2801333002: mash: Run pre-unlock animation via SessionController (Closed)
Patch Set: rebase 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 | « ash/session/session_controller_unittest.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_observer.h
diff --git a/ash/session/session_state_observer.h b/ash/session/session_state_observer.h
index 74d5afc1679dc7278eda9d618d1289a6954c512b..736679b885b8b74f6baca77e632602791a96c8e5 100644
--- a/ash/session/session_state_observer.h
+++ b/ash/session/session_state_observer.h
@@ -15,6 +15,7 @@ namespace ash {
enum class LoginStatus;
+// TODO(xiyuan): Rename to On*Changed().
class ASH_EXPORT SessionStateObserver {
public:
// Called when active user has changed.
@@ -32,6 +33,9 @@ class ASH_EXPORT SessionStateObserver {
// Called when the login status is changed. |login_status| is the new status.
virtual void LoginStatusChanged(LoginStatus login_status) {}
+ // Called when the lock state is changed. |locked| is the current lock stated.
+ virtual void LockStateChanged(bool locked) {}
+
protected:
virtual ~SessionStateObserver() {}
};
« no previous file with comments | « ash/session/session_controller_unittest.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698