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

Side by Side Diff: lib/html/idl/dart/dart.idl

Issue 10941047: Don't generate FooList if it behaves like List<Foo> exactly. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
OLDNEW
1 1
2 // This file introduces / supplements and forces Dart declarations. 2 // This file introduces / supplements and forces Dart declarations.
3 3
4 module default { 4 module default {
5 // TODO(efortuna): Clean up these comments once we have dealt with the extra 5 // TODO(efortuna): Clean up these comments once we have dealt with the extra
6 // methods on these list-like classes. 6 // methods on these list-like classes.
7 ClientRectList implements sequence<ClientRect>; 7 ClientRectList implements sequence<ClientRect>;
8 CSSRuleList implements sequence<CSSRule>; 8 CSSRuleList implements sequence<CSSRule>;
9 CSSValueList implements sequence<CSSValue>; 9 CSSValueList implements sequence<CSSValue>;
10 DOMMimeTypeArray implements sequence<DOMMimeType>; // has namedItem field. 10 DOMMimeTypeArray implements sequence<DOMMimeType>; // has namedItem field.
11 // Additional methods: namedItem field and refresh 11 // Additional methods: namedItem field and refresh
12 DOMPluginArray implements sequence<DOMPlugin>; 12 DOMPluginArray implements sequence<DOMPlugin>;
13 EntryArray implements sequence<Entry>; 13 EntryArray implements sequence<Entry>;
14 EntryArraySync implements sequence<EntrySync>; 14 EntryArraySync implements sequence<EntrySync>;
15 FileList implements sequence<File>; 15 FileList implements sequence<File>;
16 GamepadList implements sequence<Gamepad>; 16 GamepadList implements sequence<Gamepad>;
17 HTMLAllCollection implements sequence<Node>; // namedItem and tags 17 HTMLAllCollection implements sequence<Node>; // namedItem and tags
18 HTMLCollection implements sequence<Node>; // namedItem 18 HTMLCollection implements sequence<Node>; // namedItem
19 MediaList implements sequence<DOMString>;
20 MediaStreamList implements sequence<MediaStream>; 19 MediaStreamList implements sequence<MediaStream>;
21 NamedNodeMap implements sequence<Node>; 20 NamedNodeMap implements sequence<Node>;
22 NodeList implements sequence<Node>; 21 NodeList implements sequence<Node>;
23 RadioNodeList implements sequence<Node>; 22 RadioNodeList implements sequence<Node>;
24 // Additional methods: animVal and baseVal 23 // Additional methods: animVal and baseVal
25 SVGAnimatedLengthList implements sequence<SVGAnimatedLength>; 24 SVGAnimatedLengthList implements sequence<SVGAnimatedLength>;
26 // Additional methods: animVal and baseVal 25 // Additional methods: animVal and baseVal
27 SVGAnimatedNumberList implements sequence<SVGAnimatedNumber>; 26 SVGAnimatedNumberList implements sequence<SVGAnimatedNumber>;
28 // Additional methods: animVal and baseVal 27 // Additional methods: animVal and baseVal
29 SVGAnimatedTransformList implements sequence<SVGAnimateTransformElement>; 28 SVGAnimatedTransformList implements sequence<SVGAnimateTransformElement>;
(...skipping 28 matching lines...) Expand all
58 // TODO(efortuna): Determine what the correct type of the list items are part 57 // TODO(efortuna): Determine what the correct type of the list items are part
59 //of the commented out Lists so we can properly inherit from List. 58 //of the commented out Lists so we can properly inherit from List.
60 //MediaQueryList implements sequence<Object>; 59 //MediaQueryList implements sequence<Object>;
61 //SQLResultSetRowList implements sequence<Map>; 60 //SQLResultSetRowList implements sequence<Map>;
62 //EventListenerList implements sequence<EventListener>; 61 //EventListenerList implements sequence<EventListener>;
63 // TODO(efortuna): The following are not yet implemented because they are 62 // TODO(efortuna): The following are not yet implemented because they are
64 // mutable or have additional/unusual methods that we need to deal with. 63 // mutable or have additional/unusual methods that we need to deal with.
65 //DataTransferItemList implements sequence<DataTransferItem>; mutable 64 //DataTransferItemList implements sequence<DataTransferItem>; mutable
66 //DOMTokenList implements sequence<DOMString>; mutable 65 //DOMTokenList implements sequence<DOMString>; mutable
67 //DOMSettableTokenList implements sequence<DOMString>; mutable 66 //DOMSettableTokenList implements sequence<DOMString>; mutable
67 //MediaList implements sequence<DOMString>;
68 // Additional methods: has event listener and mutable 68 // Additional methods: has event listener and mutable
69 //MediaStreamTrackList implements sequence<MediaStreamTrack>; 69 //MediaStreamTrackList implements sequence<MediaStreamTrack>;
70 //WebKitAnimationList implements sequence<WebKitAnimation>; 70 //WebKitAnimationList implements sequence<WebKitAnimation>;
71 } 71 }
72 72
73 module core { 73 module core {
74 [Supplemental] 74 [Supplemental]
75 interface Document { 75 interface Document {
76 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); 76 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height);
77 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); 77 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // Suppress the default since it has non-standard return type and add 387 // Suppress the default since it has non-standard return type and add
388 // overrides. 388 // overrides.
389 [Suppressed] boolean send(in DOMString data) raises(DOMException); 389 [Suppressed] boolean send(in DOMString data) raises(DOMException);
390 [Custom] void send(DOMString data) raises(DOMException); 390 [Custom] void send(DOMString data) raises(DOMException);
391 [Custom] void send(Blob data) raises(DOMException); 391 [Custom] void send(Blob data) raises(DOMException);
392 [Custom] void send(ArrayBuffer data) raises(DOMException); 392 [Custom] void send(ArrayBuffer data) raises(DOMException);
393 [Custom] void send(ArrayBufferView data) raises(DOMException); 393 [Custom] void send(ArrayBufferView data) raises(DOMException);
394 }; 394 };
395 } 395 }
396 396
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698