OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WM_WINDOW_STATE_OBSERVER_H_ | 5 #ifndef ASH_WM_WINDOW_STATE_OBSERVER_H_ |
6 #define ASH_COMMON_WM_WINDOW_STATE_OBSERVER_H_ | 6 #define ASH_WM_WINDOW_STATE_OBSERVER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/wm/wm_types.h" | 9 #include "ash/wm/wm_types.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace wm { | 12 namespace wm { |
13 class WindowState; | 13 class WindowState; |
14 | 14 |
15 class ASH_EXPORT WindowStateObserver { | 15 class ASH_EXPORT WindowStateObserver { |
16 public: | 16 public: |
17 virtual ~WindowStateObserver() {} | 17 virtual ~WindowStateObserver() {} |
18 | 18 |
19 // Following observer methods are different from kWindowShowStatekey | 19 // Following observer methods are different from kWindowShowStatekey |
(...skipping 12 matching lines...) Expand all Loading... |
32 // Called after the window's state has been updated. | 32 // Called after the window's state has been updated. |
33 // This is used to update the shell state that depends on the updated | 33 // This is used to update the shell state that depends on the updated |
34 // window bounds, such as shelf visibility. | 34 // window bounds, such as shelf visibility. |
35 virtual void OnPostWindowStateTypeChange(WindowState* window_state, | 35 virtual void OnPostWindowStateTypeChange(WindowState* window_state, |
36 WindowStateType old_type) {} | 36 WindowStateType old_type) {} |
37 }; | 37 }; |
38 | 38 |
39 } // namespace wm | 39 } // namespace wm |
40 } // namespace ash | 40 } // namespace ash |
41 | 41 |
42 #endif // ASH_COMMON_WM_WINDOW_STATE_OBSERVER_H_ | 42 #endif // ASH_WM_WINDOW_STATE_OBSERVER_H_ |
OLD | NEW |