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

Unified Diff: ui/aura/cursor_x11.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/cursor_x11.cc
diff --git a/ui/aura/cursor_x11.cc b/ui/aura/cursor_x11.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1f8af55bad444a5ead25f7d8f06695d54fd4b54a
--- /dev/null
+++ b/ui/aura/cursor_x11.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/aura/cursor.h"
+
+#include "ui/base/x/x11_util.h"
+
+namespace aura {
+
+void Cursor::RefCustomCursor() {
+ ui::RefCustomXCursor(platform_);
+}
+
+void Cursor::UnrefCustomCursor() {
+ ui::UnrefCustomXCursor(platform_);
+}
+
+} // namespace aura
« ui/aura/cursor.h ('K') | « ui/aura/cursor_win.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698