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

Side by Side Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 50263004: Make sure that classes in dart:html do not implement both List and List<E>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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' hide deprecated; 5 import 'dart:_collection-dev' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated dart:svg library. 10 // Auto-generated dart:svg library.
(...skipping 3199 matching lines...) Expand 10 before | Expand all | Expand 10 after
3210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3211 // for details. All rights reserved. Use of this source code is governed by a 3211 // for details. All rights reserved. Use of this source code is governed by a
3212 // BSD-style license that can be found in the LICENSE file. 3212 // BSD-style license that can be found in the LICENSE file.
3213 3213
3214 // WARNING: Do not edit - generated code. 3214 // WARNING: Do not edit - generated code.
3215 3215
3216 3216
3217 @DocsEditable() 3217 @DocsEditable()
3218 @DomName('SVGLengthList') 3218 @DomName('SVGLengthList')
3219 @Unstable() 3219 @Unstable()
3220 class LengthList extends NativeFieldWrapperClass2 with ListMixin<Length>, Immuta bleListMixin<Length> implements List { 3220 class LengthList extends NativeFieldWrapperClass2 with ListMixin<Length>, Immuta bleListMixin<Length> implements List<Length> {
3221 // To suppress missing implicit constructor warnings. 3221 // To suppress missing implicit constructor warnings.
3222 factory LengthList._() { throw new UnsupportedError("Not supported"); } 3222 factory LengthList._() { throw new UnsupportedError("Not supported"); }
3223 3223
3224 @DomName('SVGLengthList.numberOfItems') 3224 @DomName('SVGLengthList.numberOfItems')
3225 @DocsEditable() 3225 @DocsEditable()
3226 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; 3226 int get numberOfItems native "SVGLengthList_numberOfItems_Getter";
3227 3227
3228 Length operator[](int index) { 3228 Length operator[](int index) {
3229 if (index < 0 || index >= length) 3229 if (index < 0 || index >= length)
3230 throw new RangeError.range(index, 0, length); 3230 throw new RangeError.range(index, 0, length);
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
3706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3707 // for details. All rights reserved. Use of this source code is governed by a 3707 // for details. All rights reserved. Use of this source code is governed by a
3708 // BSD-style license that can be found in the LICENSE file. 3708 // BSD-style license that can be found in the LICENSE file.
3709 3709
3710 // WARNING: Do not edit - generated code. 3710 // WARNING: Do not edit - generated code.
3711 3711
3712 3712
3713 @DocsEditable() 3713 @DocsEditable()
3714 @DomName('SVGNumberList') 3714 @DomName('SVGNumberList')
3715 @Unstable() 3715 @Unstable()
3716 class NumberList extends NativeFieldWrapperClass2 with ListMixin<Number>, Immuta bleListMixin<Number> implements List { 3716 class NumberList extends NativeFieldWrapperClass2 with ListMixin<Number>, Immuta bleListMixin<Number> implements List<Number> {
3717 // To suppress missing implicit constructor warnings. 3717 // To suppress missing implicit constructor warnings.
3718 factory NumberList._() { throw new UnsupportedError("Not supported"); } 3718 factory NumberList._() { throw new UnsupportedError("Not supported"); }
3719 3719
3720 @DomName('SVGNumberList.numberOfItems') 3720 @DomName('SVGNumberList.numberOfItems')
3721 @DocsEditable() 3721 @DocsEditable()
3722 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; 3722 int get numberOfItems native "SVGNumberList_numberOfItems_Getter";
3723 3723
3724 Number operator[](int index) { 3724 Number operator[](int index) {
3725 if (index < 0 || index >= length) 3725 if (index < 0 || index >= length)
3726 throw new RangeError.range(index, 0, length); 3726 throw new RangeError.range(index, 0, length);
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
4726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4727 // for details. All rights reserved. Use of this source code is governed by a 4727 // for details. All rights reserved. Use of this source code is governed by a
4728 // BSD-style license that can be found in the LICENSE file. 4728 // BSD-style license that can be found in the LICENSE file.
4729 4729
4730 // WARNING: Do not edit - generated code. 4730 // WARNING: Do not edit - generated code.
4731 4731
4732 4732
4733 @DocsEditable() 4733 @DocsEditable()
4734 @DomName('SVGPathSegList') 4734 @DomName('SVGPathSegList')
4735 @Unstable() 4735 @Unstable()
4736 class PathSegList extends NativeFieldWrapperClass2 with ListMixin<PathSeg>, Immu tableListMixin<PathSeg> implements List { 4736 class PathSegList extends NativeFieldWrapperClass2 with ListMixin<PathSeg>, Immu tableListMixin<PathSeg> implements List<PathSeg> {
4737 // To suppress missing implicit constructor warnings. 4737 // To suppress missing implicit constructor warnings.
4738 factory PathSegList._() { throw new UnsupportedError("Not supported"); } 4738 factory PathSegList._() { throw new UnsupportedError("Not supported"); }
4739 4739
4740 @DomName('SVGPathSegList.numberOfItems') 4740 @DomName('SVGPathSegList.numberOfItems')
4741 @DocsEditable() 4741 @DocsEditable()
4742 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; 4742 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter";
4743 4743
4744 PathSeg operator[](int index) { 4744 PathSeg operator[](int index) {
4745 if (index < 0 || index >= length) 4745 if (index < 0 || index >= length)
4746 throw new RangeError.range(index, 0, length); 4746 throw new RangeError.range(index, 0, length);
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
5498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5499 // for details. All rights reserved. Use of this source code is governed by a 5499 // for details. All rights reserved. Use of this source code is governed by a
5500 // BSD-style license that can be found in the LICENSE file. 5500 // BSD-style license that can be found in the LICENSE file.
5501 5501
5502 // WARNING: Do not edit - generated code. 5502 // WARNING: Do not edit - generated code.
5503 5503
5504 5504
5505 @DocsEditable() 5505 @DocsEditable()
5506 @DomName('SVGStringList') 5506 @DomName('SVGStringList')
5507 @Unstable() 5507 @Unstable()
5508 class StringList extends NativeFieldWrapperClass2 with ListMixin<String>, Immuta bleListMixin<String> implements List { 5508 class StringList extends NativeFieldWrapperClass2 with ListMixin<String>, Immuta bleListMixin<String> implements List<String> {
5509 // To suppress missing implicit constructor warnings. 5509 // To suppress missing implicit constructor warnings.
5510 factory StringList._() { throw new UnsupportedError("Not supported"); } 5510 factory StringList._() { throw new UnsupportedError("Not supported"); }
5511 5511
5512 @DomName('SVGStringList.numberOfItems') 5512 @DomName('SVGStringList.numberOfItems')
5513 @DocsEditable() 5513 @DocsEditable()
5514 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; 5514 int get numberOfItems native "SVGStringList_numberOfItems_Getter";
5515 5515
5516 String operator[](int index) { 5516 String operator[](int index) {
5517 if (index < 0 || index >= length) 5517 if (index < 0 || index >= length)
5518 throw new RangeError.range(index, 0, length); 5518 throw new RangeError.range(index, 0, length);
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
6522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6523 // for details. All rights reserved. Use of this source code is governed by a 6523 // for details. All rights reserved. Use of this source code is governed by a
6524 // BSD-style license that can be found in the LICENSE file. 6524 // BSD-style license that can be found in the LICENSE file.
6525 6525
6526 // WARNING: Do not edit - generated code. 6526 // WARNING: Do not edit - generated code.
6527 6527
6528 6528
6529 @DocsEditable() 6529 @DocsEditable()
6530 @DomName('SVGTransformList') 6530 @DomName('SVGTransformList')
6531 @Unstable() 6531 @Unstable()
6532 class TransformList extends NativeFieldWrapperClass2 with ListMixin<Transform>, ImmutableListMixin<Transform> implements List { 6532 class TransformList extends NativeFieldWrapperClass2 with ListMixin<Transform>, ImmutableListMixin<Transform> implements List<Transform> {
6533 // To suppress missing implicit constructor warnings. 6533 // To suppress missing implicit constructor warnings.
6534 factory TransformList._() { throw new UnsupportedError("Not supported"); } 6534 factory TransformList._() { throw new UnsupportedError("Not supported"); }
6535 6535
6536 @DomName('SVGTransformList.numberOfItems') 6536 @DomName('SVGTransformList.numberOfItems')
6537 @DocsEditable() 6537 @DocsEditable()
6538 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; 6538 int get numberOfItems native "SVGTransformList_numberOfItems_Getter";
6539 6539
6540 Transform operator[](int index) { 6540 Transform operator[](int index) {
6541 if (index < 0 || index >= length) 6541 if (index < 0 || index >= length)
6542 throw new RangeError.range(index, 0, length); 6542 throw new RangeError.range(index, 0, length);
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
6920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6921 // for details. All rights reserved. Use of this source code is governed by a 6921 // for details. All rights reserved. Use of this source code is governed by a
6922 // BSD-style license that can be found in the LICENSE file. 6922 // BSD-style license that can be found in the LICENSE file.
6923 6923
6924 // WARNING: Do not edit - generated code. 6924 // WARNING: Do not edit - generated code.
6925 6925
6926 6926
6927 @DocsEditable() 6927 @DocsEditable()
6928 @DomName('SVGElementInstanceList') 6928 @DomName('SVGElementInstanceList')
6929 @Unstable() 6929 @Unstable()
6930 class _ElementInstanceList extends NativeFieldWrapperClass2 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List { 6930 class _ElementInstanceList extends NativeFieldWrapperClass2 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance > {
6931 // To suppress missing implicit constructor warnings. 6931 // To suppress missing implicit constructor warnings.
6932 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; } 6932 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; }
6933 6933
6934 @DomName('SVGElementInstanceList.length') 6934 @DomName('SVGElementInstanceList.length')
6935 @DocsEditable() 6935 @DocsEditable()
6936 int get length native "SVGElementInstanceList_length_Getter"; 6936 int get length native "SVGElementInstanceList_length_Getter";
6937 6937
6938 ElementInstance operator[](int index) { 6938 ElementInstance operator[](int index) {
6939 if (index < 0 || index >= length) 6939 if (index < 0 || index >= length)
6940 throw new RangeError.range(index, 0, length); 6940 throw new RangeError.range(index, 0, length);
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
7463 @DocsEditable() 7463 @DocsEditable()
7464 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7464 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7465 /** 7465 /**
7466 * Constructor instantiated by the DOM when a custom element has been created. 7466 * Constructor instantiated by the DOM when a custom element has been created.
7467 * 7467 *
7468 * This can only be called by subclasses from their created constructor. 7468 * This can only be called by subclasses from their created constructor.
7469 */ 7469 */
7470 _SVGVKernElement.created() : super.created(); 7470 _SVGVKernElement.created() : super.created();
7471 7471
7472 } 7472 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698