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

Unified Diff: ui/gfx/native_widget_types.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/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index 307e141a376fd071c084a8454a4f40a47f760fcb..2d097ae625f4061e280b51ca113248033eb60b50 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -104,6 +104,16 @@ class AcceleratedSurface;
namespace gfx {
#if defined(USE_AURA)
+#if defined(OS_WIN)
+typedef HCURSOR PlatformCursor;
+#elif defined(OS_LINUX)
+typedef unsigned long PlatformCursor;
+#else
+#typedef void* PlatformCursor;
+#endif
+#endif
+
+#if defined(USE_AURA)
// See ui/aura/cursor.h for values.
typedef int NativeCursor;
typedef aura::Window* NativeView;

Powered by Google App Engine
This is Rietveld 408576698