Index: client/dom/idl/dart/dart.idl |
diff --git a/client/dom/idl/dart/dart.idl b/client/dom/idl/dart/dart.idl |
index c1cc08afffdd058e89441970874e26f7785fb855..f7d7185ae5f947293fdbd032f47a65f1fb4e9708 100644 |
--- a/client/dom/idl/dart/dart.idl |
+++ b/client/dom/idl/dart/dart.idl |
@@ -77,6 +77,11 @@ module html { |
}; |
[Supplemental] |
+ interface ImageData { |
+ readonly attribute CanvasPixelArray data; |
sra1
2012/02/28 18:48:42
I remember this being there - our tests use it.
Di
podivilov
2012/02/29 08:17:39
I think it was "interface CanvasPixelArray" actual
podivilov
2012/02/29 08:25:33
CanvasPixelArray lives behind "defined(V8_BINDING)
|
+ }; |
+ |
+ [Supplemental] |
interface WebGLContextEvent { |
[Suppressed] void initEvent(in optional DOMString eventTypeArg, |
in optional boolean canBubbleArg, |
@@ -133,35 +138,43 @@ module canvas { |
// TODO(dstockwell): Define these manually. |
[Supplemental] |
interface Float32Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Float64Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Int16Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Int32Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Int8Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Uint16Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Uint32Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
interface Uint8Array { |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [Suppressed] void set(); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
}; |
[Supplemental] |
@@ -170,7 +183,12 @@ module canvas { |
[Suppressed] const unsigned int BYTES_PER_ELEMENT = 1; |
[Suppressed] void set(); |
- [DartName=setElements] void set(in any array, in optional unsigned long offset); |
+ [DartName=setElements, Custom] void set(in any array, in optional unsigned long offset); |
+ }; |
+ |
+ [NumericIndexedGetter, CustomIndexedSetter] |
+ interface CanvasPixelArray { |
+ readonly attribute long length; |
}; |
}; |