[Webkit-unassigned] [Bug 43449] [chromium] Generate drag images for HTML elements and selections.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 11 17:03:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43449





--- Comment #13 from Daniel Cheng <dcheng at chromium.org>  2010-08-11 17:03:52 PST ---
(In reply to comment #12)
> (From update of attachment 64053 [details])
> How do other platforms do this?  Why is dragImageForElement chromium-only?

This is unimplemented on almost all platforms except Mac/Win Safari. They have their own implementation (see Frame::snapshotDragImage and Frame::selectionImage).

The only 2 reasons the two methods are Chromium-only is because I'm not sure how to handle the platforms that already have their own implementation. I'm also not certain of the correctness--on Windows and GTK, I have no problems, but on OS X, I'm seeing occasional crashes in gfx::CGImageToSkBitmap when dragging selections (I haven't reproed it when DOM nodes are set as the drag image yet) and I don't understand why.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list