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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 13528004: Remove addLast from List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove typo Created 7 years, 8 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/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/html_common/filtered_element_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 0ed60435bf73e74934f3bab084333442c32b299f..5f621fc69fe992f920b7bf6a2782c94667d8eb2e 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -8057,10 +8057,6 @@ class DomMimeTypeArray extends NativeFieldWrapperClass1 implements List<DomMimeT
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(DomMimeType value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<DomMimeType> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -8339,10 +8335,6 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(DomPlugin value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<DomPlugin> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -8739,10 +8731,6 @@ class DomStringList extends NativeFieldWrapperClass1 implements List<String> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(String value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<String> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -9055,8 +9043,6 @@ class _ChildrenElementList implements List {
return value;
}
- Element addLast(Element value) => add(value);
-
Iterator<Element> get iterator => toList().iterator;
void addAll(Iterable<Element> iterable) {
@@ -9309,10 +9295,6 @@ class _FrozenElementList implements List {
throw new UnsupportedError('');
}
- void addLast(Element value) {
- throw new UnsupportedError('');
- }
-
Iterator<Element> get iterator => new _FrozenElementListIterator(this);
void addAll(Iterable<Element> iterable) {
@@ -11660,10 +11642,6 @@ class FileList extends NativeFieldWrapperClass1 implements List<File> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(File value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<File> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -12285,10 +12263,6 @@ class Float32Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(num value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<num> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -12534,10 +12508,6 @@ class Float64Array extends ArrayBufferView implements List<double> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(num value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<num> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -13232,10 +13202,6 @@ class HtmlAllCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -13455,10 +13421,6 @@ class HtmlCollection extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -15825,10 +15787,6 @@ class Int16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -16074,10 +16032,6 @@ class Int32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -16323,10 +16277,6 @@ class Int8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -19051,11 +19001,6 @@ class _ChildNodeListLazy implements List {
_this.append(value);
}
- void addLast(Node value) {
- _this.append(value);
- }
-
-
void addAll(Iterable<Node> iterable) {
if (iterable is _ChildNodeListLazy) {
if (!identical(iterable._this, _this)) {
@@ -19699,10 +19644,6 @@ class NodeList extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -22306,10 +22247,6 @@ class SourceBufferList extends EventTarget implements List<SourceBuffer> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SourceBuffer value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SourceBuffer> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -22638,10 +22575,6 @@ class SpeechGrammarList extends NativeFieldWrapperClass1 implements List<SpeechG
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechGrammar value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechGrammar> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -24368,10 +24301,6 @@ class TextTrackCueList extends NativeFieldWrapperClass1 implements List<TextTrac
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(TextTrackCue value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<TextTrackCue> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -24591,10 +24520,6 @@ class TextTrackList extends EventTarget implements List<TextTrack> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(TextTrack value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<TextTrack> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -25031,10 +24956,6 @@ class TouchList extends NativeFieldWrapperClass1 implements List<Touch> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Touch value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Touch> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -25554,10 +25475,6 @@ class Uint16Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -25803,10 +25720,6 @@ class Uint32Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -26052,10 +25965,6 @@ class Uint8Array extends ArrayBufferView implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -26299,10 +26208,6 @@ class Uint8ClampedArray extends Uint8Array implements List<int> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(int value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<int> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28617,10 +28522,6 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<Rect> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Rect value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Rect> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -28832,10 +28733,6 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(CssRule value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<CssRule> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -29047,10 +28944,6 @@ class _CssValueList extends CssValue implements List<CssValue> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(CssValue value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<CssValue> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -29405,10 +29298,6 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Entry value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Entry> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -29620,10 +29509,6 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(EntrySync value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<EntrySync> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -29835,10 +29720,6 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Gamepad value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Gamepad> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -30141,10 +30022,6 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -30380,10 +30257,6 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechInputResult value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechInputResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -30595,10 +30468,6 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechRecognitionResult value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<SpeechRecognitionResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -30810,10 +30679,6 @@ class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleShee
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(StyleSheet value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
-
void addAll(Iterable<StyleSheet> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
@@ -33370,8 +33235,6 @@ class _WrappedList<E> implements List<E> {
void set length(int newLength) { _list.length = newLength; }
- void addLast(E value) { _list.add(value); }
-
Iterable<E> get reversed => _list.reversed;
void sort([int compare(E a, E b)]) { _list.sort(compare); }
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/html/html_common/filtered_element_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698