RESOLVED FIXED 101723
[EFL][WK2] Add support for custom cursors
https://bugs.webkit.org/show_bug.cgi?id=101723
Summary [EFL][WK2] Add support for custom cursors
Chris Dumez
Reported 2012-11-09 01:27:07 PST
WebKit2 EFL can only handle standard cursors, not custom ones. We should implement this. Demo: http://webdesign.about.com/od/examples/l/blstylescursorexamples.htm#fancy
Attachments
Patch (7.00 KB, patch)
2012-11-09 01:40 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2012-11-09 01:40:43 PST
Kenneth Rohde Christiansen
Comment 2 2012-11-09 02:14:57 PST
Comment on attachment 173238 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173238&action=review > Source/WebCore/platform/graphics/efl/ImageEfl.cpp:70 > +Evas_Object* BitmapImage::getEvasObject(Evas* evas) > +{ > + NativeImageCairo* image = nativeImageForCurrentFrame(); > + return image ? evasObjectFromCairoImageSurface(evas, image->surface()).leakRef() : 0; > +} In Qt this would be called toEvasObject as it does work and not just returns
Chris Dumez
Comment 3 2012-11-09 02:19:56 PST
(In reply to comment #2) > (From update of attachment 173238 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=173238&action=review > > > Source/WebCore/platform/graphics/efl/ImageEfl.cpp:70 > > +Evas_Object* BitmapImage::getEvasObject(Evas* evas) > > +{ > > + NativeImageCairo* image = nativeImageForCurrentFrame(); > > + return image ? evasObjectFromCairoImageSurface(evas, image->surface()).leakRef() : 0; > > +} > > In Qt this would be called toEvasObject as it does work and not just returns I kept consistency with other ports: virtual NSImage* getNSImage() { return 0; } virtual CGImageRef getCGImageRef() { return 0; } virtual bool getHBITMAP(HBITMAP) { return false; } virtual GdkPixbuf* getGdkPixbuf() { return 0; }
WebKit Review Bot
Comment 4 2012-11-09 03:06:44 PST
Comment on attachment 173238 [details] Patch Clearing flags on attachment: 173238 Committed r134041: <http://trac.webkit.org/changeset/134041>
WebKit Review Bot
Comment 5 2012-11-09 03:06:51 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.