DescriptionGet rid of of custom code for Clipboard.setDragImage()
Introduce a setDragImage() method in Clipboard whose prototype matches the
JavaScript one. Have this method call setDragImageResource() or
setDragImageElement() depending on the input type.
The first parameter type in Web IDL is now an Element, to match the
specification:
http://www.w3.org/html/wg/drafts/html/master/editing.html#datatransfer
There is no web-exposed behavior change.
TEST=ManualTests/drag-with-div-or-image-as-data-image.html
R=haraken
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159196
Patch Set 1 #Patch Set 2 : Rebase on master #Patch Set 3 : Rebase on master #
Messages
Total messages: 4 (0 generated)
|