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 FileList implements sequence<File>; | 5 FileList implements sequence<File>; |
| 6 HTMLCollection implements sequence<Node>; | 6 HTMLCollection implements sequence<Node>; |
| 7 MediaList implements sequence<DOMString>; | 7 MediaList implements sequence<DOMString>; |
| 8 NamedNodeMap implements sequence<Node>; | 8 NamedNodeMap implements sequence<Node>; |
| 9 NodeList implements sequence<Node>; | 9 NodeList implements sequence<Node>; |
| 10 StyleSheetList implements sequence<StyleSheet>; | 10 StyleSheetList implements sequence<StyleSheet>; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 [Supplemental] | 186 [Supplemental] |
| 187 interface Uint8ClampedArray { | 187 interface Uint8ClampedArray { |
| 188 // Avoid 'overriding static member BYTES_PER_ELEMENT'. | 188 // Avoid 'overriding static member BYTES_PER_ELEMENT'. |
| 189 [Suppressed] const long BYTES_PER_ELEMENT = 1; | 189 [Suppressed] const long BYTES_PER_ELEMENT = 1; |
| 190 | 190 |
| 191 [Suppressed] void set(); | 191 [Suppressed] void set(); |
| 192 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned long offset); | 192 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned long offset); |
| 193 }; | 193 }; |
| 194 | |
| 195 [Supplemental, | |
| 196 Constructor(in ArrayBuffer buffer, | |
| 197 [Optional] in unsigned long byteOffset, | |
| 198 [Optional] in unsigned long byteLength) | |
| 199 ] | |
| 200 interface DataView { | |
| 201 // Undo this: | |
| 202 // We have to use custom code because our code generator does not support in t8_t type. | |
| 203 // int8_t getInt8(in unsigned long byteOffset); | |
| 204 // uint8_t getUint8(in unsigned long byteOffset); | |
| 205 [Suppressed] DOMObject getInt8(); | |
| 206 [Suppressed] DOMObject getUint8(); | |
| 207 byte getInt8(in unsigned long byteOffset) | |
| 208 raises (DOMException); | |
| 209 octet getUint8(in unsigned long byteOffset) | |
| 210 raises (DOMException); | |
| 211 | |
| 212 // We have to use custom code because our code generator does not support ui nt8_t type. | |
|
vsm
2012/06/15 19:40:27
nit: line length here and on 202.
| |
| 213 // void setInt8(in unsigned long byteOffset, in int8_t value); | |
| 214 // void setUint8(in unsigned long byteOffset, in uint8_t value); | |
|
vsm
2012/06/15 19:40:27
Is this just a matter of mapping int8_t/uint8_t to
| |
| 215 [Suppressed] void setInt8(); | |
| 216 [Suppressed] void setUint8(); | |
| 217 void setInt8(in unsigned long byteOffset, in byte value) | |
| 218 raises (DOMException); | |
| 219 void setUint8(in unsigned long byteOffset, in octet value) | |
| 220 raises (DOMException); | |
| 221 }; | |
| 194 }; | 222 }; |
| 195 | 223 |
| 196 module storage { | 224 module storage { |
| 197 // TODO(vsm): Define new names for these (see b/4436830). | 225 // TODO(vsm): Define new names for these (see b/4436830). |
| 198 [Supplemental] | 226 [Supplemental] |
| 199 interface IDBCursor { | 227 interface IDBCursor { |
| 200 [DartName=continueFunction] void continue([Optional] in IDBKey key); | 228 [DartName=continueFunction] void continue([Optional] in IDBKey key); |
| 201 }; | 229 }; |
| 202 [Supplemental] | 230 [Supplemental] |
| 203 interface IDBDatabase { | 231 interface IDBDatabase { |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 231 [Supplemental, Callback] // Add missing Callback attribute. | 259 [Supplemental, Callback] // Add missing Callback attribute. |
| 232 interface VoidCallback { | 260 interface VoidCallback { |
| 233 }; | 261 }; |
| 234 }; | 262 }; |
| 235 | 263 |
| 236 module svg { | 264 module svg { |
| 237 interface SVGNumber { | 265 interface SVGNumber { |
| 238 [StrictTypeChecking, Custom] attribute double value; | 266 [StrictTypeChecking, Custom] attribute double value; |
| 239 }; | 267 }; |
| 240 } | 268 } |
| OLD | NEW |