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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. 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 3415 matching lines...) Expand 10 before | Expand all | Expand 10 after
3426 } 3426 }
3427 3427
3428 void retainWhere(bool test(Length element)) { 3428 void retainWhere(bool test(Length element)) {
3429 throw new UnsupportedError("Cannot remove from immutable List."); 3429 throw new UnsupportedError("Cannot remove from immutable List.");
3430 } 3430 }
3431 3431
3432 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount]) { 3432 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount]) {
3433 throw new UnsupportedError("Cannot setRange on immutable List."); 3433 throw new UnsupportedError("Cannot setRange on immutable List.");
3434 } 3434 }
3435 3435
3436 void removeRange(int start, int rangeLength) { 3436 void removeRange(int start, int end) {
3437 throw new UnsupportedError("Cannot removeRange on immutable List."); 3437 throw new UnsupportedError("Cannot removeRange on immutable List.");
3438 } 3438 }
3439 3439
3440 void insertRange(int start, int rangeLength, [Length initialValue]) {
3441 throw new UnsupportedError("Cannot insertRange on immutable List.");
3442 }
3443
3444 Iterable<Length> getRange(int start, int end) => 3440 Iterable<Length> getRange(int start, int end) =>
3445 IterableMixinWorkaround.getRangeList(this, start, end); 3441 IterableMixinWorkaround.getRangeList(this, start, end);
3446 3442
3447 List<Length> sublist(int start, [int end]) { 3443 List<Length> sublist(int start, [int end]) {
3448 if (end == null) end = length; 3444 if (end == null) end = length;
3449 return Lists.getRange(this, start, end, <Length>[]); 3445 return Lists.getRange(this, start, end, <Length>[]);
3450 } 3446 }
3451 3447
3452 Map<int, Length> asMap() => 3448 Map<int, Length> asMap() =>
3453 IterableMixinWorkaround.asMapList(this); 3449 IterableMixinWorkaround.asMapList(this);
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
4135 } 4131 }
4136 4132
4137 void retainWhere(bool test(Number element)) { 4133 void retainWhere(bool test(Number element)) {
4138 throw new UnsupportedError("Cannot remove from immutable List."); 4134 throw new UnsupportedError("Cannot remove from immutable List.");
4139 } 4135 }
4140 4136
4141 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) { 4137 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) {
4142 throw new UnsupportedError("Cannot setRange on immutable List."); 4138 throw new UnsupportedError("Cannot setRange on immutable List.");
4143 } 4139 }
4144 4140
4145 void removeRange(int start, int rangeLength) { 4141 void removeRange(int start, int end) {
4146 throw new UnsupportedError("Cannot removeRange on immutable List."); 4142 throw new UnsupportedError("Cannot removeRange on immutable List.");
4147 } 4143 }
4148 4144
4149 void insertRange(int start, int rangeLength, [Number initialValue]) {
4150 throw new UnsupportedError("Cannot insertRange on immutable List.");
4151 }
4152
4153 Iterable<Number> getRange(int start, int end) => 4145 Iterable<Number> getRange(int start, int end) =>
4154 IterableMixinWorkaround.getRangeList(this, start, end); 4146 IterableMixinWorkaround.getRangeList(this, start, end);
4155 4147
4156 List<Number> sublist(int start, [int end]) { 4148 List<Number> sublist(int start, [int end]) {
4157 if (end == null) end = length; 4149 if (end == null) end = length;
4158 return Lists.getRange(this, start, end, <Number>[]); 4150 return Lists.getRange(this, start, end, <Number>[]);
4159 } 4151 }
4160 4152
4161 Map<int, Number> asMap() => 4153 Map<int, Number> asMap() =>
4162 IterableMixinWorkaround.asMapList(this); 4154 IterableMixinWorkaround.asMapList(this);
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
5271 } 5263 }
5272 5264
5273 void retainWhere(bool test(PathSeg element)) { 5265 void retainWhere(bool test(PathSeg element)) {
5274 throw new UnsupportedError("Cannot remove from immutable List."); 5266 throw new UnsupportedError("Cannot remove from immutable List.");
5275 } 5267 }
5276 5268
5277 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) { 5269 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) {
5278 throw new UnsupportedError("Cannot setRange on immutable List."); 5270 throw new UnsupportedError("Cannot setRange on immutable List.");
5279 } 5271 }
5280 5272
5281 void removeRange(int start, int rangeLength) { 5273 void removeRange(int start, int end) {
5282 throw new UnsupportedError("Cannot removeRange on immutable List."); 5274 throw new UnsupportedError("Cannot removeRange on immutable List.");
5283 } 5275 }
5284 5276
5285 void insertRange(int start, int rangeLength, [PathSeg initialValue]) {
5286 throw new UnsupportedError("Cannot insertRange on immutable List.");
5287 }
5288
5289 Iterable<PathSeg> getRange(int start, int end) => 5277 Iterable<PathSeg> getRange(int start, int end) =>
5290 IterableMixinWorkaround.getRangeList(this, start, end); 5278 IterableMixinWorkaround.getRangeList(this, start, end);
5291 5279
5292 List<PathSeg> sublist(int start, [int end]) { 5280 List<PathSeg> sublist(int start, [int end]) {
5293 if (end == null) end = length; 5281 if (end == null) end = length;
5294 return Lists.getRange(this, start, end, <PathSeg>[]); 5282 return Lists.getRange(this, start, end, <PathSeg>[]);
5295 } 5283 }
5296 5284
5297 Map<int, PathSeg> asMap() => 5285 Map<int, PathSeg> asMap() =>
5298 IterableMixinWorkaround.asMapList(this); 5286 IterableMixinWorkaround.asMapList(this);
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
6261 } 6249 }
6262 6250
6263 void retainWhere(bool test(String element)) { 6251 void retainWhere(bool test(String element)) {
6264 throw new UnsupportedError("Cannot remove from immutable List."); 6252 throw new UnsupportedError("Cannot remove from immutable List.");
6265 } 6253 }
6266 6254
6267 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) { 6255 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) {
6268 throw new UnsupportedError("Cannot setRange on immutable List."); 6256 throw new UnsupportedError("Cannot setRange on immutable List.");
6269 } 6257 }
6270 6258
6271 void removeRange(int start, int rangeLength) { 6259 void removeRange(int start, int end) {
6272 throw new UnsupportedError("Cannot removeRange on immutable List."); 6260 throw new UnsupportedError("Cannot removeRange on immutable List.");
6273 } 6261 }
6274 6262
6275 void insertRange(int start, int rangeLength, [String initialValue]) {
6276 throw new UnsupportedError("Cannot insertRange on immutable List.");
6277 }
6278
6279 Iterable<String> getRange(int start, int end) => 6263 Iterable<String> getRange(int start, int end) =>
6280 IterableMixinWorkaround.getRangeList(this, start, end); 6264 IterableMixinWorkaround.getRangeList(this, start, end);
6281 6265
6282 List<String> sublist(int start, [int end]) { 6266 List<String> sublist(int start, [int end]) {
6283 if (end == null) end = length; 6267 if (end == null) end = length;
6284 return Lists.getRange(this, start, end, <String>[]); 6268 return Lists.getRange(this, start, end, <String>[]);
6285 } 6269 }
6286 6270
6287 Map<int, String> asMap() => 6271 Map<int, String> asMap() =>
6288 IterableMixinWorkaround.asMapList(this); 6272 IterableMixinWorkaround.asMapList(this);
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
7516 } 7500 }
7517 7501
7518 void retainWhere(bool test(Transform element)) { 7502 void retainWhere(bool test(Transform element)) {
7519 throw new UnsupportedError("Cannot remove from immutable List."); 7503 throw new UnsupportedError("Cannot remove from immutable List.");
7520 } 7504 }
7521 7505
7522 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) { 7506 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) {
7523 throw new UnsupportedError("Cannot setRange on immutable List."); 7507 throw new UnsupportedError("Cannot setRange on immutable List.");
7524 } 7508 }
7525 7509
7526 void removeRange(int start, int rangeLength) { 7510 void removeRange(int start, int end) {
7527 throw new UnsupportedError("Cannot removeRange on immutable List."); 7511 throw new UnsupportedError("Cannot removeRange on immutable List.");
7528 } 7512 }
7529 7513
7530 void insertRange(int start, int rangeLength, [Transform initialValue]) {
7531 throw new UnsupportedError("Cannot insertRange on immutable List.");
7532 }
7533
7534 Iterable<Transform> getRange(int start, int end) => 7514 Iterable<Transform> getRange(int start, int end) =>
7535 IterableMixinWorkaround.getRangeList(this, start, end); 7515 IterableMixinWorkaround.getRangeList(this, start, end);
7536 7516
7537 List<Transform> sublist(int start, [int end]) { 7517 List<Transform> sublist(int start, [int end]) {
7538 if (end == null) end = length; 7518 if (end == null) end = length;
7539 return Lists.getRange(this, start, end, <Transform>[]); 7519 return Lists.getRange(this, start, end, <Transform>[]);
7540 } 7520 }
7541 7521
7542 Map<int, Transform> asMap() => 7522 Map<int, Transform> asMap() =>
7543 IterableMixinWorkaround.asMapList(this); 7523 IterableMixinWorkaround.asMapList(this);
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
8097 } 8077 }
8098 8078
8099 void retainWhere(bool test(ElementInstance element)) { 8079 void retainWhere(bool test(ElementInstance element)) {
8100 throw new UnsupportedError("Cannot remove from immutable List."); 8080 throw new UnsupportedError("Cannot remove from immutable List.");
8101 } 8081 }
8102 8082
8103 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) { 8083 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) {
8104 throw new UnsupportedError("Cannot setRange on immutable List."); 8084 throw new UnsupportedError("Cannot setRange on immutable List.");
8105 } 8085 }
8106 8086
8107 void removeRange(int start, int rangeLength) { 8087 void removeRange(int start, int end) {
8108 throw new UnsupportedError("Cannot removeRange on immutable List."); 8088 throw new UnsupportedError("Cannot removeRange on immutable List.");
8109 } 8089 }
8110 8090
8111 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) {
8112 throw new UnsupportedError("Cannot insertRange on immutable List.");
8113 }
8114
8115 Iterable<ElementInstance> getRange(int start, int end) => 8091 Iterable<ElementInstance> getRange(int start, int end) =>
8116 IterableMixinWorkaround.getRangeList(this, start, end); 8092 IterableMixinWorkaround.getRangeList(this, start, end);
8117 8093
8118 List<ElementInstance> sublist(int start, [int end]) { 8094 List<ElementInstance> sublist(int start, [int end]) {
8119 if (end == null) end = length; 8095 if (end == null) end = length;
8120 return Lists.getRange(this, start, end, <ElementInstance>[]); 8096 return Lists.getRange(this, start, end, <ElementInstance>[]);
8121 } 8097 }
8122 8098
8123 Map<int, ElementInstance> asMap() => 8099 Map<int, ElementInstance> asMap() =>
8124 IterableMixinWorkaround.asMapList(this); 8100 IterableMixinWorkaround.asMapList(this);
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
8470 @DocsEditable 8446 @DocsEditable
8471 @DomName('SVGVKernElement') 8447 @DomName('SVGVKernElement')
8472 abstract class _SVGVKernElement extends SvgElement { 8448 abstract class _SVGVKernElement extends SvgElement {
8473 _SVGVKernElement.internal() : super.internal(); 8449 _SVGVKernElement.internal() : super.internal();
8474 8450
8475 @DomName('SVGVKernElement.SVGVKernElement') 8451 @DomName('SVGVKernElement.SVGVKernElement')
8476 @DocsEditable 8452 @DocsEditable
8477 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8453 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8478 8454
8479 } 8455 }
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