Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
| 3 | 3 |
| 4 module default { | 4 module default { |
| 5 NamedNodeMap implements sequence<Node>; | 5 NamedNodeMap implements sequence<Node>; |
| 6 NodeList implements sequence<Node>; | 6 NodeList implements sequence<Node>; |
| 7 HTMLCollection implements sequence<Node>; | 7 HTMLCollection implements sequence<Node>; |
| 8 MediaList implements sequence<DOMString>; | 8 MediaList implements sequence<DOMString>; |
| 9 StyleSheetList implements sequence<StyleSheet>; | 9 StyleSheetList implements sequence<StyleSheet>; |
| 10 TouchList implements sequence<Touch>; | 10 TouchList implements sequence<Touch>; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 [Suppressed] void groupCollapsed(); | 70 [Suppressed] void groupCollapsed(); |
| 71 [CallWith=ScriptArguments|CallStack] void groupCollapsed(DOMObject arg); | 71 [CallWith=ScriptArguments|CallStack] void groupCollapsed(DOMObject arg); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 [Supplemental] | 74 [Supplemental] |
| 75 interface HTMLOptionsCollection { | 75 interface HTMLOptionsCollection { |
| 76 [Suppressed] void add(in optional HTMLOptionElement element, in optional lon g before); | 76 [Suppressed] void add(in optional HTMLOptionElement element, in optional lon g before); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 [Supplemental] | 79 [Supplemental] |
| 80 interface ImageData { | |
| 81 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)
| |
| 82 }; | |
| 83 | |
| 84 [Supplemental] | |
| 80 interface WebGLContextEvent { | 85 interface WebGLContextEvent { |
| 81 [Suppressed] void initEvent(in optional DOMString eventTypeArg, | 86 [Suppressed] void initEvent(in optional DOMString eventTypeArg, |
| 82 in optional boolean canBubbleArg, | 87 in optional boolean canBubbleArg, |
| 83 in optional boolean cancelableArg, | 88 in optional boolean cancelableArg, |
| 84 in optional DOMString statusMessageArg); | 89 in optional DOMString statusMessageArg); |
| 85 }; | 90 }; |
| 86 }; | 91 }; |
| 87 | 92 |
| 88 module html { | 93 module html { |
| 89 [Supplemental] | 94 [Supplemental] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); | 131 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); |
| 127 }; | 132 }; |
| 128 } | 133 } |
| 129 | 134 |
| 130 | 135 |
| 131 | 136 |
| 132 module canvas { | 137 module canvas { |
| 133 // TODO(dstockwell): Define these manually. | 138 // TODO(dstockwell): Define these manually. |
| 134 [Supplemental] | 139 [Supplemental] |
| 135 interface Float32Array { | 140 interface Float32Array { |
| 136 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 141 [Suppressed] void set(); |
| 142 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 137 }; | 143 }; |
| 138 [Supplemental] | 144 [Supplemental] |
| 139 interface Float64Array { | 145 interface Float64Array { |
| 140 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 146 [Suppressed] void set(); |
| 147 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 141 }; | 148 }; |
| 142 [Supplemental] | 149 [Supplemental] |
| 143 interface Int16Array { | 150 interface Int16Array { |
| 144 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 151 [Suppressed] void set(); |
| 152 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 145 }; | 153 }; |
| 146 [Supplemental] | 154 [Supplemental] |
| 147 interface Int32Array { | 155 interface Int32Array { |
| 148 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 156 [Suppressed] void set(); |
| 157 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 149 }; | 158 }; |
| 150 [Supplemental] | 159 [Supplemental] |
| 151 interface Int8Array { | 160 interface Int8Array { |
| 152 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 161 [Suppressed] void set(); |
| 162 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 153 }; | 163 }; |
| 154 [Supplemental] | 164 [Supplemental] |
| 155 interface Uint16Array { | 165 interface Uint16Array { |
| 156 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 166 [Suppressed] void set(); |
| 167 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 157 }; | 168 }; |
| 158 [Supplemental] | 169 [Supplemental] |
| 159 interface Uint32Array { | 170 interface Uint32Array { |
| 160 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 171 [Suppressed] void set(); |
| 172 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 161 }; | 173 }; |
| 162 [Supplemental] | 174 [Supplemental] |
| 163 interface Uint8Array { | 175 interface Uint8Array { |
| 164 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 176 [Suppressed] void set(); |
| 177 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | |
| 165 }; | 178 }; |
| 166 | 179 |
| 167 [Supplemental] | 180 [Supplemental] |
| 168 interface Uint8ClampedArray { | 181 interface Uint8ClampedArray { |
| 169 // Avoid 'overriding static member BYTES_PER_ELEMENT'. | 182 // Avoid 'overriding static member BYTES_PER_ELEMENT'. |
| 170 [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1; | 183 [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1; |
| 171 | 184 |
| 172 [Suppressed] void set(); | 185 [Suppressed] void set(); |
| 173 [DartName=setElements] void set(in any array, in optional unsigned long offs et); | 186 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); |
| 187 }; | |
| 188 | |
| 189 [NumericIndexedGetter, CustomIndexedSetter] | |
| 190 interface CanvasPixelArray { | |
| 191 readonly attribute long length; | |
| 174 }; | 192 }; |
| 175 }; | 193 }; |
| 176 | 194 |
| 177 module storage { | 195 module storage { |
| 178 // TODO(vsm): Define new names for these (see b/4436830). | 196 // TODO(vsm): Define new names for these (see b/4436830). |
| 179 [Supplemental] | 197 [Supplemental] |
| 180 interface IDBCursor { | 198 interface IDBCursor { |
| 181 [DartName=continueFunction] void continue(in optional IDBKey key); | 199 [DartName=continueFunction] void continue(in optional IDBKey key); |
| 182 }; | 200 }; |
| 183 [Supplemental] | 201 [Supplemental] |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 194 [Supplemental, Callback] // Add missing Callback attribute. | 212 [Supplemental, Callback] // Add missing Callback attribute. |
| 195 interface VoidCallback { | 213 interface VoidCallback { |
| 196 }; | 214 }; |
| 197 }; | 215 }; |
| 198 | 216 |
| 199 module svg { | 217 module svg { |
| 200 interface SVGNumber { | 218 interface SVGNumber { |
| 201 [StrictTypeChecking, Custom] attribute double value; | 219 [StrictTypeChecking, Custom] attribute double value; |
| 202 }; | 220 }; |
| 203 } | 221 } |
| OLD | NEW |