| Index: ui/aura/mus/window_manager_delegate.h
|
| diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
|
| index 9918870e9f78ee202f3b949611583e2a61d4e2e6..b0346f826cd752297d2a2d6ac14b5ca0d3c5b9c0 100644
|
| --- a/ui/aura/mus/window_manager_delegate.h
|
| +++ b/ui/aura/mus/window_manager_delegate.h
|
| @@ -60,6 +60,24 @@ class AURA_EXPORT WindowManagerClient {
|
| virtual void SetExtendedHitArea(Window* window,
|
| const gfx::Insets& hit_area) = 0;
|
|
|
| + // Queues changes to the cursor instead of applying them instantly. Queued
|
| + // changes will be executed on UnlockCursor().
|
| + virtual void LockCursor() = 0;
|
| +
|
| + // Executes queued changes.
|
| + virtual void UnlockCursor() = 0;
|
| +
|
| + // Globally unhides the cursor.
|
| + virtual void ShowCursor() = 0;
|
| +
|
| + // Globally hides the cursor.
|
| + virtual void HideCursor() = 0;
|
| +
|
| + // Sets a cursor which is used instead of the per window cursors. Pass a
|
| + // nullopt in |cursor| to clear the override.
|
| + virtual void SetGlobalOverrideCursor(
|
| + base::Optional<ui::CursorData> cursor) = 0;
|
| +
|
| // Requests the client embedded in |window| to close the window. Only
|
| // applicable to top-level windows. If a client is not embedded in |window|,
|
| // this does nothing.
|
|
|