| Index: ui/aura/root_window.h
|
| diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
|
| index c84d6977dfc48b3897799e1cf222749690cae16e..53854faaf11963b2f731fba780cac856cb084d80 100644
|
| --- a/ui/aura/root_window.h
|
| +++ b/ui/aura/root_window.h
|
| @@ -83,9 +83,16 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
|
| // Sets the currently-displayed cursor. If the cursor was previously hidden
|
| // via ShowCursor(false), it will remain hidden until ShowCursor(true) is
|
| // called, at which point the cursor that was last set via SetCursor() will be
|
| - // used.
|
| + // used. If the cursor type is kCursorCustom, then the caller has to call
|
| + // SetCustomCursor instead to have the custom cursor displayed.
|
| void SetCursor(gfx::NativeCursor cursor);
|
|
|
| + // Sets a custom cursor for the display. If the cursor was previously hidden
|
| + // via ShowCursor(false), it will remain hidden. However, once
|
| + // ShowCursor(true) is called, this custom cursor will not be used until an
|
| + // explicit call to SetCustomCursor is made.
|
| + void SetCustomCursor(const gfx::PlatformCursor& cursor);
|
| +
|
| // Shows or hides the cursor.
|
| void ShowCursor(bool show);
|
|
|
|
|