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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 12 14:30:09 PDT 2010


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





--- Comment #16 from Daniel Cheng <dcheng at chromium.org>  2010-08-12 14:30:08 PST ---
(In reply to comment #15)
> (In reply to comment #14)
> > It looks like Safari uses Frame::nodeImage(Node*).  Can we do the same for chromium?  Bonus points if you make the return type a DragImageRef and pull the function out from behind the platform #ifs.
> 
> That is, safari win uses Frame::nodeImage(Node*) and safari mac uses Frame::snapshotDragImage(Node*, NSRect* imageRect, NSRect* elementRect).  However both have a nodeImage(Node*) method and that's the signature we want for chromium, so it seems worthwhile to pull that out and use it in Chromium.

I'll rename the existing nodeImage methods, but before I do that, I'm also wondering--is it worth replacing the current Safari implementations with the new dragImage* methods? Since they're platform neutral, it'd seem to make sense but maybe I'm missing something...

-- 
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