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

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

Issue 12207205: Revert "Remove deprecated mappedBy." (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/iterable.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..406cb2a31010e1bf7bf8826a773d1c83a481078d 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);
@@ -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);
@@ -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);
@@ -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);
}
@@ -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);
}
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
}
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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/iterable.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698