summaryrefslogtreecommitdiff
path: root/chromium/ui/aura/client/cursor_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/aura/client/cursor_client.h')
-rw-r--r--chromium/ui/aura/client/cursor_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/ui/aura/client/cursor_client.h b/chromium/ui/aura/client/cursor_client.h
index acdf255b850..e8740ac1704 100644
--- a/chromium/ui/aura/client/cursor_client.h
+++ b/chromium/ui/aura/client/cursor_client.h
@@ -7,6 +7,7 @@
#include "base/strings/string16.h"
#include "ui/aura/aura_export.h"
+#include "ui/base/cursor/cursor.h"
#include "ui/gfx/native_widget_types.h"
namespace gfx {
@@ -34,6 +35,9 @@ class AURA_EXPORT CursorClient {
// Sets the scale of the mouse cursor icon.
virtual void SetScale(float scale) = 0;
+ // Sets the type of the mouse cursor icon.
+ virtual void SetCursorSet(ui::CursorSetType cursor_set) = 0;
+
// Gets whether the cursor is visible.
virtual bool IsCursorVisible() const = 0;
@@ -60,6 +64,9 @@ class AURA_EXPORT CursorClient {
// EnableMouseEvents/DisableMouseEvents.
virtual void UnlockCursor() = 0;
+ // Returns true if the cursor is locked.
+ virtual bool IsCursorLocked() const = 0;
+
// Used to add or remove a CursorClientObserver.
virtual void AddObserver(CursorClientObserver* observer) = 0;
virtual void RemoveObserver(CursorClientObserver* observer) = 0;