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

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

Issue 13872007: Refactor removeRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files and rebuild dom (unrelated CL). 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]) { 3440 void insertRange(int start, int rangeLength, [Length initialValue]) {
3441 throw new UnsupportedError("Cannot insertRange on immutable List."); 3441 throw new UnsupportedError("Cannot insertRange on immutable List.");
3442 } 3442 }
3443 3443
3444 Iterable<Length> getRange(int start, int end) => 3444 Iterable<Length> getRange(int start, int end) =>
3445 IterableMixinWorkaround.getRangeList(this, start, end); 3445 IterableMixinWorkaround.getRangeList(this, start, end);
3446 3446
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
4135 } 4135 }
4136 4136
4137 void retainWhere(bool test(Number element)) { 4137 void retainWhere(bool test(Number element)) {
4138 throw new UnsupportedError("Cannot remove from immutable List."); 4138 throw new UnsupportedError("Cannot remove from immutable List.");
4139 } 4139 }
4140 4140
4141 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) { 4141 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) {
4142 throw new UnsupportedError("Cannot setRange on immutable List."); 4142 throw new UnsupportedError("Cannot setRange on immutable List.");
4143 } 4143 }
4144 4144
4145 void removeRange(int start, int rangeLength) { 4145 void removeRange(int start, int end) {
4146 throw new UnsupportedError("Cannot removeRange on immutable List."); 4146 throw new UnsupportedError("Cannot removeRange on immutable List.");
4147 } 4147 }
4148 4148
4149 void insertRange(int start, int rangeLength, [Number initialValue]) { 4149 void insertRange(int start, int rangeLength, [Number initialValue]) {
4150 throw new UnsupportedError("Cannot insertRange on immutable List."); 4150 throw new UnsupportedError("Cannot insertRange on immutable List.");
4151 } 4151 }
4152 4152
4153 Iterable<Number> getRange(int start, int end) => 4153 Iterable<Number> getRange(int start, int end) =>
4154 IterableMixinWorkaround.getRangeList(this, start, end); 4154 IterableMixinWorkaround.getRangeList(this, start, end);
4155 4155
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
5271 } 5271 }
5272 5272
5273 void retainWhere(bool test(PathSeg element)) { 5273 void retainWhere(bool test(PathSeg element)) {
5274 throw new UnsupportedError("Cannot remove from immutable List."); 5274 throw new UnsupportedError("Cannot remove from immutable List.");
5275 } 5275 }
5276 5276
5277 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) { 5277 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) {
5278 throw new UnsupportedError("Cannot setRange on immutable List."); 5278 throw new UnsupportedError("Cannot setRange on immutable List.");
5279 } 5279 }
5280 5280
5281 void removeRange(int start, int rangeLength) { 5281 void removeRange(int start, int end) {
5282 throw new UnsupportedError("Cannot removeRange on immutable List."); 5282 throw new UnsupportedError("Cannot removeRange on immutable List.");
5283 } 5283 }
5284 5284
5285 void insertRange(int start, int rangeLength, [PathSeg initialValue]) { 5285 void insertRange(int start, int rangeLength, [PathSeg initialValue]) {
5286 throw new UnsupportedError("Cannot insertRange on immutable List."); 5286 throw new UnsupportedError("Cannot insertRange on immutable List.");
5287 } 5287 }
5288 5288
5289 Iterable<PathSeg> getRange(int start, int end) => 5289 Iterable<PathSeg> getRange(int start, int end) =>
5290 IterableMixinWorkaround.getRangeList(this, start, end); 5290 IterableMixinWorkaround.getRangeList(this, start, end);
5291 5291
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
6261 } 6261 }
6262 6262
6263 void retainWhere(bool test(String element)) { 6263 void retainWhere(bool test(String element)) {
6264 throw new UnsupportedError("Cannot remove from immutable List."); 6264 throw new UnsupportedError("Cannot remove from immutable List.");
6265 } 6265 }
6266 6266
6267 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) { 6267 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) {
6268 throw new UnsupportedError("Cannot setRange on immutable List."); 6268 throw new UnsupportedError("Cannot setRange on immutable List.");
6269 } 6269 }
6270 6270
6271 void removeRange(int start, int rangeLength) { 6271 void removeRange(int start, int end) {
6272 throw new UnsupportedError("Cannot removeRange on immutable List."); 6272 throw new UnsupportedError("Cannot removeRange on immutable List.");
6273 } 6273 }
6274 6274
6275 void insertRange(int start, int rangeLength, [String initialValue]) { 6275 void insertRange(int start, int rangeLength, [String initialValue]) {
6276 throw new UnsupportedError("Cannot insertRange on immutable List."); 6276 throw new UnsupportedError("Cannot insertRange on immutable List.");
6277 } 6277 }
6278 6278
6279 Iterable<String> getRange(int start, int end) => 6279 Iterable<String> getRange(int start, int end) =>
6280 IterableMixinWorkaround.getRangeList(this, start, end); 6280 IterableMixinWorkaround.getRangeList(this, start, end);
6281 6281
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
7516 } 7516 }
7517 7517
7518 void retainWhere(bool test(Transform element)) { 7518 void retainWhere(bool test(Transform element)) {
7519 throw new UnsupportedError("Cannot remove from immutable List."); 7519 throw new UnsupportedError("Cannot remove from immutable List.");
7520 } 7520 }
7521 7521
7522 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) { 7522 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) {
7523 throw new UnsupportedError("Cannot setRange on immutable List."); 7523 throw new UnsupportedError("Cannot setRange on immutable List.");
7524 } 7524 }
7525 7525
7526 void removeRange(int start, int rangeLength) { 7526 void removeRange(int start, int end) {
7527 throw new UnsupportedError("Cannot removeRange on immutable List."); 7527 throw new UnsupportedError("Cannot removeRange on immutable List.");
7528 } 7528 }
7529 7529
7530 void insertRange(int start, int rangeLength, [Transform initialValue]) { 7530 void insertRange(int start, int rangeLength, [Transform initialValue]) {
7531 throw new UnsupportedError("Cannot insertRange on immutable List."); 7531 throw new UnsupportedError("Cannot insertRange on immutable List.");
7532 } 7532 }
7533 7533
7534 Iterable<Transform> getRange(int start, int end) => 7534 Iterable<Transform> getRange(int start, int end) =>
7535 IterableMixinWorkaround.getRangeList(this, start, end); 7535 IterableMixinWorkaround.getRangeList(this, start, end);
7536 7536
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
8097 } 8097 }
8098 8098
8099 void retainWhere(bool test(ElementInstance element)) { 8099 void retainWhere(bool test(ElementInstance element)) {
8100 throw new UnsupportedError("Cannot remove from immutable List."); 8100 throw new UnsupportedError("Cannot remove from immutable List.");
8101 } 8101 }
8102 8102
8103 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) { 8103 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) {
8104 throw new UnsupportedError("Cannot setRange on immutable List."); 8104 throw new UnsupportedError("Cannot setRange on immutable List.");
8105 } 8105 }
8106 8106
8107 void removeRange(int start, int rangeLength) { 8107 void removeRange(int start, int end) {
8108 throw new UnsupportedError("Cannot removeRange on immutable List."); 8108 throw new UnsupportedError("Cannot removeRange on immutable List.");
8109 } 8109 }
8110 8110
8111 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { 8111 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) {
8112 throw new UnsupportedError("Cannot insertRange on immutable List."); 8112 throw new UnsupportedError("Cannot insertRange on immutable List.");
8113 } 8113 }
8114 8114
8115 Iterable<ElementInstance> getRange(int start, int end) => 8115 Iterable<ElementInstance> getRange(int start, int end) =>
8116 IterableMixinWorkaround.getRangeList(this, start, end); 8116 IterableMixinWorkaround.getRangeList(this, start, end);
8117 8117
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
8470 @DocsEditable 8470 @DocsEditable
8471 @DomName('SVGVKernElement') 8471 @DomName('SVGVKernElement')
8472 abstract class _SVGVKernElement extends SvgElement { 8472 abstract class _SVGVKernElement extends SvgElement {
8473 _SVGVKernElement.internal() : super.internal(); 8473 _SVGVKernElement.internal() : super.internal();
8474 8474
8475 @DomName('SVGVKernElement.SVGVKernElement') 8475 @DomName('SVGVKernElement.SVGVKernElement')
8476 @DocsEditable 8476 @DocsEditable
8477 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8477 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8478 8478
8479 } 8479 }
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