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

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

Issue 1753813005: Fixed createImageData and added RequestAnimationFrameCallback for compat (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: cherry-pick integration fix to master Created 4 years, 9 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 interface CharacterData { 53 interface CharacterData {
54 readonly attribute Element nextElementSibling; 54 readonly attribute Element nextElementSibling;
55 readonly attribute Element previousElementSibling; 55 readonly attribute Element previousElementSibling;
56 }; 56 };
57 57
58 [Callback] 58 [Callback]
59 interface TimeoutHandler { 59 interface TimeoutHandler {
60 void handleEvent(); 60 void handleEvent();
61 }; 61 };
62 62
63 [Callback]
64 interface RequestAnimationFrameCallback{
65 void handleEvent(double highResTime);
66 };
67
63 // FIXME(leafp): This is a temporary hack to get things running while 68 // FIXME(leafp): This is a temporary hack to get things running while
64 // we are still generating _blink from the dart side idl files. 69 // we are still generating _blink from the dart side idl files.
65 // Once we are up and running generating dart:_blink in dartium 70 // Once we are up and running generating dart:_blink in dartium
66 // this should go away. 71 // this should go away.
67 [DartSupplemental] 72 [DartSupplemental]
68 interface URL { 73 interface URL {
69 [DartSuppress] static DOMString createObjectURL(WebKitMediaSource source); 74 [DartSuppress] static DOMString createObjectURL(WebKitMediaSource source);
70 }; 75 };
71 76
72 [DartSupplemental] 77 [DartSupplemental]
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // is Uint8Array or sequence<unsigned long>. For now suppress 416 // is Uint8Array or sequence<unsigned long>. For now suppress
412 // the new operation. Vijay suggestion, and I think this makes 417 // the new operation. Vijay suggestion, and I think this makes
413 // sense, change dart:html to have a send operation that takes 418 // sense, change dart:html to have a send operation that takes
414 // a List<int> and have custom handler to call the correct 419 // a List<int> and have custom handler to call the correct
415 // method. The dart:blink library needs to do something else 420 // method. The dart:blink library needs to do something else
416 // postfix the name with send_sequence (?). 421 // postfix the name with send_sequence (?).
417 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp); 422 [DartSuppress] void send(sequence<unsigned long> data, optional double times tamp);
418 }; 423 };
419 424
420 Element implements GlobalEventHandlers; 425 Element implements GlobalEventHandlers;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698