Chromium Code Reviews
DescriptionUpdating Clipboard.setDragImage to accept elements.
This changes the IDL to expose it, but the method is custom in V8 and needs to be custom in Dart.
Basically the spec has changed that setDragImage should accept elements rather than just images:
http://www.w3.org/html/wg/drafts/html/master/editing.html#dom-datatransfer-setdragimage
And V8 (and Firefox) already support this:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/bindings/v8/custom/V8ClipboardCustom.cpp&sq=package:chromium&type=cs&l=80&rcl=1369903032
Also, this appears to already have the Dartium code for it-
http://src.chromium.org/multivm/trunk/webkit/Source/bindings/dart/custom/DartClipboardCustom.cpp
Not sure if there are additional changes, but this appears to work for me (requires manual testing).
BUG=10819
R=antonm@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23568
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||