| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 [DartSuppress] void scrollTo(long x, long y); | 347 [DartSuppress] void scrollTo(long x, long y); |
| 348 [DartSuppress] void scrollTo(long x, long y, Dictionary scrollOptions); | 348 [DartSuppress] void scrollTo(long x, long y, Dictionary scrollOptions); |
| 349 [RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOpti
ons); | 349 [RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOpti
ons); |
| 350 | 350 |
| 351 [DartSuppress] void scroll(long x, long y); | 351 [DartSuppress] void scroll(long x, long y); |
| 352 [DartSuppress] void scroll(long x, long y, Dictionary scrollOptions); | 352 [DartSuppress] void scroll(long x, long y, Dictionary scrollOptions); |
| 353 [RaisesException] void scroll(long x, long y, optional Dictionary scrollOption
s); | 353 [RaisesException] void scroll(long x, long y, optional Dictionary scrollOption
s); |
| 354 }; | 354 }; |
| 355 | 355 |
| 356 [DartSuppress] | |
| 357 interface Promise {}; | |
| 358 | |
| 359 [DartSupplemental] | 356 [DartSupplemental] |
| 360 interface CanvasRenderingContext2D { | 357 interface CanvasRenderingContext2D { |
| 361 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo
at dy); | 358 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo
at dy); |
| 362 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo
at dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); | 359 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo
at dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); |
| 363 [DartSuppress] ImageData webkitGetImageDataHD(float sx, float sy, float sw,
float sh); | 360 [DartSuppress] ImageData webkitGetImageDataHD(float sx, float sy, float sw,
float sh); |
| 364 }; | 361 }; |
| 365 | 362 |
| 366 [DartSupplemental] | 363 [DartSupplemental] |
| 367 interface AudioParam { | 364 interface AudioParam { |
| 368 [DartSuppress] void setTargetValueAtTime(float target, double time, double t
imeConstant); | 365 [DartSuppress] void setTargetValueAtTime(float target, double time, double t
imeConstant); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 // is Uint8Array or sequence<unsigned long>. For now suppress | 466 // is Uint8Array or sequence<unsigned long>. For now suppress |
| 470 // the new operation. Vijay suggestion, and I think this makes | 467 // the new operation. Vijay suggestion, and I think this makes |
| 471 // sense, change dart:html to have a send operation that takes | 468 // sense, change dart:html to have a send operation that takes |
| 472 // a List<int> and have custom handler to call the correct | 469 // a List<int> and have custom handler to call the correct |
| 473 // method. The dart:blink library needs to do something else | 470 // method. The dart:blink library needs to do something else |
| 474 // postfix the name with send_sequence (?). | 471 // postfix the name with send_sequence (?). |
| 475 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); | 472 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); |
| 476 }; | 473 }; |
| 477 | 474 |
| 478 Element implements GlobalEventHandlers; | 475 Element implements GlobalEventHandlers; |
| OLD | NEW |