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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 13528004: Remove addLast from List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove typo 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 3116 matching lines...) Expand 10 before | Expand all | Expand 10 after
3127 Length elementAt(int index) { 3127 Length elementAt(int index) {
3128 return this[index]; 3128 return this[index];
3129 } 3129 }
3130 3130
3131 // From Collection<Length>: 3131 // From Collection<Length>:
3132 3132
3133 void add(Length value) { 3133 void add(Length value) {
3134 throw new UnsupportedError("Cannot add to immutable List."); 3134 throw new UnsupportedError("Cannot add to immutable List.");
3135 } 3135 }
3136 3136
3137 void addLast(Length value) {
3138 throw new UnsupportedError("Cannot add to immutable List.");
3139 }
3140
3141 void addAll(Iterable<Length> iterable) { 3137 void addAll(Iterable<Length> iterable) {
3142 throw new UnsupportedError("Cannot add to immutable List."); 3138 throw new UnsupportedError("Cannot add to immutable List.");
3143 } 3139 }
3144 3140
3145 // From List<Length>: 3141 // From List<Length>:
3146 void set length(int value) { 3142 void set length(int value) {
3147 throw new UnsupportedError("Cannot resize immutable List."); 3143 throw new UnsupportedError("Cannot resize immutable List.");
3148 } 3144 }
3149 3145
3150 // clear() defined by IDL. 3146 // clear() defined by IDL.
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
3765 Number elementAt(int index) { 3761 Number elementAt(int index) {
3766 return this[index]; 3762 return this[index];
3767 } 3763 }
3768 3764
3769 // From Collection<Number>: 3765 // From Collection<Number>:
3770 3766
3771 void add(Number value) { 3767 void add(Number value) {
3772 throw new UnsupportedError("Cannot add to immutable List."); 3768 throw new UnsupportedError("Cannot add to immutable List.");
3773 } 3769 }
3774 3770
3775 void addLast(Number value) {
3776 throw new UnsupportedError("Cannot add to immutable List.");
3777 }
3778
3779 void addAll(Iterable<Number> iterable) { 3771 void addAll(Iterable<Number> iterable) {
3780 throw new UnsupportedError("Cannot add to immutable List."); 3772 throw new UnsupportedError("Cannot add to immutable List.");
3781 } 3773 }
3782 3774
3783 // From List<Number>: 3775 // From List<Number>:
3784 void set length(int value) { 3776 void set length(int value) {
3785 throw new UnsupportedError("Cannot resize immutable List."); 3777 throw new UnsupportedError("Cannot resize immutable List.");
3786 } 3778 }
3787 3779
3788 // clear() defined by IDL. 3780 // clear() defined by IDL.
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
4679 PathSeg elementAt(int index) { 4671 PathSeg elementAt(int index) {
4680 return this[index]; 4672 return this[index];
4681 } 4673 }
4682 4674
4683 // From Collection<PathSeg>: 4675 // From Collection<PathSeg>:
4684 4676
4685 void add(PathSeg value) { 4677 void add(PathSeg value) {
4686 throw new UnsupportedError("Cannot add to immutable List."); 4678 throw new UnsupportedError("Cannot add to immutable List.");
4687 } 4679 }
4688 4680
4689 void addLast(PathSeg value) {
4690 throw new UnsupportedError("Cannot add to immutable List.");
4691 }
4692
4693 void addAll(Iterable<PathSeg> iterable) { 4681 void addAll(Iterable<PathSeg> iterable) {
4694 throw new UnsupportedError("Cannot add to immutable List."); 4682 throw new UnsupportedError("Cannot add to immutable List.");
4695 } 4683 }
4696 4684
4697 // From List<PathSeg>: 4685 // From List<PathSeg>:
4698 void set length(int value) { 4686 void set length(int value) {
4699 throw new UnsupportedError("Cannot resize immutable List."); 4687 throw new UnsupportedError("Cannot resize immutable List.");
4700 } 4688 }
4701 4689
4702 // clear() defined by IDL. 4690 // clear() defined by IDL.
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
5578 String elementAt(int index) { 5566 String elementAt(int index) {
5579 return this[index]; 5567 return this[index];
5580 } 5568 }
5581 5569
5582 // From Collection<String>: 5570 // From Collection<String>:
5583 5571
5584 void add(String value) { 5572 void add(String value) {
5585 throw new UnsupportedError("Cannot add to immutable List."); 5573 throw new UnsupportedError("Cannot add to immutable List.");
5586 } 5574 }
5587 5575
5588 void addLast(String value) {
5589 throw new UnsupportedError("Cannot add to immutable List.");
5590 }
5591
5592 void addAll(Iterable<String> iterable) { 5576 void addAll(Iterable<String> iterable) {
5593 throw new UnsupportedError("Cannot add to immutable List."); 5577 throw new UnsupportedError("Cannot add to immutable List.");
5594 } 5578 }
5595 5579
5596 // From List<String>: 5580 // From List<String>:
5597 void set length(int value) { 5581 void set length(int value) {
5598 throw new UnsupportedError("Cannot resize immutable List."); 5582 throw new UnsupportedError("Cannot resize immutable List.");
5599 } 5583 }
5600 5584
5601 // clear() defined by IDL. 5585 // clear() defined by IDL.
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
6754 Transform elementAt(int index) { 6738 Transform elementAt(int index) {
6755 return this[index]; 6739 return this[index];
6756 } 6740 }
6757 6741
6758 // From Collection<Transform>: 6742 // From Collection<Transform>:
6759 6743
6760 void add(Transform value) { 6744 void add(Transform value) {
6761 throw new UnsupportedError("Cannot add to immutable List."); 6745 throw new UnsupportedError("Cannot add to immutable List.");
6762 } 6746 }
6763 6747
6764 void addLast(Transform value) {
6765 throw new UnsupportedError("Cannot add to immutable List.");
6766 }
6767
6768 void addAll(Iterable<Transform> iterable) { 6748 void addAll(Iterable<Transform> iterable) {
6769 throw new UnsupportedError("Cannot add to immutable List."); 6749 throw new UnsupportedError("Cannot add to immutable List.");
6770 } 6750 }
6771 6751
6772 // From List<Transform>: 6752 // From List<Transform>:
6773 void set length(int value) { 6753 void set length(int value) {
6774 throw new UnsupportedError("Cannot resize immutable List."); 6754 throw new UnsupportedError("Cannot resize immutable List.");
6775 } 6755 }
6776 6756
6777 // clear() defined by IDL. 6757 // clear() defined by IDL.
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
7285 ElementInstance elementAt(int index) { 7265 ElementInstance elementAt(int index) {
7286 return this[index]; 7266 return this[index];
7287 } 7267 }
7288 7268
7289 // From Collection<ElementInstance>: 7269 // From Collection<ElementInstance>:
7290 7270
7291 void add(ElementInstance value) { 7271 void add(ElementInstance value) {
7292 throw new UnsupportedError("Cannot add to immutable List."); 7272 throw new UnsupportedError("Cannot add to immutable List.");
7293 } 7273 }
7294 7274
7295 void addLast(ElementInstance value) {
7296 throw new UnsupportedError("Cannot add to immutable List.");
7297 }
7298
7299 void addAll(Iterable<ElementInstance> iterable) { 7275 void addAll(Iterable<ElementInstance> iterable) {
7300 throw new UnsupportedError("Cannot add to immutable List."); 7276 throw new UnsupportedError("Cannot add to immutable List.");
7301 } 7277 }
7302 7278
7303 // From List<ElementInstance>: 7279 // From List<ElementInstance>:
7304 void set length(int value) { 7280 void set length(int value) {
7305 throw new UnsupportedError("Cannot resize immutable List."); 7281 throw new UnsupportedError("Cannot resize immutable List.");
7306 } 7282 }
7307 7283
7308 void clear() { 7284 void clear() {
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
7813 7789
7814 7790
7815 @DocsEditable 7791 @DocsEditable
7816 @DomName('SVGVKernElement') 7792 @DomName('SVGVKernElement')
7817 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7793 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7818 7794
7819 @DomName('SVGVKernElement.SVGVKernElement') 7795 @DomName('SVGVKernElement.SVGVKernElement')
7820 @DocsEditable 7796 @DocsEditable
7821 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7797 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7822 } 7798 }
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698