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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 12286004: Unbreak pub: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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:
Download patch
« no previous file with comments | « sdk/lib/core/list.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 3420affd1729955dc47c8fde07e18577435960df..42a98f1cd538ec7335870f6c8d73fd966c777bbb 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -7197,6 +7197,9 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
Iterable map(f(DomMimeType element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(DomMimeType element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<DomMimeType> where(bool f(DomMimeType element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7263,7 +7266,7 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<DomMimeType> get reversed {
+ List<DomMimeType> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -7451,6 +7454,9 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
Iterable map(f(DomPlugin element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(DomPlugin element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<DomPlugin> where(bool f(DomPlugin element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7517,7 +7523,7 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<DomPlugin> get reversed {
+ List<DomPlugin> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -7812,6 +7818,9 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
Iterable map(f(String element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(String element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<String> where(bool f(String element)) =>
IterableMixinWorkaround.where(this, f);
@@ -7878,7 +7887,7 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<String> get reversed {
+ List<String> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -8072,6 +8081,10 @@ class _ChildrenElementList implements List {
return IterableMixinWorkaround.mapList(this, f);
}
+ List mappedBy(f(Element element)) {
+ return IterableMixinWorkaround.mappedByList(this, f);
+ }
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -8152,7 +8165,7 @@ class _ChildrenElementList implements List {
}
}
- Iterable<Element> get reversed {
+ List<Element> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -8293,6 +8306,10 @@ class _FrozenElementList implements List {
return IterableMixinWorkaround.mapList(this, f);
}
+ List mappedBy(f(Element element)) {
+ return IterableMixinWorkaround.mappedByList(this, f);
+ }
+
Iterable<Element> where(bool f(Element element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -8382,7 +8399,7 @@ class _FrozenElementList implements List {
throw new UnsupportedError('');
}
- Iterable<Element> get reversed {
+ List<Element> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -10643,6 +10660,9 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
Iterable map(f(File element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(File element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<File> where(bool f(File element)) =>
IterableMixinWorkaround.where(this, f);
@@ -10709,7 +10729,7 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<File> get reversed {
+ List<File> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -11200,6 +11220,9 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
Iterable map(f(num element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(num element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<num> where(bool f(num element)) =>
IterableMixinWorkaround.where(this, f);
@@ -11266,7 +11289,7 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<num> get reversed {
+ List<num> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -11416,6 +11439,9 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
Iterable map(f(num element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(num element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<num> where(bool f(num element)) =>
IterableMixinWorkaround.where(this, f);
@@ -11482,7 +11508,7 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<num> get reversed {
+ List<num> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -11941,6 +11967,9 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
Iterable map(f(Node element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -12007,7 +12036,7 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Node> get reversed {
+ List<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -12148,6 +12177,9 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
Iterable map(f(Node element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -12214,7 +12246,7 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Node> get reversed {
+ List<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -14167,6 +14199,9 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -14233,7 +14268,7 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -14383,6 +14418,9 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -14449,7 +14487,7 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -14599,6 +14637,9 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -14665,7 +14706,7 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -17102,6 +17143,10 @@ class _ChildNodeListLazy implements List {
return IterableMixinWorkaround.mapList(this, f);
}
+ List mappedBy(f(Node element)) {
+ return IterableMixinWorkaround.mappedByList(this, f);
+ }
+
Iterable<Node> where(bool f(Node element)) {
return IterableMixinWorkaround.where(this, f);
}
@@ -17153,7 +17198,7 @@ class _ChildNodeListLazy implements List {
return this[index];
}
- Iterable<Node> get reversed {
+ List<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -17493,6 +17538,9 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
Iterable map(f(Node element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -17559,7 +17607,7 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Node> get reversed {
+ List<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -19808,6 +19856,9 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
Iterable map(f(SourceBuffer element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(SourceBuffer element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<SourceBuffer> where(bool f(SourceBuffer element)) =>
IterableMixinWorkaround.where(this, f);
@@ -19874,7 +19925,7 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SourceBuffer> get reversed {
+ List<SourceBuffer> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -20088,6 +20139,9 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
Iterable map(f(SpeechGrammar element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(SpeechGrammar element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<SpeechGrammar> where(bool f(SpeechGrammar element)) =>
IterableMixinWorkaround.where(this, f);
@@ -20154,7 +20208,7 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SpeechGrammar> get reversed {
+ List<SpeechGrammar> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -20656,6 +20710,9 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
Iterable map(f(Map element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Map element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Map> where(bool f(Map element)) =>
IterableMixinWorkaround.where(this, f);
@@ -20722,7 +20779,7 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Map> get reversed {
+ List<Map> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -21739,6 +21796,9 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
Iterable map(f(TextTrackCue element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(TextTrackCue element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<TextTrackCue> where(bool f(TextTrackCue element)) =>
IterableMixinWorkaround.where(this, f);
@@ -21805,7 +21865,7 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<TextTrackCue> get reversed {
+ List<TextTrackCue> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -21944,6 +22004,9 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
Iterable map(f(TextTrack element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(TextTrack element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<TextTrack> where(bool f(TextTrack element)) =>
IterableMixinWorkaround.where(this, f);
@@ -22010,7 +22073,7 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<TextTrack> get reversed {
+ List<TextTrack> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -22356,6 +22419,9 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
Iterable map(f(Touch element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Touch element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Touch> where(bool f(Touch element)) =>
IterableMixinWorkaround.where(this, f);
@@ -22422,7 +22488,7 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Touch> get reversed {
+ List<Touch> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -22802,6 +22868,9 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -22868,7 +22937,7 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -23018,6 +23087,9 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -23084,7 +23156,7 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -23234,6 +23306,9 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -23300,7 +23375,7 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -23447,6 +23522,9 @@ class Uint8ClampedArray extends Uint8Array implements JavaScriptIndexingBehavior
Iterable map(f(int element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(int element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<int> where(bool f(int element)) =>
IterableMixinWorkaround.where(this, f);
@@ -23513,7 +23591,7 @@ class Uint8ClampedArray extends Uint8Array implements JavaScriptIndexingBehavior
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<int> get reversed {
+ List<int> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -27163,6 +27241,9 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
Iterable map(f(ClientRect element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(ClientRect element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<ClientRect> where(bool f(ClientRect element)) =>
IterableMixinWorkaround.where(this, f);
@@ -27229,7 +27310,7 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<ClientRect> get reversed {
+ List<ClientRect> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -27360,6 +27441,9 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
Iterable map(f(CssRule element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(CssRule element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<CssRule> where(bool f(CssRule element)) =>
IterableMixinWorkaround.where(this, f);
@@ -27426,7 +27510,7 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<CssRule> get reversed {
+ List<CssRule> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -27557,6 +27641,9 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
Iterable map(f(CssValue element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(CssValue element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<CssValue> where(bool f(CssValue element)) =>
IterableMixinWorkaround.where(this, f);
@@ -27623,7 +27710,7 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<CssValue> get reversed {
+ List<CssValue> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -27754,6 +27841,9 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
Iterable map(f(Entry element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Entry element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Entry> where(bool f(Entry element)) =>
IterableMixinWorkaround.where(this, f);
@@ -27820,7 +27910,7 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Entry> get reversed {
+ List<Entry> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -27951,6 +28041,9 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
Iterable map(f(EntrySync element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(EntrySync element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<EntrySync> where(bool f(EntrySync element)) =>
IterableMixinWorkaround.where(this, f);
@@ -28017,7 +28110,7 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<EntrySync> get reversed {
+ List<EntrySync> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -28148,6 +28241,9 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
Iterable map(f(Gamepad element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Gamepad element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Gamepad> where(bool f(Gamepad element)) =>
IterableMixinWorkaround.where(this, f);
@@ -28214,7 +28310,7 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Gamepad> get reversed {
+ List<Gamepad> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -28408,6 +28504,9 @@ class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
Iterable map(f(MediaStream element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(MediaStream element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<MediaStream> where(bool f(MediaStream element)) =>
IterableMixinWorkaround.where(this, f);
@@ -28474,7 +28573,7 @@ class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<MediaStream> get reversed {
+ List<MediaStream> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -28605,6 +28704,9 @@ class _NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*N
Iterable map(f(Node element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(Node element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
@@ -28671,7 +28773,7 @@ class _NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*N
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Node> get reversed {
+ List<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -28826,6 +28928,9 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
Iterable map(f(SpeechInputResult element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(SpeechInputResult element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<SpeechInputResult> where(bool f(SpeechInputResult element)) =>
IterableMixinWorkaround.where(this, f);
@@ -28892,7 +28997,7 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SpeechInputResult> get reversed {
+ List<SpeechInputResult> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -29023,6 +29128,9 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
Iterable map(f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(SpeechRecognitionResult element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<SpeechRecognitionResult> where(bool f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.where(this, f);
@@ -29089,7 +29197,7 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SpeechRecognitionResult> get reversed {
+ List<SpeechRecognitionResult> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -29220,6 +29328,9 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
Iterable map(f(StyleSheet element)) =>
IterableMixinWorkaround.mapList(this, f);
+ List mappedBy(f(StyleSheet element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
+
Iterable<StyleSheet> where(bool f(StyleSheet element)) =>
IterableMixinWorkaround.where(this, f);
@@ -29286,7 +29397,7 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<StyleSheet> get reversed {
+ List<StyleSheet> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
@@ -29792,6 +29903,8 @@ abstract class CssClassSet implements Set<String> {
Iterable map(f(String element)) => readClasses().map(f);
+ Iterable mappedBy(f(String element)) => readClasses().mappedBy(f);
+
Iterable<String> where(bool f(String element)) => readClasses().where(f);
Iterable expand(Iterable f(String element)) => readClasses.expand(f);
« no previous file with comments | « sdk/lib/core/list.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698