OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_AURA_CURSOR_DELEGATE_H_ | |
6 #define UI_AURA_CURSOR_DELEGATE_H_ | |
7 | |
8 #include "ui/aura/aura_export.h" | |
9 #include "ui/gfx/native_widget_types.h" | |
10 | |
11 namespace aura { | |
12 | |
13 // This interface is implmented by a platform specific object that changes | |
14 // the cursor's image and visibility. | |
15 class AURA_EXPORT CursorDelegate { | |
16 public: | |
17 virtual void SetCursor(gfx::NativeCursor cursor) = 0; | |
18 virtual void ShowCursor(bool visible) = 0; | |
19 | |
20 protected: | |
21 virtual ~CursorDelegate() {}; | |
22 }; | |
23 | |
24 } // namespace aura | |
25 | |
26 #endif // UI_AURA_CURSOR_DELEGATE_H_ | |
OLD | NEW |