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

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

Issue 14425003: Make List.remove return boolean. (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:_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:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 8 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 // DO NOT EDIT - unless you are editing documentation as per: 10 // DO NOT EDIT - unless you are editing documentation as per:
(...skipping 3146 matching lines...) Expand 10 before | Expand all | Expand 10 after
3157 } 3157 }
3158 3158
3159 Length removeAt(int pos) { 3159 Length removeAt(int pos) {
3160 throw new UnsupportedError("Cannot remove from immutable List."); 3160 throw new UnsupportedError("Cannot remove from immutable List.");
3161 } 3161 }
3162 3162
3163 Length removeLast() { 3163 Length removeLast() {
3164 throw new UnsupportedError("Cannot remove from immutable List."); 3164 throw new UnsupportedError("Cannot remove from immutable List.");
3165 } 3165 }
3166 3166
3167 void remove(Object object) { 3167 bool remove(Object object) {
3168 throw new UnsupportedError("Cannot remove from immutable List."); 3168 throw new UnsupportedError("Cannot remove from immutable List.");
3169 } 3169 }
3170 3170
3171 void removeWhere(bool test(Length element)) { 3171 void removeWhere(bool test(Length element)) {
3172 throw new UnsupportedError("Cannot remove from immutable List."); 3172 throw new UnsupportedError("Cannot remove from immutable List.");
3173 } 3173 }
3174 3174
3175 void retainWhere(bool test(Length element)) { 3175 void retainWhere(bool test(Length element)) {
3176 throw new UnsupportedError("Cannot remove from immutable List."); 3176 throw new UnsupportedError("Cannot remove from immutable List.");
3177 } 3177 }
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
3801 } 3801 }
3802 3802
3803 Number removeAt(int pos) { 3803 Number removeAt(int pos) {
3804 throw new UnsupportedError("Cannot remove from immutable List."); 3804 throw new UnsupportedError("Cannot remove from immutable List.");
3805 } 3805 }
3806 3806
3807 Number removeLast() { 3807 Number removeLast() {
3808 throw new UnsupportedError("Cannot remove from immutable List."); 3808 throw new UnsupportedError("Cannot remove from immutable List.");
3809 } 3809 }
3810 3810
3811 void remove(Object object) { 3811 bool remove(Object object) {
3812 throw new UnsupportedError("Cannot remove from immutable List."); 3812 throw new UnsupportedError("Cannot remove from immutable List.");
3813 } 3813 }
3814 3814
3815 void removeWhere(bool test(Number element)) { 3815 void removeWhere(bool test(Number element)) {
3816 throw new UnsupportedError("Cannot remove from immutable List."); 3816 throw new UnsupportedError("Cannot remove from immutable List.");
3817 } 3817 }
3818 3818
3819 void retainWhere(bool test(Number element)) { 3819 void retainWhere(bool test(Number element)) {
3820 throw new UnsupportedError("Cannot remove from immutable List."); 3820 throw new UnsupportedError("Cannot remove from immutable List.");
3821 } 3821 }
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
4676 } 4676 }
4677 4677
4678 PathSeg removeAt(int pos) { 4678 PathSeg removeAt(int pos) {
4679 throw new UnsupportedError("Cannot remove from immutable List."); 4679 throw new UnsupportedError("Cannot remove from immutable List.");
4680 } 4680 }
4681 4681
4682 PathSeg removeLast() { 4682 PathSeg removeLast() {
4683 throw new UnsupportedError("Cannot remove from immutable List."); 4683 throw new UnsupportedError("Cannot remove from immutable List.");
4684 } 4684 }
4685 4685
4686 void remove(Object object) { 4686 bool remove(Object object) {
4687 throw new UnsupportedError("Cannot remove from immutable List."); 4687 throw new UnsupportedError("Cannot remove from immutable List.");
4688 } 4688 }
4689 4689
4690 void removeWhere(bool test(PathSeg element)) { 4690 void removeWhere(bool test(PathSeg element)) {
4691 throw new UnsupportedError("Cannot remove from immutable List."); 4691 throw new UnsupportedError("Cannot remove from immutable List.");
4692 } 4692 }
4693 4693
4694 void retainWhere(bool test(PathSeg element)) { 4694 void retainWhere(bool test(PathSeg element)) {
4695 throw new UnsupportedError("Cannot remove from immutable List."); 4695 throw new UnsupportedError("Cannot remove from immutable List.");
4696 } 4696 }
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
5581 } 5581 }
5582 5582
5583 String removeAt(int pos) { 5583 String removeAt(int pos) {
5584 throw new UnsupportedError("Cannot remove from immutable List."); 5584 throw new UnsupportedError("Cannot remove from immutable List.");
5585 } 5585 }
5586 5586
5587 String removeLast() { 5587 String removeLast() {
5588 throw new UnsupportedError("Cannot remove from immutable List."); 5588 throw new UnsupportedError("Cannot remove from immutable List.");
5589 } 5589 }
5590 5590
5591 void remove(Object object) { 5591 bool remove(Object object) {
5592 throw new UnsupportedError("Cannot remove from immutable List."); 5592 throw new UnsupportedError("Cannot remove from immutable List.");
5593 } 5593 }
5594 5594
5595 void removeWhere(bool test(String element)) { 5595 void removeWhere(bool test(String element)) {
5596 throw new UnsupportedError("Cannot remove from immutable List."); 5596 throw new UnsupportedError("Cannot remove from immutable List.");
5597 } 5597 }
5598 5598
5599 void retainWhere(bool test(String element)) { 5599 void retainWhere(bool test(String element)) {
5600 throw new UnsupportedError("Cannot remove from immutable List."); 5600 throw new UnsupportedError("Cannot remove from immutable List.");
5601 } 5601 }
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
6759 } 6759 }
6760 6760
6761 Transform removeAt(int pos) { 6761 Transform removeAt(int pos) {
6762 throw new UnsupportedError("Cannot remove from immutable List."); 6762 throw new UnsupportedError("Cannot remove from immutable List.");
6763 } 6763 }
6764 6764
6765 Transform removeLast() { 6765 Transform removeLast() {
6766 throw new UnsupportedError("Cannot remove from immutable List."); 6766 throw new UnsupportedError("Cannot remove from immutable List.");
6767 } 6767 }
6768 6768
6769 void remove(Object object) { 6769 bool remove(Object object) {
6770 throw new UnsupportedError("Cannot remove from immutable List."); 6770 throw new UnsupportedError("Cannot remove from immutable List.");
6771 } 6771 }
6772 6772
6773 void removeWhere(bool test(Transform element)) { 6773 void removeWhere(bool test(Transform element)) {
6774 throw new UnsupportedError("Cannot remove from immutable List."); 6774 throw new UnsupportedError("Cannot remove from immutable List.");
6775 } 6775 }
6776 6776
6777 void retainWhere(bool test(Transform element)) { 6777 void retainWhere(bool test(Transform element)) {
6778 throw new UnsupportedError("Cannot remove from immutable List."); 6778 throw new UnsupportedError("Cannot remove from immutable List.");
6779 } 6779 }
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
7298 } 7298 }
7299 7299
7300 ElementInstance removeAt(int pos) { 7300 ElementInstance removeAt(int pos) {
7301 throw new UnsupportedError("Cannot remove from immutable List."); 7301 throw new UnsupportedError("Cannot remove from immutable List.");
7302 } 7302 }
7303 7303
7304 ElementInstance removeLast() { 7304 ElementInstance removeLast() {
7305 throw new UnsupportedError("Cannot remove from immutable List."); 7305 throw new UnsupportedError("Cannot remove from immutable List.");
7306 } 7306 }
7307 7307
7308 void remove(Object object) { 7308 bool remove(Object object) {
7309 throw new UnsupportedError("Cannot remove from immutable List."); 7309 throw new UnsupportedError("Cannot remove from immutable List.");
7310 } 7310 }
7311 7311
7312 void removeWhere(bool test(ElementInstance element)) { 7312 void removeWhere(bool test(ElementInstance element)) {
7313 throw new UnsupportedError("Cannot remove from immutable List."); 7313 throw new UnsupportedError("Cannot remove from immutable List.");
7314 } 7314 }
7315 7315
7316 void retainWhere(bool test(ElementInstance element)) { 7316 void retainWhere(bool test(ElementInstance element)) {
7317 throw new UnsupportedError("Cannot remove from immutable List."); 7317 throw new UnsupportedError("Cannot remove from immutable List.");
7318 } 7318 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
7626 7626
7627 7627
7628 @DocsEditable 7628 @DocsEditable
7629 @DomName('SVGVKernElement') 7629 @DomName('SVGVKernElement')
7630 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { 7630 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" {
7631 7631
7632 @DomName('SVGVKernElement.SVGVKernElement') 7632 @DomName('SVGVKernElement.SVGVKernElement')
7633 @DocsEditable 7633 @DocsEditable
7634 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7634 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7635 } 7635 }
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