diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 21:00:04 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 21:00:04 +0000 |
commit | 01f73451f5c113ea960e2cbd7ae574943e4cff9b (patch) | |
tree | ac7ab71b2803504051dc85cdc7310ece24e21cd1 /webkit/glue/webcursor.cc | |
parent | 25380a24e0c7114fe2b512a12a56962342b8accc (diff) | |
download | chromium_src-01f73451f5c113ea960e2cbd7ae574943e4cff9b.zip chromium_src-01f73451f5c113ea960e2cbd7ae574943e4cff9b.tar.gz chromium_src-01f73451f5c113ea960e2cbd7ae574943e4cff9b.tar.bz2 |
Cursor support including custom cursors.
Review URL: http://codereview.chromium.org/11427
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor.cc')
-rw-r--r-- | webkit/glue/webcursor.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/webkit/glue/webcursor.cc b/webkit/glue/webcursor.cc index acda43f..4c943c3 100644 --- a/webkit/glue/webcursor.cc +++ b/webkit/glue/webcursor.cc @@ -79,6 +79,9 @@ bool WebCursor::IsEqual(const WebCursor& other) const { } #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 @@ void WebCursor::SetCustomData(WebCore::Image* image) { 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 |