Chromium Code Reviews| Index: ui/aura/root_window.h |
| diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h |
| index c84d6977dfc48b3897799e1cf222749690cae16e..229e5a72f34caf54f1b4ff4cd1942a274e3543ae 100644 |
| --- a/ui/aura/root_window.h |
| +++ b/ui/aura/root_window.h |
| @@ -83,9 +83,14 @@ 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 |
|
Daniel Erat
2012/02/24 21:04:36
how about:
// To set a custom cursor, use SetCust
sadrul
2012/02/24 22:48:49
Done.
|
| + // SetCustomCursor instead to have the custom cursor displayed. |
| void SetCursor(gfx::NativeCursor cursor); |
| + // Sets a custom cursor for the display. This interacts with ShowCursor the |
| + // same as SetCursor (see above). |
| + void SetCustomCursor(const gfx::PlatformCursor& cursor); |
| + |
| // Shows or hides the cursor. |
| void ShowCursor(bool show); |