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

Unified Diff: webkit/glue/webcursor.cc

Issue 11427: Cursor support including custom cursors (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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: webkit/glue/webcursor.cc
===================================================================
--- webkit/glue/webcursor.cc (revision 5577)
+++ webkit/glue/webcursor.cc (working copy)
@@ -79,6 +79,9 @@
}
#if !defined(OS_MACOSX)
+// The Mac version of Chromium is built with PLATFORM(CG) while all other
+// versions are PLATFORM(SKIA). We'll keep this Skia implementation here for
+// common use and put the Mac implementation in webcursor_mac.mm.
void WebCursor::SetCustomData(WebCore::Image* image) {
WebCore::NativeImagePtr image_ptr = image->nativeImageForCurrentFrame();
if (!image_ptr)
@@ -91,10 +94,4 @@
custom_size_.set_width(image_ptr->width());
custom_size_.set_height(image_ptr->height());
}
-#else
-// The above code should work on the Mac to but evanm was getting forward
-// declaration errors.
-void WebCursor::SetCustomData(WebCore::Image* image) {
- NOTIMPLEMENTED();
-}
#endif

Powered by Google App Engine
This is Rietveld 408576698