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

Unified Diff: ui/base/cursor/cursor.h

Issue 158023006: Adding Ozone CursorLoader and necessary API functions to allow setting the cursor in SoftwareFactor… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed cursor*_null.* Created 6 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/base/cursor/cursor.h
diff --git a/ui/base/cursor/cursor.h b/ui/base/cursor/cursor.h
index 72999d4c3be41e8cfc65a694a63129f555d60ec6..89767d411e3e3d15cdca3f2690ab93af2984ce5f 100644
--- a/ui/base/cursor/cursor.h
+++ b/ui/base/cursor/cursor.h
@@ -19,12 +19,18 @@ typedef struct HICON__* HICON;
typedef HICON HCURSOR;
#endif
+#if defined(USE_OZONE)
+class SkBitmap;
+#endif
+
namespace ui {
#if defined(OS_WIN)
typedef ::HCURSOR PlatformCursor;
#elif defined(USE_X11)
typedef unsigned long PlatformCursor;
+#elif defined(USE_OZONE)
+typedef SkBitmap* PlatformCursor;
#else
typedef void* PlatformCursor;
#endif

Powered by Google App Engine
This is Rietveld 408576698