| 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 ASH_WM_CURSOR_DELEGATE_H_ | |
| 6 #define ASH_WM_CURSOR_DELEGATE_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "ui/gfx/native_widget_types.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // This interface is implmented by a platform specific object that changes | |
| 14 // the cursor's image and visibility. | |
| 15 class ASH_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 // ASH_WM_CURSOR_DELEGATE_H_ | |
| OLD | NEW |