Chromium Code Reviews| Index: ash/shell_observer.h |
| diff --git a/ash/shell_observer.h b/ash/shell_observer.h |
| index d9852bcdf9285d43051936b3a603a158559a5571..5e949f41d10e097c349f3778e14e1896fa3f2114 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 OnLoginStateChange(bool logged_in, bool is_guest) {} |
|
sky
2012/04/16 14:47:44
This should be past tense: OnLoginStateChanged
Jun Mukai
2012/04/17 03:34:39
Done.
|
| + |
| + // Invoked when the application is exiting. |
| + virtual void OnExit() {} |
|
sky
2012/04/16 14:47:44
Can this match the notification name: OnAppTermina
Jun Mukai
2012/04/17 03:34:39
Done.
|
| + |
| + // Invoked when the screen is locked (after the lock window is visible) or |
| + // unlocked. |
| + virtual void OnLockStateChange(bool locked) {} |
|
sky
2012/04/16 14:47:44
Paste tense too: OnLockStateChanged.
Jun Mukai
2012/04/17 03:34:39
Done.
|
| + |
| protected: |
| virtual ~ShellObserver() {} |
| }; |