| Index: ui/aura/client/cursor_client.h
|
| diff --git a/ui/aura/client/cursor_client.h b/ui/aura/client/cursor_client.h
|
| index 3f970b0b5c3939eac14a2040a5f49af6d58d5efc..2b8abf9b2d842fdd24616395522d1288cb3d142e 100644
|
| --- a/ui/aura/client/cursor_client.h
|
| +++ b/ui/aura/client/cursor_client.h
|
| @@ -18,12 +18,17 @@ class AURA_EXPORT CursorClient {
|
| // Notes that |window| has requested the change to |cursor|.
|
| virtual void SetCursor(gfx::NativeCursor cursor) = 0;
|
|
|
| - // Changes the visibility of the cursor.
|
| + // Changes the visibility of the cursor. Mouse events keep being sent even
|
| + // when the cursor is invisible,
|
| virtual void ShowCursor(bool show) = 0;
|
|
|
| // Gets whether the cursor is visible.
|
| virtual bool IsCursorVisible() const = 0;
|
|
|
| + // Enables or disables the cursor. When cursor is disabled, no mouse events
|
| + // are sent.
|
| + virtual void EnableCursor(bool enabled) = 0;
|
| +
|
| // Sets the device scale factor of the cursor.
|
| virtual void SetDeviceScaleFactor(float device_scale_factor) = 0;
|
|
|
|
|