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

Side by Side Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 14425003: Make List.remove return boolean. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.svg; 1 library dart.dom.svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated dart:svg library. 10 // Auto-generated dart:svg library.
(...skipping 3407 matching lines...) Expand 10 before | Expand all | Expand 10 after
3418 } 3418 }
3419 3419
3420 Length removeAt(int pos) { 3420 Length removeAt(int pos) {
3421 throw new UnsupportedError("Cannot remove from immutable List."); 3421 throw new UnsupportedError("Cannot remove from immutable List.");
3422 } 3422 }
3423 3423
3424 Length removeLast() { 3424 Length removeLast() {
3425 throw new UnsupportedError("Cannot remove from immutable List."); 3425 throw new UnsupportedError("Cannot remove from immutable List.");
3426 } 3426 }
3427 3427
3428 void remove(Object object) { 3428 bool remove(Object object) {
3429 throw new UnsupportedError("Cannot remove from immutable List."); 3429 throw new UnsupportedError("Cannot remove from immutable List.");
3430 } 3430 }
3431 3431
3432 void removeWhere(bool test(Length element)) { 3432 void removeWhere(bool test(Length element)) {
3433 throw new UnsupportedError("Cannot remove from immutable List."); 3433 throw new UnsupportedError("Cannot remove from immutable List.");
3434 } 3434 }
3435 3435
3436 void retainWhere(bool test(Length element)) { 3436 void retainWhere(bool test(Length element)) {
3437 throw new UnsupportedError("Cannot remove from immutable List."); 3437 throw new UnsupportedError("Cannot remove from immutable List.");
3438 } 3438 }
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
4139 } 4139 }
4140 4140
4141 Number removeAt(int pos) { 4141 Number removeAt(int pos) {
4142 throw new UnsupportedError("Cannot remove from immutable List."); 4142 throw new UnsupportedError("Cannot remove from immutable List.");
4143 } 4143 }
4144 4144
4145 Number removeLast() { 4145 Number removeLast() {
4146 throw new UnsupportedError("Cannot remove from immutable List."); 4146 throw new UnsupportedError("Cannot remove from immutable List.");
4147 } 4147 }
4148 4148
4149 void remove(Object object) { 4149 bool remove(Object object) {
4150 throw new UnsupportedError("Cannot remove from immutable List."); 4150 throw new UnsupportedError("Cannot remove from immutable List.");
4151 } 4151 }
4152 4152
4153 void removeWhere(bool test(Number element)) { 4153 void removeWhere(bool test(Number element)) {
4154 throw new UnsupportedError("Cannot remove from immutable List."); 4154 throw new UnsupportedError("Cannot remove from immutable List.");
4155 } 4155 }
4156 4156
4157 void retainWhere(bool test(Number element)) { 4157 void retainWhere(bool test(Number element)) {
4158 throw new UnsupportedError("Cannot remove from immutable List."); 4158 throw new UnsupportedError("Cannot remove from immutable List.");
4159 } 4159 }
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
5287 } 5287 }
5288 5288
5289 PathSeg removeAt(int pos) { 5289 PathSeg removeAt(int pos) {
5290 throw new UnsupportedError("Cannot remove from immutable List."); 5290 throw new UnsupportedError("Cannot remove from immutable List.");
5291 } 5291 }
5292 5292
5293 PathSeg removeLast() { 5293 PathSeg removeLast() {
5294 throw new UnsupportedError("Cannot remove from immutable List."); 5294 throw new UnsupportedError("Cannot remove from immutable List.");
5295 } 5295 }
5296 5296
5297 void remove(Object object) { 5297 bool remove(Object object) {
5298 throw new UnsupportedError("Cannot remove from immutable List."); 5298 throw new UnsupportedError("Cannot remove from immutable List.");
5299 } 5299 }
5300 5300
5301 void removeWhere(bool test(PathSeg element)) { 5301 void removeWhere(bool test(PathSeg element)) {
5302 throw new UnsupportedError("Cannot remove from immutable List."); 5302 throw new UnsupportedError("Cannot remove from immutable List.");
5303 } 5303 }
5304 5304
5305 void retainWhere(bool test(PathSeg element)) { 5305 void retainWhere(bool test(PathSeg element)) {
5306 throw new UnsupportedError("Cannot remove from immutable List."); 5306 throw new UnsupportedError("Cannot remove from immutable List.");
5307 } 5307 }
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
6289 } 6289 }
6290 6290
6291 String removeAt(int pos) { 6291 String removeAt(int pos) {
6292 throw new UnsupportedError("Cannot remove from immutable List."); 6292 throw new UnsupportedError("Cannot remove from immutable List.");
6293 } 6293 }
6294 6294
6295 String removeLast() { 6295 String removeLast() {
6296 throw new UnsupportedError("Cannot remove from immutable List."); 6296 throw new UnsupportedError("Cannot remove from immutable List.");
6297 } 6297 }
6298 6298
6299 void remove(Object object) { 6299 bool remove(Object object) {
6300 throw new UnsupportedError("Cannot remove from immutable List."); 6300 throw new UnsupportedError("Cannot remove from immutable List.");
6301 } 6301 }
6302 6302
6303 void removeWhere(bool test(String element)) { 6303 void removeWhere(bool test(String element)) {
6304 throw new UnsupportedError("Cannot remove from immutable List."); 6304 throw new UnsupportedError("Cannot remove from immutable List.");
6305 } 6305 }
6306 6306
6307 void retainWhere(bool test(String element)) { 6307 void retainWhere(bool test(String element)) {
6308 throw new UnsupportedError("Cannot remove from immutable List."); 6308 throw new UnsupportedError("Cannot remove from immutable List.");
6309 } 6309 }
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
7556 } 7556 }
7557 7557
7558 Transform removeAt(int pos) { 7558 Transform removeAt(int pos) {
7559 throw new UnsupportedError("Cannot remove from immutable List."); 7559 throw new UnsupportedError("Cannot remove from immutable List.");
7560 } 7560 }
7561 7561
7562 Transform removeLast() { 7562 Transform removeLast() {
7563 throw new UnsupportedError("Cannot remove from immutable List."); 7563 throw new UnsupportedError("Cannot remove from immutable List.");
7564 } 7564 }
7565 7565
7566 void remove(Object object) { 7566 bool remove(Object object) {
7567 throw new UnsupportedError("Cannot remove from immutable List."); 7567 throw new UnsupportedError("Cannot remove from immutable List.");
7568 } 7568 }
7569 7569
7570 void removeWhere(bool test(Transform element)) { 7570 void removeWhere(bool test(Transform element)) {
7571 throw new UnsupportedError("Cannot remove from immutable List."); 7571 throw new UnsupportedError("Cannot remove from immutable List.");
7572 } 7572 }
7573 7573
7574 void retainWhere(bool test(Transform element)) { 7574 void retainWhere(bool test(Transform element)) {
7575 throw new UnsupportedError("Cannot remove from immutable List."); 7575 throw new UnsupportedError("Cannot remove from immutable List.");
7576 } 7576 }
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
8149 } 8149 }
8150 8150
8151 ElementInstance removeAt(int pos) { 8151 ElementInstance removeAt(int pos) {
8152 throw new UnsupportedError("Cannot remove from immutable List."); 8152 throw new UnsupportedError("Cannot remove from immutable List.");
8153 } 8153 }
8154 8154
8155 ElementInstance removeLast() { 8155 ElementInstance removeLast() {
8156 throw new UnsupportedError("Cannot remove from immutable List."); 8156 throw new UnsupportedError("Cannot remove from immutable List.");
8157 } 8157 }
8158 8158
8159 void remove(Object object) { 8159 bool remove(Object object) {
8160 throw new UnsupportedError("Cannot remove from immutable List."); 8160 throw new UnsupportedError("Cannot remove from immutable List.");
8161 } 8161 }
8162 8162
8163 void removeWhere(bool test(ElementInstance element)) { 8163 void removeWhere(bool test(ElementInstance element)) {
8164 throw new UnsupportedError("Cannot remove from immutable List."); 8164 throw new UnsupportedError("Cannot remove from immutable List.");
8165 } 8165 }
8166 8166
8167 void retainWhere(bool test(ElementInstance element)) { 8167 void retainWhere(bool test(ElementInstance element)) {
8168 throw new UnsupportedError("Cannot remove from immutable List."); 8168 throw new UnsupportedError("Cannot remove from immutable List.");
8169 } 8169 }
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
8542 @DocsEditable 8542 @DocsEditable
8543 @DomName('SVGVKernElement') 8543 @DomName('SVGVKernElement')
8544 abstract class _SVGVKernElement extends SvgElement { 8544 abstract class _SVGVKernElement extends SvgElement {
8545 _SVGVKernElement.internal() : super.internal(); 8545 _SVGVKernElement.internal() : super.internal();
8546 8546
8547 @DomName('SVGVKernElement.SVGVKernElement') 8547 @DomName('SVGVKernElement.SVGVKernElement')
8548 @DocsEditable 8548 @DocsEditable
8549 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8549 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8550 8550
8551 } 8551 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698