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_CLIENT_CURSOR_CLIENT_H_ | 5 #ifndef UI_AURA_CLIENT_CURSOR_CLIENT_H_ |
6 #define UI_AURA_CLIENT_CURSOR_CLIENT_H_ | 6 #define UI_AURA_CLIENT_CURSOR_CLIENT_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/aura/aura_export.h" | 9 #include "ui/aura/aura_export.h" |
10 #include "ui/base/cursor/cursor.h" | 10 #include "ui/base/cursor/cursor.h" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 | 12 |
13 namespace gfx { | 13 namespace display { |
14 class Display; | 14 class Display; |
15 } | 15 } |
16 | 16 |
17 namespace display { | |
18 using Display = gfx::Display; | |
19 } | |
20 | |
21 namespace ui { | 17 namespace ui { |
22 class KeyEvent; | 18 class KeyEvent; |
23 } | 19 } |
24 | 20 |
25 namespace aura { | 21 namespace aura { |
26 class Window; | 22 class Window; |
27 namespace client { | 23 namespace client { |
28 class CursorClientObserver; | 24 class CursorClientObserver; |
29 | 25 |
30 // An interface that receives cursor change events. | 26 // An interface that receives cursor change events. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 87 |
92 // Sets/Gets the activation client for the specified window. | 88 // Sets/Gets the activation client for the specified window. |
93 AURA_EXPORT void SetCursorClient(Window* window, | 89 AURA_EXPORT void SetCursorClient(Window* window, |
94 CursorClient* client); | 90 CursorClient* client); |
95 AURA_EXPORT CursorClient* GetCursorClient(Window* window); | 91 AURA_EXPORT CursorClient* GetCursorClient(Window* window); |
96 | 92 |
97 } // namespace client | 93 } // namespace client |
98 } // namespace aura | 94 } // namespace aura |
99 | 95 |
100 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_H_ | 96 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_H_ |
OLD | NEW |