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 UI_AURA_WINDOW_OBSERVER_H_ | 5 #ifndef UI_AURA_WINDOW_OBSERVER_H_ |
6 #define UI_AURA_WINDOW_OBSERVER_H_ | 6 #define UI_AURA_WINDOW_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
8 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
9 | 10 |
10 namespace gfx { | 11 namespace gfx { |
11 class Rect; | 12 class Rect; |
12 } // namespace gfx | 13 } // namespace gfx |
13 | 14 |
14 namespace aura { | 15 namespace aura { |
15 | 16 |
16 class Window; | 17 class Window; |
17 | 18 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Called when a Window is about to be removed from a RootWindow. | 70 // Called when a Window is about to be removed from a RootWindow. |
70 virtual void OnWindowRemovingFromRootWindow(Window* window) {} | 71 virtual void OnWindowRemovingFromRootWindow(Window* window) {} |
71 | 72 |
72 protected: | 73 protected: |
73 virtual ~WindowObserver() {} | 74 virtual ~WindowObserver() {} |
74 }; | 75 }; |
75 | 76 |
76 } // namespace aura | 77 } // namespace aura |
77 | 78 |
78 #endif // UI_AURA_WINDOW_OBSERVER_H_ | 79 #endif // UI_AURA_WINDOW_OBSERVER_H_ |
OLD | NEW |