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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 186 }; | 186 }; |
| 187 [Supplemental] | 187 [Supplemental] |
| 188 interface Uint8Array { | 188 interface Uint8Array { |
| 189 [Suppressed] void set(); | 189 [Suppressed] void set(); |
| 190 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | 190 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 [Supplemental] | 193 [Supplemental] |
| 194 interface Uint8ClampedArray { | 194 interface Uint8ClampedArray { |
| 195 // Avoid 'overriding static member BYTES_PER_ELEMENT'. | 195 // Avoid 'overriding static member BYTES_PER_ELEMENT'. |
| 196 [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1; | 196 [Suppressed] const long BYTES_PER_ELEMENT = 1; |
|
Anton Muhin
2012/04/17 10:59:04
does this bring us closer to upstream?
podivilov
2012/04/18 10:37:01
Not really, but now the type of this suppressed co
| |
| 197 | 197 |
| 198 [Suppressed] void set(); | 198 [Suppressed] void set(); |
| 199 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); | 199 [DartName=setElements, Custom] void set(in any array, in optional unsigned l ong offset); |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 [NumericIndexedGetter, CustomIndexedSetter] | 202 [NumericIndexedGetter, CustomIndexedSetter] |
| 203 interface CanvasPixelArray { | 203 interface CanvasPixelArray { |
| 204 readonly attribute long length; | 204 readonly attribute long length; |
| 205 }; | 205 }; |
| 206 }; | 206 }; |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 225 [Supplemental, Callback] // Add missing Callback attribute. | 225 [Supplemental, Callback] // Add missing Callback attribute. |
| 226 interface VoidCallback { | 226 interface VoidCallback { |
| 227 }; | 227 }; |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 module svg { | 230 module svg { |
| 231 interface SVGNumber { | 231 interface SVGNumber { |
| 232 [StrictTypeChecking, Custom] attribute double value; | 232 [StrictTypeChecking, Custom] attribute double value; |
| 233 }; | 233 }; |
| 234 } | 234 } |
| OLD | NEW |