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

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: Fix style 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
« no previous file with comments | « ui/aura/root_window_host_ozone.cc ('k') | ui/base/cursor/cursor_loader_null.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor.h
diff --git a/ui/base/cursor/cursor.h b/ui/base/cursor/cursor.h
index 72999d4c3be41e8cfc65a694a63129f555d60ec6..c0c291c380194c2bb161f7cf65193206ed6ac0ce 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 const SkBitmap* PlatformCursor;
#else
typedef void* PlatformCursor;
#endif
« no previous file with comments | « ui/aura/root_window_host_ozone.cc ('k') | ui/base/cursor/cursor_loader_null.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698