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

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

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (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/typeddata/typeddata.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:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:nativewrappers'; 7 import 'dart:nativewrappers';
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated dart:svg library. 9 // Auto-generated dart:svg library.
10 10
(...skipping 3402 matching lines...) Expand 10 before | Expand all | Expand 10 after
3413 } 3413 }
3414 3414
3415 Length removeLast() { 3415 Length removeLast() {
3416 throw new UnsupportedError("Cannot remove from immutable List."); 3416 throw new UnsupportedError("Cannot remove from immutable List.");
3417 } 3417 }
3418 3418
3419 void remove(Object object) { 3419 void remove(Object object) {
3420 throw new UnsupportedError("Cannot remove from immutable List."); 3420 throw new UnsupportedError("Cannot remove from immutable List.");
3421 } 3421 }
3422 3422
3423 void removeAll(Iterable elements) {
3424 throw new UnsupportedError("Cannot remove from immutable List.");
3425 }
3426
3427 void retainAll(Iterable elements) {
3428 throw new UnsupportedError("Cannot remove from immutable List.");
3429 }
3430
3431 void removeWhere(bool test(Length element)) { 3423 void removeWhere(bool test(Length element)) {
3432 throw new UnsupportedError("Cannot remove from immutable List."); 3424 throw new UnsupportedError("Cannot remove from immutable List.");
3433 } 3425 }
3434 3426
3435 void retainWhere(bool test(Length element)) { 3427 void retainWhere(bool test(Length element)) {
3436 throw new UnsupportedError("Cannot remove from immutable List."); 3428 throw new UnsupportedError("Cannot remove from immutable List.");
3437 } 3429 }
3438 3430
3439 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) { 3431 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) {
3440 throw new UnsupportedError("Cannot setRange on immutable List."); 3432 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
4130 } 4122 }
4131 4123
4132 Number removeLast() { 4124 Number removeLast() {
4133 throw new UnsupportedError("Cannot remove from immutable List."); 4125 throw new UnsupportedError("Cannot remove from immutable List.");
4134 } 4126 }
4135 4127
4136 void remove(Object object) { 4128 void remove(Object object) {
4137 throw new UnsupportedError("Cannot remove from immutable List."); 4129 throw new UnsupportedError("Cannot remove from immutable List.");
4138 } 4130 }
4139 4131
4140 void removeAll(Iterable elements) {
4141 throw new UnsupportedError("Cannot remove from immutable List.");
4142 }
4143
4144 void retainAll(Iterable elements) {
4145 throw new UnsupportedError("Cannot remove from immutable List.");
4146 }
4147
4148 void removeWhere(bool test(Number element)) { 4132 void removeWhere(bool test(Number element)) {
4149 throw new UnsupportedError("Cannot remove from immutable List."); 4133 throw new UnsupportedError("Cannot remove from immutable List.");
4150 } 4134 }
4151 4135
4152 void retainWhere(bool test(Number element)) { 4136 void retainWhere(bool test(Number element)) {
4153 throw new UnsupportedError("Cannot remove from immutable List."); 4137 throw new UnsupportedError("Cannot remove from immutable List.");
4154 } 4138 }
4155 4139
4156 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) { 4140 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) {
4157 throw new UnsupportedError("Cannot setRange on immutable List."); 4141 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
5274 } 5258 }
5275 5259
5276 PathSeg removeLast() { 5260 PathSeg removeLast() {
5277 throw new UnsupportedError("Cannot remove from immutable List."); 5261 throw new UnsupportedError("Cannot remove from immutable List.");
5278 } 5262 }
5279 5263
5280 void remove(Object object) { 5264 void remove(Object object) {
5281 throw new UnsupportedError("Cannot remove from immutable List."); 5265 throw new UnsupportedError("Cannot remove from immutable List.");
5282 } 5266 }
5283 5267
5284 void removeAll(Iterable elements) {
5285 throw new UnsupportedError("Cannot remove from immutable List.");
5286 }
5287
5288 void retainAll(Iterable elements) {
5289 throw new UnsupportedError("Cannot remove from immutable List.");
5290 }
5291
5292 void removeWhere(bool test(PathSeg element)) { 5268 void removeWhere(bool test(PathSeg element)) {
5293 throw new UnsupportedError("Cannot remove from immutable List."); 5269 throw new UnsupportedError("Cannot remove from immutable List.");
5294 } 5270 }
5295 5271
5296 void retainWhere(bool test(PathSeg element)) { 5272 void retainWhere(bool test(PathSeg element)) {
5297 throw new UnsupportedError("Cannot remove from immutable List."); 5273 throw new UnsupportedError("Cannot remove from immutable List.");
5298 } 5274 }
5299 5275
5300 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) { 5276 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) {
5301 throw new UnsupportedError("Cannot setRange on immutable List."); 5277 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
6272 } 6248 }
6273 6249
6274 String removeLast() { 6250 String removeLast() {
6275 throw new UnsupportedError("Cannot remove from immutable List."); 6251 throw new UnsupportedError("Cannot remove from immutable List.");
6276 } 6252 }
6277 6253
6278 void remove(Object object) { 6254 void remove(Object object) {
6279 throw new UnsupportedError("Cannot remove from immutable List."); 6255 throw new UnsupportedError("Cannot remove from immutable List.");
6280 } 6256 }
6281 6257
6282 void removeAll(Iterable elements) {
6283 throw new UnsupportedError("Cannot remove from immutable List.");
6284 }
6285
6286 void retainAll(Iterable elements) {
6287 throw new UnsupportedError("Cannot remove from immutable List.");
6288 }
6289
6290 void removeWhere(bool test(String element)) { 6258 void removeWhere(bool test(String element)) {
6291 throw new UnsupportedError("Cannot remove from immutable List."); 6259 throw new UnsupportedError("Cannot remove from immutable List.");
6292 } 6260 }
6293 6261
6294 void retainWhere(bool test(String element)) { 6262 void retainWhere(bool test(String element)) {
6295 throw new UnsupportedError("Cannot remove from immutable List."); 6263 throw new UnsupportedError("Cannot remove from immutable List.");
6296 } 6264 }
6297 6265
6298 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) { 6266 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
6299 throw new UnsupportedError("Cannot setRange on immutable List."); 6267 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
7535 } 7503 }
7536 7504
7537 Transform removeLast() { 7505 Transform removeLast() {
7538 throw new UnsupportedError("Cannot remove from immutable List."); 7506 throw new UnsupportedError("Cannot remove from immutable List.");
7539 } 7507 }
7540 7508
7541 void remove(Object object) { 7509 void remove(Object object) {
7542 throw new UnsupportedError("Cannot remove from immutable List."); 7510 throw new UnsupportedError("Cannot remove from immutable List.");
7543 } 7511 }
7544 7512
7545 void removeAll(Iterable elements) {
7546 throw new UnsupportedError("Cannot remove from immutable List.");
7547 }
7548
7549 void retainAll(Iterable elements) {
7550 throw new UnsupportedError("Cannot remove from immutable List.");
7551 }
7552
7553 void removeWhere(bool test(Transform element)) { 7513 void removeWhere(bool test(Transform element)) {
7554 throw new UnsupportedError("Cannot remove from immutable List."); 7514 throw new UnsupportedError("Cannot remove from immutable List.");
7555 } 7515 }
7556 7516
7557 void retainWhere(bool test(Transform element)) { 7517 void retainWhere(bool test(Transform element)) {
7558 throw new UnsupportedError("Cannot remove from immutable List."); 7518 throw new UnsupportedError("Cannot remove from immutable List.");
7559 } 7519 }
7560 7520
7561 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) { 7521 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) {
7562 throw new UnsupportedError("Cannot setRange on immutable List."); 7522 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
8124 } 8084 }
8125 8085
8126 ElementInstance removeLast() { 8086 ElementInstance removeLast() {
8127 throw new UnsupportedError("Cannot remove from immutable List."); 8087 throw new UnsupportedError("Cannot remove from immutable List.");
8128 } 8088 }
8129 8089
8130 void remove(Object object) { 8090 void remove(Object object) {
8131 throw new UnsupportedError("Cannot remove from immutable List."); 8091 throw new UnsupportedError("Cannot remove from immutable List.");
8132 } 8092 }
8133 8093
8134 void removeAll(Iterable elements) {
8135 throw new UnsupportedError("Cannot remove from immutable List.");
8136 }
8137
8138 void retainAll(Iterable elements) {
8139 throw new UnsupportedError("Cannot remove from immutable List.");
8140 }
8141
8142 void removeWhere(bool test(ElementInstance element)) { 8094 void removeWhere(bool test(ElementInstance element)) {
8143 throw new UnsupportedError("Cannot remove from immutable List."); 8095 throw new UnsupportedError("Cannot remove from immutable List.");
8144 } 8096 }
8145 8097
8146 void retainWhere(bool test(ElementInstance element)) { 8098 void retainWhere(bool test(ElementInstance element)) {
8147 throw new UnsupportedError("Cannot remove from immutable List."); 8099 throw new UnsupportedError("Cannot remove from immutable List.");
8148 } 8100 }
8149 8101
8150 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) { 8102 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) {
8151 throw new UnsupportedError("Cannot setRange on immutable List."); 8103 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
8517 @DocsEditable 8469 @DocsEditable
8518 @DomName('SVGVKernElement') 8470 @DomName('SVGVKernElement')
8519 abstract class _SVGVKernElement extends SvgElement { 8471 abstract class _SVGVKernElement extends SvgElement {
8520 _SVGVKernElement.internal() : super.internal(); 8472 _SVGVKernElement.internal() : super.internal();
8521 8473
8522 @DomName('SVGVKernElement.SVGVKernElement') 8474 @DomName('SVGVKernElement.SVGVKernElement')
8523 @DocsEditable 8475 @DocsEditable
8524 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8476 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8525 8477
8526 } 8478 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/typeddata/typeddata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698