| OLD | NEW |
| 1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
| 2 | 2 |
| 3 [Supplemental, | 3 [Supplemental, |
| 4 Constructor] | 4 Constructor] |
| 5 interface AudioContext { | 5 interface AudioContext { |
| 6 // TODO(ager): Auto-generate this custom method when the info about retaining | 6 // TODO(ager): Auto-generate this custom method when the info about retaining |
| 7 // typed arrays is in the IDL. | 7 // typed arrays is in the IDL. |
| 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe
ssCallback, AudioBufferCallback errorCallback); | 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe
ssCallback, AudioBufferCallback errorCallback); |
| 9 }; | 9 }; |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 [Suppressed] DOMObject getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); | 33 [Suppressed] DOMObject getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); |
| 34 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); | 34 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 [Supplemental] | 37 [Supplemental] |
| 38 interface ScriptProcessorNode { | 38 interface ScriptProcessorNode { |
| 39 [Suppressed] attribute EventListener onaudioprocess; | 39 [Suppressed] attribute EventListener onaudioprocess; |
| 40 [Custom] void _setEventListener(EventListener eventListener); | 40 [Custom] void _setEventListener(EventListener eventListener); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 /* |
| 44 // TODO(vsm): How should this interact with the new ChildNode and |
| 45 // ParentNode interfaces? |
| 43 // Force ElementTraversal. WebKit defines these directly. | 46 // Force ElementTraversal. WebKit defines these directly. |
| 44 interface ElementTraversal { | 47 interface ElementTraversal : ChildNode, ParentNode { |
| 45 readonly attribute unsigned long childElementCount; | 48 readonly attribute unsigned long childElementCount; |
| 46 readonly attribute Element firstElementChild; | 49 readonly attribute Element firstElementChild; |
| 47 readonly attribute Element lastElementChild; | 50 readonly attribute Element lastElementChild; |
| 48 readonly attribute Element nextElementSibling; | 51 readonly attribute Element nextElementSibling; |
| 49 readonly attribute Element previousElementSibling; | 52 readonly attribute Element previousElementSibling; |
| 50 }; | 53 }; |
| 51 Element implements ElementTraversal; | 54 Element implements ElementTraversal; |
| 55 */ |
| 52 | 56 |
| 53 [Callback] | 57 [Callback] |
| 54 interface TimeoutHandler { | 58 interface TimeoutHandler { |
| 55 void handleEvent(); | 59 void handleEvent(); |
| 56 }; | 60 }; |
| 57 | 61 |
| 58 [Supplemental] | 62 [Supplemental] |
| 59 interface CanvasRenderingContext2D { | 63 interface CanvasRenderingContext2D { |
| 60 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); | 64 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); |
| 61 }; | 65 }; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 [Supplemental, | 218 [Supplemental, |
| 215 CustomConstructor, | 219 CustomConstructor, |
| 216 Constructor(Array blobParts, optional DOMString type, optional DOMString endin
gs) | 220 Constructor(Array blobParts, optional DOMString type, optional DOMString endin
gs) |
| 217 ] | 221 ] |
| 218 interface Blob { | 222 interface Blob { |
| 219 }; | 223 }; |
| 220 | 224 |
| 221 [Supplemental, | 225 [Supplemental, |
| 222 Constructor(float x, float y) | 226 Constructor(float x, float y) |
| 223 ] | 227 ] |
| 224 interface DOMPoint { | 228 interface WebKitPoint { |
| 225 }; | 229 }; |
| 226 | 230 |
| 227 [Supplemental, Callback] // Add missing Callback attribute. | 231 [Supplemental, Callback] // Add missing Callback attribute. |
| 228 interface VoidCallback { | 232 interface VoidCallback { |
| 229 }; | 233 }; |
| 230 | 234 |
| 231 interface SVGNumber { | 235 interface SVGNumber { |
| 232 [StrictTypeChecking, Custom] attribute float value; | 236 [StrictTypeChecking, Custom] attribute float value; |
| 233 }; | 237 }; |
| 234 | 238 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 321 |
| 318 // URI decomposition attributes | 322 // URI decomposition attributes |
| 319 [CustomSetter] attribute DOMString protocol; | 323 [CustomSetter] attribute DOMString protocol; |
| 320 [CustomSetter] attribute DOMString host; | 324 [CustomSetter] attribute DOMString host; |
| 321 [CustomSetter] attribute DOMString hostname; | 325 [CustomSetter] attribute DOMString hostname; |
| 322 [CustomSetter] attribute DOMString port; | 326 [CustomSetter] attribute DOMString port; |
| 323 [CustomSetter] attribute DOMString pathname; | 327 [CustomSetter] attribute DOMString pathname; |
| 324 [CustomSetter] attribute DOMString search; | 328 [CustomSetter] attribute DOMString search; |
| 325 [CustomSetter] attribute DOMString hash; | 329 [CustomSetter] attribute DOMString hash; |
| 326 }; | 330 }; |
| 331 |
| 332 |
| 333 [Supplemental] |
| 334 interface Window : EventTarget {}; |
| OLD | NEW |