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

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

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 3141 matching lines...) Expand 10 before | Expand all | Expand 10 after
3152 } 3152 }
3153 3153
3154 Length removeLast() { 3154 Length removeLast() {
3155 throw new UnsupportedError("Cannot remove from immutable List."); 3155 throw new UnsupportedError("Cannot remove from immutable List.");
3156 } 3156 }
3157 3157
3158 void remove(Object object) { 3158 void remove(Object object) {
3159 throw new UnsupportedError("Cannot remove from immutable List."); 3159 throw new UnsupportedError("Cannot remove from immutable List.");
3160 } 3160 }
3161 3161
3162 void removeAll(Iterable elements) {
3163 throw new UnsupportedError("Cannot remove from immutable List.");
3164 }
3165
3166 void retainAll(Iterable elements) {
3167 throw new UnsupportedError("Cannot remove from immutable List.");
3168 }
3169
3170 void removeWhere(bool test(Length element)) { 3162 void removeWhere(bool test(Length element)) {
3171 throw new UnsupportedError("Cannot remove from immutable List."); 3163 throw new UnsupportedError("Cannot remove from immutable List.");
3172 } 3164 }
3173 3165
3174 void retainWhere(bool test(Length element)) { 3166 void retainWhere(bool test(Length element)) {
3175 throw new UnsupportedError("Cannot remove from immutable List."); 3167 throw new UnsupportedError("Cannot remove from immutable List.");
3176 } 3168 }
3177 3169
3178 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) { 3170 void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) {
3179 throw new UnsupportedError("Cannot setRange on immutable List."); 3171 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
3792 } 3784 }
3793 3785
3794 Number removeLast() { 3786 Number removeLast() {
3795 throw new UnsupportedError("Cannot remove from immutable List."); 3787 throw new UnsupportedError("Cannot remove from immutable List.");
3796 } 3788 }
3797 3789
3798 void remove(Object object) { 3790 void remove(Object object) {
3799 throw new UnsupportedError("Cannot remove from immutable List."); 3791 throw new UnsupportedError("Cannot remove from immutable List.");
3800 } 3792 }
3801 3793
3802 void removeAll(Iterable elements) {
3803 throw new UnsupportedError("Cannot remove from immutable List.");
3804 }
3805
3806 void retainAll(Iterable elements) {
3807 throw new UnsupportedError("Cannot remove from immutable List.");
3808 }
3809
3810 void removeWhere(bool test(Number element)) { 3794 void removeWhere(bool test(Number element)) {
3811 throw new UnsupportedError("Cannot remove from immutable List."); 3795 throw new UnsupportedError("Cannot remove from immutable List.");
3812 } 3796 }
3813 3797
3814 void retainWhere(bool test(Number element)) { 3798 void retainWhere(bool test(Number element)) {
3815 throw new UnsupportedError("Cannot remove from immutable List."); 3799 throw new UnsupportedError("Cannot remove from immutable List.");
3816 } 3800 }
3817 3801
3818 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) { 3802 void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) {
3819 throw new UnsupportedError("Cannot setRange on immutable List."); 3803 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
4663 } 4647 }
4664 4648
4665 PathSeg removeLast() { 4649 PathSeg removeLast() {
4666 throw new UnsupportedError("Cannot remove from immutable List."); 4650 throw new UnsupportedError("Cannot remove from immutable List.");
4667 } 4651 }
4668 4652
4669 void remove(Object object) { 4653 void remove(Object object) {
4670 throw new UnsupportedError("Cannot remove from immutable List."); 4654 throw new UnsupportedError("Cannot remove from immutable List.");
4671 } 4655 }
4672 4656
4673 void removeAll(Iterable elements) {
4674 throw new UnsupportedError("Cannot remove from immutable List.");
4675 }
4676
4677 void retainAll(Iterable elements) {
4678 throw new UnsupportedError("Cannot remove from immutable List.");
4679 }
4680
4681 void removeWhere(bool test(PathSeg element)) { 4657 void removeWhere(bool test(PathSeg element)) {
4682 throw new UnsupportedError("Cannot remove from immutable List."); 4658 throw new UnsupportedError("Cannot remove from immutable List.");
4683 } 4659 }
4684 4660
4685 void retainWhere(bool test(PathSeg element)) { 4661 void retainWhere(bool test(PathSeg element)) {
4686 throw new UnsupportedError("Cannot remove from immutable List."); 4662 throw new UnsupportedError("Cannot remove from immutable List.");
4687 } 4663 }
4688 4664
4689 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) { 4665 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom]) {
4690 throw new UnsupportedError("Cannot setRange on immutable List."); 4666 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
5564 } 5540 }
5565 5541
5566 String removeLast() { 5542 String removeLast() {
5567 throw new UnsupportedError("Cannot remove from immutable List."); 5543 throw new UnsupportedError("Cannot remove from immutable List.");
5568 } 5544 }
5569 5545
5570 void remove(Object object) { 5546 void remove(Object object) {
5571 throw new UnsupportedError("Cannot remove from immutable List."); 5547 throw new UnsupportedError("Cannot remove from immutable List.");
5572 } 5548 }
5573 5549
5574 void removeAll(Iterable elements) {
5575 throw new UnsupportedError("Cannot remove from immutable List.");
5576 }
5577
5578 void retainAll(Iterable elements) {
5579 throw new UnsupportedError("Cannot remove from immutable List.");
5580 }
5581
5582 void removeWhere(bool test(String element)) { 5550 void removeWhere(bool test(String element)) {
5583 throw new UnsupportedError("Cannot remove from immutable List."); 5551 throw new UnsupportedError("Cannot remove from immutable List.");
5584 } 5552 }
5585 5553
5586 void retainWhere(bool test(String element)) { 5554 void retainWhere(bool test(String element)) {
5587 throw new UnsupportedError("Cannot remove from immutable List."); 5555 throw new UnsupportedError("Cannot remove from immutable List.");
5588 } 5556 }
5589 5557
5590 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) { 5558 void setRange(int start, int rangeLength, List<String> from, [int startFrom]) {
5591 throw new UnsupportedError("Cannot setRange on immutable List."); 5559 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
6738 } 6706 }
6739 6707
6740 Transform removeLast() { 6708 Transform removeLast() {
6741 throw new UnsupportedError("Cannot remove from immutable List."); 6709 throw new UnsupportedError("Cannot remove from immutable List.");
6742 } 6710 }
6743 6711
6744 void remove(Object object) { 6712 void remove(Object object) {
6745 throw new UnsupportedError("Cannot remove from immutable List."); 6713 throw new UnsupportedError("Cannot remove from immutable List.");
6746 } 6714 }
6747 6715
6748 void removeAll(Iterable elements) {
6749 throw new UnsupportedError("Cannot remove from immutable List.");
6750 }
6751
6752 void retainAll(Iterable elements) {
6753 throw new UnsupportedError("Cannot remove from immutable List.");
6754 }
6755
6756 void removeWhere(bool test(Transform element)) { 6716 void removeWhere(bool test(Transform element)) {
6757 throw new UnsupportedError("Cannot remove from immutable List."); 6717 throw new UnsupportedError("Cannot remove from immutable List.");
6758 } 6718 }
6759 6719
6760 void retainWhere(bool test(Transform element)) { 6720 void retainWhere(bool test(Transform element)) {
6761 throw new UnsupportedError("Cannot remove from immutable List."); 6721 throw new UnsupportedError("Cannot remove from immutable List.");
6762 } 6722 }
6763 6723
6764 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) { 6724 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom ]) {
6765 throw new UnsupportedError("Cannot setRange on immutable List."); 6725 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
7273 } 7233 }
7274 7234
7275 ElementInstance removeLast() { 7235 ElementInstance removeLast() {
7276 throw new UnsupportedError("Cannot remove from immutable List."); 7236 throw new UnsupportedError("Cannot remove from immutable List.");
7277 } 7237 }
7278 7238
7279 void remove(Object object) { 7239 void remove(Object object) {
7280 throw new UnsupportedError("Cannot remove from immutable List."); 7240 throw new UnsupportedError("Cannot remove from immutable List.");
7281 } 7241 }
7282 7242
7283 void removeAll(Iterable elements) {
7284 throw new UnsupportedError("Cannot remove from immutable List.");
7285 }
7286
7287 void retainAll(Iterable elements) {
7288 throw new UnsupportedError("Cannot remove from immutable List.");
7289 }
7290
7291 void removeWhere(bool test(ElementInstance element)) { 7243 void removeWhere(bool test(ElementInstance element)) {
7292 throw new UnsupportedError("Cannot remove from immutable List."); 7244 throw new UnsupportedError("Cannot remove from immutable List.");
7293 } 7245 }
7294 7246
7295 void retainWhere(bool test(ElementInstance element)) { 7247 void retainWhere(bool test(ElementInstance element)) {
7296 throw new UnsupportedError("Cannot remove from immutable List."); 7248 throw new UnsupportedError("Cannot remove from immutable List.");
7297 } 7249 }
7298 7250
7299 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) { 7251 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta rtFrom]) {
7300 throw new UnsupportedError("Cannot setRange on immutable List."); 7252 throw new UnsupportedError("Cannot setRange on immutable List.");
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
7601 7553
7602 7554
7603 @DocsEditable 7555 @DocsEditable
7604 @DomName('SVGVKernElement') 7556 @DomName('SVGVKernElement')
7605 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { 7557 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7606 7558
7607 @DomName('SVGVKernElement.SVGVKernElement') 7559 @DomName('SVGVKernElement.SVGVKernElement')
7608 @DocsEditable 7560 @DocsEditable
7609 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7561 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7610 } 7562 }
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