Index: ash/shell_observer.h |
diff --git a/ash/shell_observer.h b/ash/shell_observer.h |
index d9852bcdf9285d43051936b3a603a158559a5571..9c1666836fbbccf932f347e8224d76f64efd6090 100644 |
--- a/ash/shell_observer.h |
+++ b/ash/shell_observer.h |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "ash/ash_export.h" |
+#include "ash/system/user/login_status.h" |
namespace ash { |
@@ -15,6 +16,16 @@ class ASH_EXPORT ShellObserver { |
// Invoked after the screen's work area insets changes. |
virtual void OnMonitorWorkAreaInsetsChanged() {} |
+ // Invoked when the user logs in. |
+ virtual void OnLoginStateChanged(user::LoginStatus status) {} |
+ |
+ // Invoked when the application is exiting. |
+ virtual void OnAppTerminating() {} |
+ |
+ // Invoked when the screen is locked (after the lock window is visible) or |
+ // unlocked. |
+ virtual void OnLockStateChanged(bool locked) {} |
+ |
protected: |
virtual ~ShellObserver() {} |
}; |