OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 AURA_WINDOW_DELEGATE_H_ | 5 #ifndef UI_AURA_WINDOW_DELEGATE_H_ |
6 #define AURA_WINDOW_DELEGATE_H_ | 6 #define UI_AURA_WINDOW_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace gfx { | 9 namespace gfx { |
10 class Canvas; | 10 class Canvas; |
11 class Point; | 11 class Point; |
12 } | 12 } |
13 | 13 |
14 namespace aura { | 14 namespace aura { |
15 | 15 |
16 class KeyEvent; | 16 class KeyEvent; |
(...skipping 26 matching lines...) Expand all Loading... |
43 // deleted. | 43 // deleted. |
44 // The delegate can use this as an opportunity to delete itself if necessary. | 44 // The delegate can use this as an opportunity to delete itself if necessary. |
45 virtual void OnWindowDestroyed() = 0; | 45 virtual void OnWindowDestroyed() = 0; |
46 | 46 |
47 protected: | 47 protected: |
48 virtual ~WindowDelegate() {} | 48 virtual ~WindowDelegate() {} |
49 }; | 49 }; |
50 | 50 |
51 } // namespace aura | 51 } // namespace aura |
52 | 52 |
53 #endif // AURA_WINDOW_DELEGATE_H_ | 53 #endif // UI_AURA_WINDOW_DELEGATE_H_ |
OLD | NEW |