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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.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:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT - unless you are editing documentation as per: 9 // DO NOT EDIT - unless you are editing documentation as per:
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
(...skipping 3149 matching lines...) Expand 10 before | Expand all | Expand 10 after
3160 } 3160 }
3161 3161
3162 void removeWhere(bool test(Length element)) { 3162 void removeWhere(bool test(Length element)) {
3163 throw new UnsupportedError("Cannot remove from immutable List."); 3163 throw new UnsupportedError("Cannot remove from immutable List.");
3164 } 3164 }
3165 3165
3166 void retainWhere(bool test(Length element)) { 3166 void retainWhere(bool test(Length element)) {
3167 throw new UnsupportedError("Cannot remove from immutable List."); 3167 throw new UnsupportedError("Cannot remove from immutable List.");
3168 } 3168 }
3169 3169
3170 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) { 3170 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount]) {
3171 throw new UnsupportedError("Cannot setRange on immutable List."); 3171 throw new UnsupportedError("Cannot setRange on immutable List.");
3172 } 3172 }
3173 3173
3174 void removeRange(int start, int rangeLength) { 3174 void removeRange(int start, int rangeLength) {
3175 throw new UnsupportedError("Cannot removeRange on immutable List."); 3175 throw new UnsupportedError("Cannot removeRange on immutable List.");
3176 } 3176 }
3177 3177
3178 void insertRange(int start, int rangeLength, [Length initialValue]) { 3178 void insertRange(int start, int rangeLength, [Length initialValue]) {
3179 throw new UnsupportedError("Cannot insertRange on immutable List."); 3179 throw new UnsupportedError("Cannot insertRange on immutable List.");
3180 } 3180 }
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
3792 } 3792 }
3793 3793
3794 void removeWhere(bool test(Number element)) { 3794 void removeWhere(bool test(Number element)) {
3795 throw new UnsupportedError("Cannot remove from immutable List."); 3795 throw new UnsupportedError("Cannot remove from immutable List.");
3796 } 3796 }
3797 3797
3798 void retainWhere(bool test(Number element)) { 3798 void retainWhere(bool test(Number element)) {
3799 throw new UnsupportedError("Cannot remove from immutable List."); 3799 throw new UnsupportedError("Cannot remove from immutable List.");
3800 } 3800 }
3801 3801
3802 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) { 3802 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount]) {
3803 throw new UnsupportedError("Cannot setRange on immutable List."); 3803 throw new UnsupportedError("Cannot setRange on immutable List.");
3804 } 3804 }
3805 3805
3806 void removeRange(int start, int rangeLength) { 3806 void removeRange(int start, int rangeLength) {
3807 throw new UnsupportedError("Cannot removeRange on immutable List."); 3807 throw new UnsupportedError("Cannot removeRange on immutable List.");
3808 } 3808 }
3809 3809
3810 void insertRange(int start, int rangeLength, [Number initialValue]) { 3810 void insertRange(int start, int rangeLength, [Number initialValue]) {
3811 throw new UnsupportedError("Cannot insertRange on immutable List."); 3811 throw new UnsupportedError("Cannot insertRange on immutable List.");
3812 } 3812 }
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
4655 } 4655 }
4656 4656
4657 void removeWhere(bool test(PathSeg element)) { 4657 void removeWhere(bool test(PathSeg element)) {
4658 throw new UnsupportedError("Cannot remove from immutable List."); 4658 throw new UnsupportedError("Cannot remove from immutable List.");
4659 } 4659 }
4660 4660
4661 void retainWhere(bool test(PathSeg element)) { 4661 void retainWhere(bool test(PathSeg element)) {
4662 throw new UnsupportedError("Cannot remove from immutable List."); 4662 throw new UnsupportedError("Cannot remove from immutable List.");
4663 } 4663 }
4664 4664
4665 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) { 4665 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount]) {
4666 throw new UnsupportedError("Cannot setRange on immutable List."); 4666 throw new UnsupportedError("Cannot setRange on immutable List.");
4667 } 4667 }
4668 4668
4669 void removeRange(int start, int rangeLength) { 4669 void removeRange(int start, int rangeLength) {
4670 throw new UnsupportedError("Cannot removeRange on immutable List."); 4670 throw new UnsupportedError("Cannot removeRange on immutable List.");
4671 } 4671 }
4672 4672
4673 void insertRange(int start, int rangeLength, [PathSeg initialValue]) { 4673 void insertRange(int start, int rangeLength, [PathSeg initialValue]) {
4674 throw new UnsupportedError("Cannot insertRange on immutable List."); 4674 throw new UnsupportedError("Cannot insertRange on immutable List.");
4675 } 4675 }
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
5548 } 5548 }
5549 5549
5550 void removeWhere(bool test(String element)) { 5550 void removeWhere(bool test(String element)) {
5551 throw new UnsupportedError("Cannot remove from immutable List."); 5551 throw new UnsupportedError("Cannot remove from immutable List.");
5552 } 5552 }
5553 5553
5554 void retainWhere(bool test(String element)) { 5554 void retainWhere(bool test(String element)) {
5555 throw new UnsupportedError("Cannot remove from immutable List."); 5555 throw new UnsupportedError("Cannot remove from immutable List.");
5556 } 5556 }
5557 5557
5558 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) { 5558 void setRange(int start, int end, Iterable<String> iterable, [int skipCount]) {
5559 throw new UnsupportedError("Cannot setRange on immutable List."); 5559 throw new UnsupportedError("Cannot setRange on immutable List.");
5560 } 5560 }
5561 5561
5562 void removeRange(int start, int rangeLength) { 5562 void removeRange(int start, int rangeLength) {
5563 throw new UnsupportedError("Cannot removeRange on immutable List."); 5563 throw new UnsupportedError("Cannot removeRange on immutable List.");
5564 } 5564 }
5565 5565
5566 void insertRange(int start, int rangeLength, [String initialValue]) { 5566 void insertRange(int start, int rangeLength, [String initialValue]) {
5567 throw new UnsupportedError("Cannot insertRange on immutable List."); 5567 throw new UnsupportedError("Cannot insertRange on immutable List.");
5568 } 5568 }
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
6714 } 6714 }
6715 6715
6716 void removeWhere(bool test(Transform element)) { 6716 void removeWhere(bool test(Transform element)) {
6717 throw new UnsupportedError("Cannot remove from immutable List."); 6717 throw new UnsupportedError("Cannot remove from immutable List.");
6718 } 6718 }
6719 6719
6720 void retainWhere(bool test(Transform element)) { 6720 void retainWhere(bool test(Transform element)) {
6721 throw new UnsupportedError("Cannot remove from immutable List."); 6721 throw new UnsupportedError("Cannot remove from immutable List.");
6722 } 6722 }
6723 6723
6724 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) { 6724 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount ]) {
6725 throw new UnsupportedError("Cannot setRange on immutable List."); 6725 throw new UnsupportedError("Cannot setRange on immutable List.");
6726 } 6726 }
6727 6727
6728 void removeRange(int start, int rangeLength) { 6728 void removeRange(int start, int rangeLength) {
6729 throw new UnsupportedError("Cannot removeRange on immutable List."); 6729 throw new UnsupportedError("Cannot removeRange on immutable List.");
6730 } 6730 }
6731 6731
6732 void insertRange(int start, int rangeLength, [Transform initialValue]) { 6732 void insertRange(int start, int rangeLength, [Transform initialValue]) {
6733 throw new UnsupportedError("Cannot insertRange on immutable List."); 6733 throw new UnsupportedError("Cannot insertRange on immutable List.");
6734 } 6734 }
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
7241 } 7241 }
7242 7242
7243 void removeWhere(bool test(ElementInstance element)) { 7243 void removeWhere(bool test(ElementInstance element)) {
7244 throw new UnsupportedError("Cannot remove from immutable List."); 7244 throw new UnsupportedError("Cannot remove from immutable List.");
7245 } 7245 }
7246 7246
7247 void retainWhere(bool test(ElementInstance element)) { 7247 void retainWhere(bool test(ElementInstance element)) {
7248 throw new UnsupportedError("Cannot remove from immutable List."); 7248 throw new UnsupportedError("Cannot remove from immutable List.");
7249 } 7249 }
7250 7250
7251 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) { 7251 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski pCount]) {
7252 throw new UnsupportedError("Cannot setRange on immutable List."); 7252 throw new UnsupportedError("Cannot setRange on immutable List.");
7253 } 7253 }
7254 7254
7255 void removeRange(int start, int rangeLength) { 7255 void removeRange(int start, int rangeLength) {
7256 throw new UnsupportedError("Cannot removeRange on immutable List."); 7256 throw new UnsupportedError("Cannot removeRange on immutable List.");
7257 } 7257 }
7258 7258
7259 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { 7259 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) {
7260 throw new UnsupportedError("Cannot insertRange on immutable List."); 7260 throw new UnsupportedError("Cannot insertRange on immutable List.");
7261 } 7261 }
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
7553 7553
7554 7554
7555 @DocsEditable 7555 @DocsEditable
7556 @DomName('SVGVKernElement') 7556 @DomName('SVGVKernElement')
7557 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7557 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7558 7558
7559 @DomName('SVGVKernElement.SVGVKernElement') 7559 @DomName('SVGVKernElement.SVGVKernElement')
7560 @DocsEditable 7560 @DocsEditable
7561 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7561 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7562 } 7562 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698