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

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

Issue 2905223002: Cherry-picks of multiple html CLs
Patch Set: Created 3 years, 7 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
« no previous file with comments | « tests/lib_strong/lib_strong.status ('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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 [DartName=inch] readonly attribute double? in; 456 [DartName=inch] readonly attribute double? in;
457 }; 457 };
458 458
459 [DartSupplemental] 459 [DartSupplemental]
460 interface RTCPeerConnection { 460 interface RTCPeerConnection {
461 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit d escription); 461 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit d escription);
462 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit description); 462 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit description);
463 }; 463 };
464 464
465 [DartSuppress] 465 [DartSuppress]
466 interface DragEvent {};
467
468 [DartSuppress]
466 interface InputEvent {}; 469 interface InputEvent {};
467 470
471 [DartSuppress]
472 interface Scale {};
473
468 Element implements GlobalEventHandlers; 474 Element implements GlobalEventHandlers;
469 475
470 476
471 // This only exists in Safari, and is deprecated there. But include it anyway 477 // This only exists in Safari, and is deprecated there. But include it anyway
472 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. 478 // because otherwise iterating CSSRules in Safari can yield unknown JS objects.
473 interface CSSCharsetRule : CSSRule { 479 interface CSSCharsetRule : CSSRule {
474 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; 480 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding;
475 }; 481 };
482
483
484 [DartSupplemental]
485 interface EventTarget {
486 [DartSuppress] void addEventListener(DOMString type, EventListener? listener , optional (EventListenerOptions or boolean) options);
487 [DartSuppress] void removeEventListener(DOMString type, EventListener? liste ner, optional (EventListenerOptions or boolean) options);
488 [Custom] void addEventListener(DOMString type, EventListener? listener, opti onal boolean options);
489 [Custom] void removeEventListener(DOMString type, EventListener? listener, o ptional boolean options);
490 };
OLDNEW
« no previous file with comments | « tests/lib_strong/lib_strong.status ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698