| OLD | NEW |
| 1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
| 2 | 2 |
| 3 [DartSupplemental, | 3 [DartSupplemental, |
| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 EntrySync getParent(); | 221 EntrySync getParent(); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 [DartSupplemental, | 224 [DartSupplemental, |
| 225 CustomConstructor, | 225 CustomConstructor, |
| 226 Constructor(Array blobParts, optional DOMString type, optional DOMString endin
gs) | 226 Constructor(Array blobParts, optional DOMString type, optional DOMString endin
gs) |
| 227 ] | 227 ] |
| 228 interface Blob { | 228 interface Blob { |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 [DartSupplemental, | |
| 232 Constructor(float x, float y) | |
| 233 ] | |
| 234 interface WebKitPoint { | |
| 235 }; | |
| 236 | |
| 237 [DartSupplemental, Callback] // Add missing Callback attribute. | 231 [DartSupplemental, Callback] // Add missing Callback attribute. |
| 238 interface VoidCallback { | 232 interface VoidCallback { |
| 239 }; | 233 }; |
| 240 | 234 |
| 241 interface SVGNumber { | 235 interface SVGNumber { |
| 242 [DartStrictTypeChecking, Custom] attribute float value; | 236 [DartStrictTypeChecking, Custom] attribute float value; |
| 243 }; | 237 }; |
| 244 | 238 |
| 245 // Keep it in to generate Dart code, C++ implementation is filterd out in genera
tor. | 239 // Keep it in to generate Dart code, C++ implementation is filterd out in genera
tor. |
| 246 [Callback] | 240 [Callback] |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 // is Uint8Array or sequence<unsigned long>. For now suppress | 460 // is Uint8Array or sequence<unsigned long>. For now suppress |
| 467 // the new operation. Vijay suggestion, and I think this makes | 461 // the new operation. Vijay suggestion, and I think this makes |
| 468 // sense, change dart:html to have a send operation that takes | 462 // sense, change dart:html to have a send operation that takes |
| 469 // a List<int> and have custom handler to call the correct | 463 // a List<int> and have custom handler to call the correct |
| 470 // method. The dart:blink library needs to do something else | 464 // method. The dart:blink library needs to do something else |
| 471 // postfix the name with send_sequence (?). | 465 // postfix the name with send_sequence (?). |
| 472 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); | 466 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); |
| 473 }; | 467 }; |
| 474 | 468 |
| 475 Element implements GlobalEventHandlers; | 469 Element implements GlobalEventHandlers; |
| OLD | NEW |