Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: client/dom/idl/dart/dart.idl

Issue 9494012: Add supplementals for several unforked WebKit idls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698