Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: tools/dom/idl/dart/dart.idl

Issue 661603003: Revert "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answ… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dom/dom.json ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
356 [DartSupplemental] 359 [DartSupplemental]
357 interface CanvasRenderingContext2D { 360 interface CanvasRenderingContext2D {
358 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo at dy); 361 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo at dy);
359 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo at dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); 362 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, flo at dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
360 [DartSuppress] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh); 363 [DartSuppress] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
361 }; 364 };
362 365
363 [DartSupplemental] 366 [DartSupplemental]
364 interface AudioParam { 367 interface AudioParam {
365 [DartSuppress] void setTargetValueAtTime(float target, double time, double t imeConstant); 368 [DartSuppress] void setTargetValueAtTime(float target, double time, double t imeConstant);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 // is Uint8Array or sequence<unsigned long>. For now suppress 469 // is Uint8Array or sequence<unsigned long>. For now suppress
467 // the new operation. Vijay suggestion, and I think this makes 470 // the new operation. Vijay suggestion, and I think this makes
468 // sense, change dart:html to have a send operation that takes 471 // sense, change dart:html to have a send operation that takes
469 // a List<int> and have custom handler to call the correct 472 // a List<int> and have custom handler to call the correct
470 // method. The dart:blink library needs to do something else 473 // method. The dart:blink library needs to do something else
471 // postfix the name with send_sequence (?). 474 // postfix the name with send_sequence (?).
472 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp); 475 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp);
473 }; 476 };
474 477
475 Element implements GlobalEventHandlers; 478 Element implements GlobalEventHandlers;
OLDNEW
« no previous file with comments | « tools/dom/dom.json ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698