| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WM_COMMON_WM_WINDOW_OBSERVER_H_ | 5 #ifndef ASH_WM_COMMON_WM_WINDOW_OBSERVER_H_ |
| 6 #define ASH_WM_COMMON_WM_WINDOW_OBSERVER_H_ | 6 #define ASH_WM_COMMON_WM_WINDOW_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 intptr_t old) {} | 35 intptr_t old) {} |
| 36 | 36 |
| 37 virtual void OnWindowStackingChanged(WmWindow* window) {} | 37 virtual void OnWindowStackingChanged(WmWindow* window) {} |
| 38 | 38 |
| 39 virtual void OnWindowDestroying(WmWindow* window) {} | 39 virtual void OnWindowDestroying(WmWindow* window) {} |
| 40 | 40 |
| 41 virtual void OnWindowBoundsChanged(WmWindow* window, | 41 virtual void OnWindowBoundsChanged(WmWindow* window, |
| 42 const gfx::Rect& old_bounds, | 42 const gfx::Rect& old_bounds, |
| 43 const gfx::Rect& new_bounds) {} | 43 const gfx::Rect& new_bounds) {} |
| 44 | 44 |
| 45 virtual void OnWindowVisibilityChanging(wm::WmWindow* window, bool visible) {} |
| 46 |
| 45 protected: | 47 protected: |
| 46 virtual ~WmWindowObserver() {} | 48 virtual ~WmWindowObserver() {} |
| 47 }; | 49 }; |
| 48 | 50 |
| 49 } // namespace wm | 51 } // namespace wm |
| 50 } // namespace ash | 52 } // namespace ash |
| 51 | 53 |
| 52 #endif // ASH_WM_COMMON_WM_WINDOW_OBSERVER_H_ | 54 #endif // ASH_WM_COMMON_WM_WINDOW_OBSERVER_H_ |
| OLD | NEW |