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

Unified Diff: ui/aura/root_window.cc

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.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 0e0067c46f544091fc77a6ba6f4510edfc42bd0d..34d4847773241be3836d8efadf8eb30d5f13232c 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -121,6 +121,10 @@ void RootWindow::SetCursor(gfx::NativeCursor cursor) {
host_->SetCursor(cursor);
}
+void RootWindow::SetCustomCursor(const gfx::PlatformCursor& cursor) {
+ host_->SetCustomCursor(cursor);
+}
+
void RootWindow::ShowCursor(bool show) {
cursor_shown_ = show;
host_->ShowCursor(show);

Powered by Google App Engine
This is Rietveld 408576698