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

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

Issue 13863012: Refactor List.setRange function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle optional arguments in secure_socket.dart 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
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 3410 matching lines...) Expand 10 before | Expand all | Expand 10 after
3421 } 3421 }
3422 3422
3423 void removeWhere(bool test(Length element)) { 3423 void removeWhere(bool test(Length element)) {
3424 throw new UnsupportedError("Cannot remove from immutable List."); 3424 throw new UnsupportedError("Cannot remove from immutable List.");
3425 } 3425 }
3426 3426
3427 void retainWhere(bool test(Length element)) { 3427 void retainWhere(bool test(Length element)) {
3428 throw new UnsupportedError("Cannot remove from immutable List."); 3428 throw new UnsupportedError("Cannot remove from immutable List.");
3429 } 3429 }
3430 3430
3431 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) { 3431 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount]) {
3432 throw new UnsupportedError("Cannot setRange on immutable List."); 3432 throw new UnsupportedError("Cannot setRange on immutable List.");
3433 } 3433 }
3434 3434
3435 void removeRange(int start, int rangeLength) { 3435 void removeRange(int start, int rangeLength) {
3436 throw new UnsupportedError("Cannot removeRange on immutable List."); 3436 throw new UnsupportedError("Cannot removeRange on immutable List.");
3437 } 3437 }
3438 3438
3439 void insertRange(int start, int rangeLength, [Length initialValue]) { 3439 void insertRange(int start, int rangeLength, [Length initialValue]) {
3440 throw new UnsupportedError("Cannot insertRange on immutable List."); 3440 throw new UnsupportedError("Cannot insertRange on immutable List.");
3441 } 3441 }
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
4130 } 4130 }
4131 4131
4132 void removeWhere(bool test(Number element)) { 4132 void removeWhere(bool test(Number element)) {
4133 throw new UnsupportedError("Cannot remove from immutable List."); 4133 throw new UnsupportedError("Cannot remove from immutable List.");
4134 } 4134 }
4135 4135
4136 void retainWhere(bool test(Number element)) { 4136 void retainWhere(bool test(Number element)) {
4137 throw new UnsupportedError("Cannot remove from immutable List."); 4137 throw new UnsupportedError("Cannot remove from immutable List.");
4138 } 4138 }
4139 4139
4140 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) { 4140 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) {
4141 throw new UnsupportedError("Cannot setRange on immutable List."); 4141 throw new UnsupportedError("Cannot setRange on immutable List.");
4142 } 4142 }
4143 4143
4144 void removeRange(int start, int rangeLength) { 4144 void removeRange(int start, int rangeLength) {
4145 throw new UnsupportedError("Cannot removeRange on immutable List."); 4145 throw new UnsupportedError("Cannot removeRange on immutable List.");
4146 } 4146 }
4147 4147
4148 void insertRange(int start, int rangeLength, [Number initialValue]) { 4148 void insertRange(int start, int rangeLength, [Number initialValue]) {
4149 throw new UnsupportedError("Cannot insertRange on immutable List."); 4149 throw new UnsupportedError("Cannot insertRange on immutable List.");
4150 } 4150 }
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
5266 } 5266 }
5267 5267
5268 void removeWhere(bool test(PathSeg element)) { 5268 void removeWhere(bool test(PathSeg element)) {
5269 throw new UnsupportedError("Cannot remove from immutable List."); 5269 throw new UnsupportedError("Cannot remove from immutable List.");
5270 } 5270 }
5271 5271
5272 void retainWhere(bool test(PathSeg element)) { 5272 void retainWhere(bool test(PathSeg element)) {
5273 throw new UnsupportedError("Cannot remove from immutable List."); 5273 throw new UnsupportedError("Cannot remove from immutable List.");
5274 } 5274 }
5275 5275
5276 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) { 5276 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) {
5277 throw new UnsupportedError("Cannot setRange on immutable List."); 5277 throw new UnsupportedError("Cannot setRange on immutable List.");
5278 } 5278 }
5279 5279
5280 void removeRange(int start, int rangeLength) { 5280 void removeRange(int start, int rangeLength) {
5281 throw new UnsupportedError("Cannot removeRange on immutable List."); 5281 throw new UnsupportedError("Cannot removeRange on immutable List.");
5282 } 5282 }
5283 5283
5284 void insertRange(int start, int rangeLength, [PathSeg initialValue]) { 5284 void insertRange(int start, int rangeLength, [PathSeg initialValue]) {
5285 throw new UnsupportedError("Cannot insertRange on immutable List."); 5285 throw new UnsupportedError("Cannot insertRange on immutable List.");
5286 } 5286 }
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
6256 } 6256 }
6257 6257
6258 void removeWhere(bool test(String element)) { 6258 void removeWhere(bool test(String element)) {
6259 throw new UnsupportedError("Cannot remove from immutable List."); 6259 throw new UnsupportedError("Cannot remove from immutable List.");
6260 } 6260 }
6261 6261
6262 void retainWhere(bool test(String element)) { 6262 void retainWhere(bool test(String element)) {
6263 throw new UnsupportedError("Cannot remove from immutable List."); 6263 throw new UnsupportedError("Cannot remove from immutable List.");
6264 } 6264 }
6265 6265
6266 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) { 6266 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) {
6267 throw new UnsupportedError("Cannot setRange on immutable List."); 6267 throw new UnsupportedError("Cannot setRange on immutable List.");
6268 } 6268 }
6269 6269
6270 void removeRange(int start, int rangeLength) { 6270 void removeRange(int start, int rangeLength) {
6271 throw new UnsupportedError("Cannot removeRange on immutable List."); 6271 throw new UnsupportedError("Cannot removeRange on immutable List.");
6272 } 6272 }
6273 6273
6274 void insertRange(int start, int rangeLength, [String initialValue]) { 6274 void insertRange(int start, int rangeLength, [String initialValue]) {
6275 throw new UnsupportedError("Cannot insertRange on immutable List."); 6275 throw new UnsupportedError("Cannot insertRange on immutable List.");
6276 } 6276 }
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
7511 } 7511 }
7512 7512
7513 void removeWhere(bool test(Transform element)) { 7513 void removeWhere(bool test(Transform element)) {
7514 throw new UnsupportedError("Cannot remove from immutable List."); 7514 throw new UnsupportedError("Cannot remove from immutable List.");
7515 } 7515 }
7516 7516
7517 void retainWhere(bool test(Transform element)) { 7517 void retainWhere(bool test(Transform element)) {
7518 throw new UnsupportedError("Cannot remove from immutable List."); 7518 throw new UnsupportedError("Cannot remove from immutable List.");
7519 } 7519 }
7520 7520
7521 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) { 7521 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) {
7522 throw new UnsupportedError("Cannot setRange on immutable List."); 7522 throw new UnsupportedError("Cannot setRange on immutable List.");
7523 } 7523 }
7524 7524
7525 void removeRange(int start, int rangeLength) { 7525 void removeRange(int start, int rangeLength) {
7526 throw new UnsupportedError("Cannot removeRange on immutable List."); 7526 throw new UnsupportedError("Cannot removeRange on immutable List.");
7527 } 7527 }
7528 7528
7529 void insertRange(int start, int rangeLength, [Transform initialValue]) { 7529 void insertRange(int start, int rangeLength, [Transform initialValue]) {
7530 throw new UnsupportedError("Cannot insertRange on immutable List."); 7530 throw new UnsupportedError("Cannot insertRange on immutable List.");
7531 } 7531 }
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
8092 } 8092 }
8093 8093
8094 void removeWhere(bool test(ElementInstance element)) { 8094 void removeWhere(bool test(ElementInstance element)) {
8095 throw new UnsupportedError("Cannot remove from immutable List."); 8095 throw new UnsupportedError("Cannot remove from immutable List.");
8096 } 8096 }
8097 8097
8098 void retainWhere(bool test(ElementInstance element)) { 8098 void retainWhere(bool test(ElementInstance element)) {
8099 throw new UnsupportedError("Cannot remove from immutable List."); 8099 throw new UnsupportedError("Cannot remove from immutable List.");
8100 } 8100 }
8101 8101
8102 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) { 8102 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) {
8103 throw new UnsupportedError("Cannot setRange on immutable List."); 8103 throw new UnsupportedError("Cannot setRange on immutable List.");
8104 } 8104 }
8105 8105
8106 void removeRange(int start, int rangeLength) { 8106 void removeRange(int start, int rangeLength) {
8107 throw new UnsupportedError("Cannot removeRange on immutable List."); 8107 throw new UnsupportedError("Cannot removeRange on immutable List.");
8108 } 8108 }
8109 8109
8110 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { 8110 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) {
8111 throw new UnsupportedError("Cannot insertRange on immutable List."); 8111 throw new UnsupportedError("Cannot insertRange on immutable List.");
8112 } 8112 }
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
8469 @DocsEditable 8469 @DocsEditable
8470 @DomName('SVGVKernElement') 8470 @DomName('SVGVKernElement')
8471 abstract class _SVGVKernElement extends SvgElement { 8471 abstract class _SVGVKernElement extends SvgElement {
8472 _SVGVKernElement.internal() : super.internal(); 8472 _SVGVKernElement.internal() : super.internal();
8473 8473
8474 @DomName('SVGVKernElement.SVGVKernElement') 8474 @DomName('SVGVKernElement.SVGVKernElement')
8475 @DocsEditable 8475 @DocsEditable
8476 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8476 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8477 8477
8478 } 8478 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698