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_SHELL_OBSERVER_H_ | 5 #ifndef ASH_SHELL_OBSERVER_H_ |
6 #define ASH_SHELL_OBSERVER_H_ | 6 #define ASH_SHELL_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "ash/system/user/login_status.h" | 9 #include "ash/system/user/login_status.h" |
11 | 10 |
12 namespace ash { | 11 namespace ash { |
13 | 12 |
14 class ASH_EXPORT ShellObserver { | 13 class ASH_EXPORT ShellObserver { |
15 public: | 14 public: |
16 // Invoked after the screen's work area insets changes. | 15 // Invoked after the screen's work area insets changes. |
17 virtual void OnDisplayWorkAreaInsetsChanged() {} | 16 virtual void OnDisplayWorkAreaInsetsChanged() {} |
(...skipping 11 matching lines...) Expand all Loading... |
29 // Invoked when the shelf alignment is changed. | 28 // Invoked when the shelf alignment is changed. |
30 virtual void OnShelfAlignmentChanged() {} | 29 virtual void OnShelfAlignmentChanged() {} |
31 | 30 |
32 protected: | 31 protected: |
33 virtual ~ShellObserver() {} | 32 virtual ~ShellObserver() {} |
34 }; | 33 }; |
35 | 34 |
36 } // namespace ash | 35 } // namespace ash |
37 | 36 |
38 #endif // ASH_SHELL_OBSERVER_H_ | 37 #endif // ASH_SHELL_OBSERVER_H_ |
OLD | NEW |