| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_COMMON_SHELL_OBSERVER_H_ | 5 #ifndef ASH_SHELL_OBSERVER_H_ |
| 6 #define ASH_COMMON_SHELL_OBSERVER_H_ | 6 #define ASH_SHELL_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/login_status.h" | 9 #include "ash/login_status.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 class WmWindow; | 13 class WmWindow; |
| 14 | 14 |
| 15 class ASH_EXPORT ShellObserver { | 15 class ASH_EXPORT ShellObserver { |
| 16 public: | 16 public: |
| 17 // Invoked when the user logs in. | 17 // Invoked when the user logs in. |
| 18 virtual void OnLoginStateChanged(LoginStatus status) {} | 18 virtual void OnLoginStateChanged(LoginStatus status) {} |
| 19 | 19 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // Called at the end of Shell::Init. | 73 // Called at the end of Shell::Init. |
| 74 virtual void OnShellInitialized() {} | 74 virtual void OnShellInitialized() {} |
| 75 | 75 |
| 76 protected: | 76 protected: |
| 77 virtual ~ShellObserver() {} | 77 virtual ~ShellObserver() {} |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace ash | 80 } // namespace ash |
| 81 | 81 |
| 82 #endif // ASH_COMMON_SHELL_OBSERVER_H_ | 82 #endif // ASH_SHELL_OBSERVER_H_ |
| OLD | NEW |