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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 // is Uint8Array or sequence<unsigned long>. For now suppress | 416 // is Uint8Array or sequence<unsigned long>. For now suppress |
417 // the new operation. Vijay suggestion, and I think this makes | 417 // the new operation. Vijay suggestion, and I think this makes |
418 // sense, change dart:html to have a send operation that takes | 418 // sense, change dart:html to have a send operation that takes |
419 // a List<int> and have custom handler to call the correct | 419 // a List<int> and have custom handler to call the correct |
420 // method. The dart:blink library needs to do something else | 420 // method. The dart:blink library needs to do something else |
421 // postfix the name with send_sequence (?). | 421 // postfix the name with send_sequence (?). |
422 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); | 422 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); |
423 }; | 423 }; |
424 | 424 |
425 Element implements GlobalEventHandlers; | 425 Element implements GlobalEventHandlers; |
| 426 |
| 427 |
| 428 // This only exists in Safari, and is deprecated there. But include it anyway |
| 429 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. |
| 430 interface CSSCharsetRule : CSSRule { |
| 431 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; |
| 432 }; |
OLD | NEW |