OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ | 5 #ifndef UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ |
6 #define UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ | 6 #define UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ |
7 | 7 |
8 #include "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
9 #include "ui/base/cursor/cursor.h" | 9 #include "ui/base/cursor/cursor.h" |
10 | 10 |
11 namespace display { | 11 namespace display { |
12 class Display; | 12 class Display; |
13 } | 13 } |
14 | 14 |
15 namespace aura { | 15 namespace aura { |
16 namespace client { | 16 namespace client { |
17 | 17 |
18 class AURA_EXPORT CursorClientObserver { | 18 class AURA_EXPORT CursorClientObserver { |
19 public: | 19 public: |
20 virtual void OnCursorVisibilityChanged(bool is_visible) {} | 20 virtual void OnCursorVisibilityChanged(bool is_visible) {} |
21 virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {} | 21 virtual void OnCursorSizeChanged(ui::CursorSize cursor_size) {} |
22 virtual void OnCursorDisplayChanged(const display::Display& display) {} | 22 virtual void OnCursorDisplayChanged(const display::Display& display) {} |
23 | 23 |
24 protected: | 24 protected: |
25 virtual ~CursorClientObserver() {} | 25 virtual ~CursorClientObserver() {} |
26 }; | 26 }; |
27 | 27 |
28 } // namespace client | 28 } // namespace client |
29 } // namespace aura | 29 } // namespace aura |
30 | 30 |
31 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ | 31 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ |
OLD | NEW |