Index: tools/dom/idl/dart/dart.idl |
diff --git a/tools/dom/idl/dart/dart.idl b/tools/dom/idl/dart/dart.idl |
index 907cbb0c4c336e8313587166c4c6b8102d4a39ea..089329e72013f33f0623695b507a884719c0f6cb 100644 |
--- a/tools/dom/idl/dart/dart.idl |
+++ b/tools/dom/idl/dart/dart.idl |
@@ -58,6 +58,51 @@ interface TimeoutHandler { |
[Supplemental] |
interface CanvasRenderingContext2D { |
[DartName=createImageDataFromImageData] ImageData createImageData(ImageData imagedata); |
+ [DartName=createPatternFromImage] CanvasPattern createPattern(HTMLImageElement image, DOMString repetitionType); |
+}; |
+ |
+[Supplemental] |
+interface AudioContext { |
+ [DartName=createBufferFromBuffer] AudioBuffer createBuffer(ArrayBuffer buffer, boolean mixToMono); |
+}; |
+ |
+[Supplemental] |
+interface WebGLRenderingContext { |
+ [DartName=texImage2DData] void texImage2D(unsigned long target, long level, unsigned long internalformat, unsigned long format, unsigned long type, ImageData pixels); |
blois
2013/06/18 18:11:21
I'd strongly prefer having a rename table elsewher
|
+ [DartName=texImage2DImage] void texImage2D(unsigned long target, long level, unsigned long internalformat, unsigned long format, unsigned long type, HTMLImageElement image); |
+ [DartName=texImage2DCanvas] void texImage2D(unsigned long target, long level, unsigned long internalformat, unsigned long format, unsigned long type, HTMLCanvasElement canvas); |
+ [DartName=texImage2DVideo] void texImage2D(unsigned long target, long level, unsigned long internalformat, unsigned long format, unsigned long type, HTMLVideoElement video); |
+ [DartName=texSubImage2DData] void texSubImage2D(unsigned long target, long level, long xoffset, long yoffset, unsigned long format, unsigned long type, ImageData pixels); |
+ [DartName=texSubImage2DImage] void texSubImage2D(unsigned long target, long level, long xoffset, long yoffset, unsigned long format, unsigned long type, HTMLImageElement image); |
+ [DartName=texSubImage2DCanvas] void texSubImage2D(unsigned long target, long level, long xoffset, long yoffset, unsigned long format, unsigned long type, HTMLCanvasElement canvas); |
+ [DartName=texSubImage2DVideo] void texSubImage2D(unsigned long target, long level, long xoffset, long yoffset, unsigned long format, unsigned long type, HTMLVideoElement video); |
+ [DartName=bufferTypedData] void bufferData(unsigned long target, ArrayBufferView data, unsigned long usage); |
+ [DartName=bufferEmptyData] void bufferData(unsigned long target, long long size, unsigned long usage); |
+ [DartName=bufferSubTypedData] void bufferSubData(unsigned long target, long long offset, ArrayBufferView data); |
+}; |
+ |
+[Supplemental] |
+interface URL { |
+ [DartName=createObjectUrlFromStream] static DOMString createObjectURL(MediaStream stream); |
+ [DartName=createObjectUrlFromBlob] static DOMString createObjectURL(Blob blob); |
+}; |
+ |
+[Supplemental] |
+interface DataTransferItemList { |
+ [DartName=addFile] void add(File file); |
+}; |
+ |
+[Supplemental] |
+interface RTCDataChannel { |
+ [DartName=sendByteBuffer] void send(ArrayBuffer data); |
+ [DartName=sendTypedData] void send(ArrayBufferView data); |
+ [DartName=sendBlob] void send(Blob data); |
+}; |
+ |
+[Supplemental] |
+interface IDBDatabase { |
+ [DartName=transactionStringList] IDBTransaction transaction(DOMStringList storeNames, [Default=NullString] optional DOMString mode); |
+ [DartName=transactionList] IDBTransaction transaction(sequence<DOMString> storeNames, [Default=NullString] optional DOMString mode); |
}; |
[Supplemental] |
@@ -319,4 +364,4 @@ interface Location { |
[CustomSetter] attribute DOMString pathname; |
[CustomSetter] attribute DOMString search; |
[CustomSetter] attribute DOMString hash; |
-}; |
+}; |