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

Unified Diff: ui/aura/root_window_host.h

Issue 9463003: aura-x11: Add custom web cursor support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: x custom cursor cache 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_host.h
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h
index 4af42ac0e989bab2a76dc2114653a9a063cf2e57..d86e033be176aca521c674d2d8b339a0382dcdbf 100644
--- a/ui/aura/root_window_host.h
+++ b/ui/aura/root_window_host.h
@@ -67,6 +67,9 @@ class RootWindowHost : public MessageLoop::Dispatcher {
// Sets the currently displayed cursor.
virtual void SetCursor(gfx::NativeCursor cursor) = 0;
+ // Sets a custom cursor.
+ virtual void SetCustomCursor(const gfx::PlatformCursor& cursor) = 0;
+
// Shows or hides the cursor.
virtual void ShowCursor(bool show) = 0;

Powered by Google App Engine
This is Rietveld 408576698