Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: ui/aura/root_window.h

Issue 9463003: aura-x11: Add custom web cursor support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index c84d6977dfc48b3897799e1cf222749690cae16e..2e9189c01bb692f3f460e31091f8c5593624d23d 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -83,9 +83,13 @@ 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. To set a custom cursor, use SetCustomCursor instead.
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);

Powered by Google App Engine
This is Rietveld 408576698