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

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

Issue 11316264: Snapshotting changes for dart:html_common (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to latest. Created 8 years 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 svg; 1 library svg;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 // DO NOT EDIT 4 // DO NOT EDIT
5 // Auto-generated dart:svg library. 5 // Auto-generated dart:svg library.
6 6
7 7
8 8
9 9
10 10
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 } 351 }
352 352
353 void addLast(AnimatedLength value) { 353 void addLast(AnimatedLength value) {
354 throw new UnsupportedError("Cannot add to immutable List."); 354 throw new UnsupportedError("Cannot add to immutable List.");
355 } 355 }
356 356
357 void addAll(Collection<AnimatedLength> collection) { 357 void addAll(Collection<AnimatedLength> collection) {
358 throw new UnsupportedError("Cannot add to immutable List."); 358 throw new UnsupportedError("Cannot add to immutable List.");
359 } 359 }
360 360
361 bool contains(AnimatedLength element) => _Collections.contains(this, element); 361 bool contains(AnimatedLength element) => Collections.contains(this, element);
362 362
363 void forEach(void f(AnimatedLength element)) => _Collections.forEach(this, f); 363 void forEach(void f(AnimatedLength element)) => Collections.forEach(this, f);
364 364
365 Collection map(f(AnimatedLength element)) => _Collections.map(this, [], f); 365 Collection map(f(AnimatedLength element)) => Collections.map(this, [], f);
366 366
367 Collection<AnimatedLength> filter(bool f(AnimatedLength element)) => 367 Collection<AnimatedLength> filter(bool f(AnimatedLength element)) =>
368 _Collections.filter(this, <AnimatedLength>[], f); 368 Collections.filter(this, <AnimatedLength>[], f);
369 369
370 bool every(bool f(AnimatedLength element)) => _Collections.every(this, f); 370 bool every(bool f(AnimatedLength element)) => Collections.every(this, f);
371 371
372 bool some(bool f(AnimatedLength element)) => _Collections.some(this, f); 372 bool some(bool f(AnimatedLength element)) => Collections.some(this, f);
373 373
374 bool get isEmpty => this.length == 0; 374 bool get isEmpty => this.length == 0;
375 375
376 // From List<AnimatedLength>: 376 // From List<AnimatedLength>:
377 377
378 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) { 378 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) {
379 throw new UnsupportedError("Cannot sort immutable List."); 379 throw new UnsupportedError("Cannot sort immutable List.");
380 } 380 }
381 381
382 int indexOf(AnimatedLength element, [int start = 0]) => 382 int indexOf(AnimatedLength element, [int start = 0]) =>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 464 }
465 465
466 void addLast(AnimatedNumber value) { 466 void addLast(AnimatedNumber value) {
467 throw new UnsupportedError("Cannot add to immutable List."); 467 throw new UnsupportedError("Cannot add to immutable List.");
468 } 468 }
469 469
470 void addAll(Collection<AnimatedNumber> collection) { 470 void addAll(Collection<AnimatedNumber> collection) {
471 throw new UnsupportedError("Cannot add to immutable List."); 471 throw new UnsupportedError("Cannot add to immutable List.");
472 } 472 }
473 473
474 bool contains(AnimatedNumber element) => _Collections.contains(this, element); 474 bool contains(AnimatedNumber element) => Collections.contains(this, element);
475 475
476 void forEach(void f(AnimatedNumber element)) => _Collections.forEach(this, f); 476 void forEach(void f(AnimatedNumber element)) => Collections.forEach(this, f);
477 477
478 Collection map(f(AnimatedNumber element)) => _Collections.map(this, [], f); 478 Collection map(f(AnimatedNumber element)) => Collections.map(this, [], f);
479 479
480 Collection<AnimatedNumber> filter(bool f(AnimatedNumber element)) => 480 Collection<AnimatedNumber> filter(bool f(AnimatedNumber element)) =>
481 _Collections.filter(this, <AnimatedNumber>[], f); 481 Collections.filter(this, <AnimatedNumber>[], f);
482 482
483 bool every(bool f(AnimatedNumber element)) => _Collections.every(this, f); 483 bool every(bool f(AnimatedNumber element)) => Collections.every(this, f);
484 484
485 bool some(bool f(AnimatedNumber element)) => _Collections.some(this, f); 485 bool some(bool f(AnimatedNumber element)) => Collections.some(this, f);
486 486
487 bool get isEmpty => this.length == 0; 487 bool get isEmpty => this.length == 0;
488 488
489 // From List<AnimatedNumber>: 489 // From List<AnimatedNumber>:
490 490
491 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) { 491 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) {
492 throw new UnsupportedError("Cannot sort immutable List."); 492 throw new UnsupportedError("Cannot sort immutable List.");
493 } 493 }
494 494
495 int indexOf(AnimatedNumber element, [int start = 0]) => 495 int indexOf(AnimatedNumber element, [int start = 0]) =>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 } 605 }
606 606
607 void addLast(AnimateTransformElement value) { 607 void addLast(AnimateTransformElement value) {
608 throw new UnsupportedError("Cannot add to immutable List."); 608 throw new UnsupportedError("Cannot add to immutable List.");
609 } 609 }
610 610
611 void addAll(Collection<AnimateTransformElement> collection) { 611 void addAll(Collection<AnimateTransformElement> collection) {
612 throw new UnsupportedError("Cannot add to immutable List."); 612 throw new UnsupportedError("Cannot add to immutable List.");
613 } 613 }
614 614
615 bool contains(AnimateTransformElement element) => _Collections.contains(this, element); 615 bool contains(AnimateTransformElement element) => Collections.contains(this, e lement);
616 616
617 void forEach(void f(AnimateTransformElement element)) => _Collections.forEach( this, f); 617 void forEach(void f(AnimateTransformElement element)) => Collections.forEach(t his, f);
618 618
619 Collection map(f(AnimateTransformElement element)) => _Collections.map(this, [ ], f); 619 Collection map(f(AnimateTransformElement element)) => Collections.map(this, [] , f);
620 620
621 Collection<AnimateTransformElement> filter(bool f(AnimateTransformElement elem ent)) => 621 Collection<AnimateTransformElement> filter(bool f(AnimateTransformElement elem ent)) =>
622 _Collections.filter(this, <AnimateTransformElement>[], f); 622 Collections.filter(this, <AnimateTransformElement>[], f);
623 623
624 bool every(bool f(AnimateTransformElement element)) => _Collections.every(this , f); 624 bool every(bool f(AnimateTransformElement element)) => Collections.every(this, f);
625 625
626 bool some(bool f(AnimateTransformElement element)) => _Collections.some(this, f); 626 bool some(bool f(AnimateTransformElement element)) => Collections.some(this, f );
627 627
628 bool get isEmpty => this.length == 0; 628 bool get isEmpty => this.length == 0;
629 629
630 // From List<AnimateTransformElement>: 630 // From List<AnimateTransformElement>:
631 631
632 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare]) { 632 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare]) {
633 throw new UnsupportedError("Cannot sort immutable List."); 633 throw new UnsupportedError("Cannot sort immutable List.");
634 } 634 }
635 635
636 int indexOf(AnimateTransformElement element, [int start = 0]) => 636 int indexOf(AnimateTransformElement element, [int start = 0]) =>
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2978 } 2978 }
2979 2979
2980 void addLast(Length value) { 2980 void addLast(Length value) {
2981 throw new UnsupportedError("Cannot add to immutable List."); 2981 throw new UnsupportedError("Cannot add to immutable List.");
2982 } 2982 }
2983 2983
2984 void addAll(Collection<Length> collection) { 2984 void addAll(Collection<Length> collection) {
2985 throw new UnsupportedError("Cannot add to immutable List."); 2985 throw new UnsupportedError("Cannot add to immutable List.");
2986 } 2986 }
2987 2987
2988 bool contains(Length element) => _Collections.contains(this, element); 2988 bool contains(Length element) => Collections.contains(this, element);
2989 2989
2990 void forEach(void f(Length element)) => _Collections.forEach(this, f); 2990 void forEach(void f(Length element)) => Collections.forEach(this, f);
2991 2991
2992 Collection map(f(Length element)) => _Collections.map(this, [], f); 2992 Collection map(f(Length element)) => Collections.map(this, [], f);
2993 2993
2994 Collection<Length> filter(bool f(Length element)) => 2994 Collection<Length> filter(bool f(Length element)) =>
2995 _Collections.filter(this, <Length>[], f); 2995 Collections.filter(this, <Length>[], f);
2996 2996
2997 bool every(bool f(Length element)) => _Collections.every(this, f); 2997 bool every(bool f(Length element)) => Collections.every(this, f);
2998 2998
2999 bool some(bool f(Length element)) => _Collections.some(this, f); 2999 bool some(bool f(Length element)) => Collections.some(this, f);
3000 3000
3001 bool get isEmpty => this.length == 0; 3001 bool get isEmpty => this.length == 0;
3002 3002
3003 // From List<Length>: 3003 // From List<Length>:
3004 3004
3005 void sort([Comparator<Length> compare = Comparable.compare]) { 3005 void sort([Comparator<Length> compare = Comparable.compare]) {
3006 throw new UnsupportedError("Cannot sort immutable List."); 3006 throw new UnsupportedError("Cannot sort immutable List.");
3007 } 3007 }
3008 3008
3009 int indexOf(Length element, [int start = 0]) => 3009 int indexOf(Length element, [int start = 0]) =>
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
3484 } 3484 }
3485 3485
3486 void addLast(Number value) { 3486 void addLast(Number value) {
3487 throw new UnsupportedError("Cannot add to immutable List."); 3487 throw new UnsupportedError("Cannot add to immutable List.");
3488 } 3488 }
3489 3489
3490 void addAll(Collection<Number> collection) { 3490 void addAll(Collection<Number> collection) {
3491 throw new UnsupportedError("Cannot add to immutable List."); 3491 throw new UnsupportedError("Cannot add to immutable List.");
3492 } 3492 }
3493 3493
3494 bool contains(Number element) => _Collections.contains(this, element); 3494 bool contains(Number element) => Collections.contains(this, element);
3495 3495
3496 void forEach(void f(Number element)) => _Collections.forEach(this, f); 3496 void forEach(void f(Number element)) => Collections.forEach(this, f);
3497 3497
3498 Collection map(f(Number element)) => _Collections.map(this, [], f); 3498 Collection map(f(Number element)) => Collections.map(this, [], f);
3499 3499
3500 Collection<Number> filter(bool f(Number element)) => 3500 Collection<Number> filter(bool f(Number element)) =>
3501 _Collections.filter(this, <Number>[], f); 3501 Collections.filter(this, <Number>[], f);
3502 3502
3503 bool every(bool f(Number element)) => _Collections.every(this, f); 3503 bool every(bool f(Number element)) => Collections.every(this, f);
3504 3504
3505 bool some(bool f(Number element)) => _Collections.some(this, f); 3505 bool some(bool f(Number element)) => Collections.some(this, f);
3506 3506
3507 bool get isEmpty => this.length == 0; 3507 bool get isEmpty => this.length == 0;
3508 3508
3509 // From List<Number>: 3509 // From List<Number>:
3510 3510
3511 void sort([Comparator<Number> compare = Comparable.compare]) { 3511 void sort([Comparator<Number> compare = Comparable.compare]) {
3512 throw new UnsupportedError("Cannot sort immutable List."); 3512 throw new UnsupportedError("Cannot sort immutable List.");
3513 } 3513 }
3514 3514
3515 int indexOf(Number element, [int start = 0]) => 3515 int indexOf(Number element, [int start = 0]) =>
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
4169 } 4169 }
4170 4170
4171 void addLast(PathSeg value) { 4171 void addLast(PathSeg value) {
4172 throw new UnsupportedError("Cannot add to immutable List."); 4172 throw new UnsupportedError("Cannot add to immutable List.");
4173 } 4173 }
4174 4174
4175 void addAll(Collection<PathSeg> collection) { 4175 void addAll(Collection<PathSeg> collection) {
4176 throw new UnsupportedError("Cannot add to immutable List."); 4176 throw new UnsupportedError("Cannot add to immutable List.");
4177 } 4177 }
4178 4178
4179 bool contains(PathSeg element) => _Collections.contains(this, element); 4179 bool contains(PathSeg element) => Collections.contains(this, element);
4180 4180
4181 void forEach(void f(PathSeg element)) => _Collections.forEach(this, f); 4181 void forEach(void f(PathSeg element)) => Collections.forEach(this, f);
4182 4182
4183 Collection map(f(PathSeg element)) => _Collections.map(this, [], f); 4183 Collection map(f(PathSeg element)) => Collections.map(this, [], f);
4184 4184
4185 Collection<PathSeg> filter(bool f(PathSeg element)) => 4185 Collection<PathSeg> filter(bool f(PathSeg element)) =>
4186 _Collections.filter(this, <PathSeg>[], f); 4186 Collections.filter(this, <PathSeg>[], f);
4187 4187
4188 bool every(bool f(PathSeg element)) => _Collections.every(this, f); 4188 bool every(bool f(PathSeg element)) => Collections.every(this, f);
4189 4189
4190 bool some(bool f(PathSeg element)) => _Collections.some(this, f); 4190 bool some(bool f(PathSeg element)) => Collections.some(this, f);
4191 4191
4192 bool get isEmpty => this.length == 0; 4192 bool get isEmpty => this.length == 0;
4193 4193
4194 // From List<PathSeg>: 4194 // From List<PathSeg>:
4195 4195
4196 void sort([Comparator<PathSeg> compare = Comparable.compare]) { 4196 void sort([Comparator<PathSeg> compare = Comparable.compare]) {
4197 throw new UnsupportedError("Cannot sort immutable List."); 4197 throw new UnsupportedError("Cannot sort immutable List.");
4198 } 4198 }
4199 4199
4200 int indexOf(PathSeg element, [int start = 0]) => 4200 int indexOf(PathSeg element, [int start = 0]) =>
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
4872 } 4872 }
4873 4873
4874 void addLast(String value) { 4874 void addLast(String value) {
4875 throw new UnsupportedError("Cannot add to immutable List."); 4875 throw new UnsupportedError("Cannot add to immutable List.");
4876 } 4876 }
4877 4877
4878 void addAll(Collection<String> collection) { 4878 void addAll(Collection<String> collection) {
4879 throw new UnsupportedError("Cannot add to immutable List."); 4879 throw new UnsupportedError("Cannot add to immutable List.");
4880 } 4880 }
4881 4881
4882 bool contains(String element) => _Collections.contains(this, element); 4882 bool contains(String element) => Collections.contains(this, element);
4883 4883
4884 void forEach(void f(String element)) => _Collections.forEach(this, f); 4884 void forEach(void f(String element)) => Collections.forEach(this, f);
4885 4885
4886 Collection map(f(String element)) => _Collections.map(this, [], f); 4886 Collection map(f(String element)) => Collections.map(this, [], f);
4887 4887
4888 Collection<String> filter(bool f(String element)) => 4888 Collection<String> filter(bool f(String element)) =>
4889 _Collections.filter(this, <String>[], f); 4889 Collections.filter(this, <String>[], f);
4890 4890
4891 bool every(bool f(String element)) => _Collections.every(this, f); 4891 bool every(bool f(String element)) => Collections.every(this, f);
4892 4892
4893 bool some(bool f(String element)) => _Collections.some(this, f); 4893 bool some(bool f(String element)) => Collections.some(this, f);
4894 4894
4895 bool get isEmpty => this.length == 0; 4895 bool get isEmpty => this.length == 0;
4896 4896
4897 // From List<String>: 4897 // From List<String>:
4898 4898
4899 void sort([Comparator<String> compare = Comparable.compare]) { 4899 void sort([Comparator<String> compare = Comparable.compare]) {
4900 throw new UnsupportedError("Cannot sort immutable List."); 4900 throw new UnsupportedError("Cannot sort immutable List.");
4901 } 4901 }
4902 4902
4903 int indexOf(String element, [int start = 0]) => 4903 int indexOf(String element, [int start = 0]) =>
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
5816 } 5816 }
5817 5817
5818 void addLast(Transform value) { 5818 void addLast(Transform value) {
5819 throw new UnsupportedError("Cannot add to immutable List."); 5819 throw new UnsupportedError("Cannot add to immutable List.");
5820 } 5820 }
5821 5821
5822 void addAll(Collection<Transform> collection) { 5822 void addAll(Collection<Transform> collection) {
5823 throw new UnsupportedError("Cannot add to immutable List."); 5823 throw new UnsupportedError("Cannot add to immutable List.");
5824 } 5824 }
5825 5825
5826 bool contains(Transform element) => _Collections.contains(this, element); 5826 bool contains(Transform element) => Collections.contains(this, element);
5827 5827
5828 void forEach(void f(Transform element)) => _Collections.forEach(this, f); 5828 void forEach(void f(Transform element)) => Collections.forEach(this, f);
5829 5829
5830 Collection map(f(Transform element)) => _Collections.map(this, [], f); 5830 Collection map(f(Transform element)) => Collections.map(this, [], f);
5831 5831
5832 Collection<Transform> filter(bool f(Transform element)) => 5832 Collection<Transform> filter(bool f(Transform element)) =>
5833 _Collections.filter(this, <Transform>[], f); 5833 Collections.filter(this, <Transform>[], f);
5834 5834
5835 bool every(bool f(Transform element)) => _Collections.every(this, f); 5835 bool every(bool f(Transform element)) => Collections.every(this, f);
5836 5836
5837 bool some(bool f(Transform element)) => _Collections.some(this, f); 5837 bool some(bool f(Transform element)) => Collections.some(this, f);
5838 5838
5839 bool get isEmpty => this.length == 0; 5839 bool get isEmpty => this.length == 0;
5840 5840
5841 // From List<Transform>: 5841 // From List<Transform>:
5842 5842
5843 void sort([Comparator<Transform> compare = Comparable.compare]) { 5843 void sort([Comparator<Transform> compare = Comparable.compare]) {
5844 throw new UnsupportedError("Cannot sort immutable List."); 5844 throw new UnsupportedError("Cannot sort immutable List.");
5845 } 5845 }
5846 5846
5847 int indexOf(Transform element, [int start = 0]) => 5847 int indexOf(Transform element, [int start = 0]) =>
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
6206 } 6206 }
6207 6207
6208 void addLast(ElementInstance value) { 6208 void addLast(ElementInstance value) {
6209 throw new UnsupportedError("Cannot add to immutable List."); 6209 throw new UnsupportedError("Cannot add to immutable List.");
6210 } 6210 }
6211 6211
6212 void addAll(Collection<ElementInstance> collection) { 6212 void addAll(Collection<ElementInstance> collection) {
6213 throw new UnsupportedError("Cannot add to immutable List."); 6213 throw new UnsupportedError("Cannot add to immutable List.");
6214 } 6214 }
6215 6215
6216 bool contains(ElementInstance element) => _Collections.contains(this, element) ; 6216 bool contains(ElementInstance element) => Collections.contains(this, element);
6217 6217
6218 void forEach(void f(ElementInstance element)) => _Collections.forEach(this, f) ; 6218 void forEach(void f(ElementInstance element)) => Collections.forEach(this, f);
6219 6219
6220 Collection map(f(ElementInstance element)) => _Collections.map(this, [], f); 6220 Collection map(f(ElementInstance element)) => Collections.map(this, [], f);
6221 6221
6222 Collection<ElementInstance> filter(bool f(ElementInstance element)) => 6222 Collection<ElementInstance> filter(bool f(ElementInstance element)) =>
6223 _Collections.filter(this, <ElementInstance>[], f); 6223 Collections.filter(this, <ElementInstance>[], f);
6224 6224
6225 bool every(bool f(ElementInstance element)) => _Collections.every(this, f); 6225 bool every(bool f(ElementInstance element)) => Collections.every(this, f);
6226 6226
6227 bool some(bool f(ElementInstance element)) => _Collections.some(this, f); 6227 bool some(bool f(ElementInstance element)) => Collections.some(this, f);
6228 6228
6229 bool get isEmpty => this.length == 0; 6229 bool get isEmpty => this.length == 0;
6230 6230
6231 // From List<ElementInstance>: 6231 // From List<ElementInstance>:
6232 6232
6233 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { 6233 void sort([Comparator<ElementInstance> compare = Comparable.compare]) {
6234 throw new UnsupportedError("Cannot sort immutable List."); 6234 throw new UnsupportedError("Cannot sort immutable List.");
6235 } 6235 }
6236 6236
6237 int indexOf(ElementInstance element, [int start = 0]) => 6237 int indexOf(ElementInstance element, [int start = 0]) =>
(...skipping 25 matching lines...) Expand all
6263 } 6263 }
6264 6264
6265 List<ElementInstance> getRange(int start, int rangeLength) => 6265 List<ElementInstance> getRange(int start, int rangeLength) =>
6266 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 6266 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
6267 6267
6268 // -- end List<ElementInstance> mixins. 6268 // -- end List<ElementInstance> mixins.
6269 6269
6270 /// @domName SVGElementInstanceList.item; @docsEditable true 6270 /// @domName SVGElementInstanceList.item; @docsEditable true
6271 ElementInstance item(int index) native; 6271 ElementInstance item(int index) native;
6272 } 6272 }
OLDNEW
« no previous file with comments | « sdk/lib/html/templates/immutable_list_mixin.darttemplate ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698