Chromium Code Reviews| Index: ash/shell_observer.h |
| diff --git a/ash/shell_observer.h b/ash/shell_observer.h |
| index d9852bcdf9285d43051936b3a603a158559a5571..66d2ba6bcc4862009a1bc6c20bdd49bb434988dc 100644 |
| --- a/ash/shell_observer.h |
| +++ b/ash/shell_observer.h |
| @@ -15,6 +15,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(bool logged_in, bool is_guest) {} |
|
sky
2012/04/18 14:41:12
Are logged_in and is_guest mutually exclusive? Wou
Jun Mukai
2012/04/18 15:41:00
Done.
|
| + |
| + // 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() {} |
| }; |