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

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

Issue 27227002: Untyping List types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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' 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 3165 matching lines...) Expand 10 before | Expand all | Expand 10 after
3176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3177 // for details. All rights reserved. Use of this source code is governed by a 3177 // for details. All rights reserved. Use of this source code is governed by a
3178 // BSD-style license that can be found in the LICENSE file. 3178 // BSD-style license that can be found in the LICENSE file.
3179 3179
3180 // WARNING: Do not edit - generated code. 3180 // WARNING: Do not edit - generated code.
3181 3181
3182 3182
3183 @DocsEditable() 3183 @DocsEditable()
3184 @DomName('SVGLengthList') 3184 @DomName('SVGLengthList')
3185 @Unstable() 3185 @Unstable()
3186 class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta bleListMixin<Length> implements List<Length> { 3186 class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta bleListMixin<Length> implements List {
3187 3187
3188 @DomName('SVGLengthList.numberOfItems') 3188 @DomName('SVGLengthList.numberOfItems')
3189 @DocsEditable() 3189 @DocsEditable()
3190 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; 3190 int get numberOfItems native "SVGLengthList_numberOfItems_Getter";
3191 3191
3192 Length operator[](int index) { 3192 Length operator[](int index) {
3193 if (index < 0 || index >= length) 3193 if (index < 0 || index >= length)
3194 throw new RangeError.range(index, 0, length); 3194 throw new RangeError.range(index, 0, length);
3195 return getItem(index); 3195 return getItem(index);
3196 } 3196 }
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
3666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3667 // for details. All rights reserved. Use of this source code is governed by a 3667 // for details. All rights reserved. Use of this source code is governed by a
3668 // BSD-style license that can be found in the LICENSE file. 3668 // BSD-style license that can be found in the LICENSE file.
3669 3669
3670 // WARNING: Do not edit - generated code. 3670 // WARNING: Do not edit - generated code.
3671 3671
3672 3672
3673 @DocsEditable() 3673 @DocsEditable()
3674 @DomName('SVGNumberList') 3674 @DomName('SVGNumberList')
3675 @Unstable() 3675 @Unstable()
3676 class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta bleListMixin<Number> implements List<Number> { 3676 class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta bleListMixin<Number> implements List {
3677 3677
3678 @DomName('SVGNumberList.numberOfItems') 3678 @DomName('SVGNumberList.numberOfItems')
3679 @DocsEditable() 3679 @DocsEditable()
3680 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; 3680 int get numberOfItems native "SVGNumberList_numberOfItems_Getter";
3681 3681
3682 Number operator[](int index) { 3682 Number operator[](int index) {
3683 if (index < 0 || index >= length) 3683 if (index < 0 || index >= length)
3684 throw new RangeError.range(index, 0, length); 3684 throw new RangeError.range(index, 0, length);
3685 return getItem(index); 3685 return getItem(index);
3686 } 3686 }
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
4682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4683 // for details. All rights reserved. Use of this source code is governed by a 4683 // for details. All rights reserved. Use of this source code is governed by a
4684 // BSD-style license that can be found in the LICENSE file. 4684 // BSD-style license that can be found in the LICENSE file.
4685 4685
4686 // WARNING: Do not edit - generated code. 4686 // WARNING: Do not edit - generated code.
4687 4687
4688 4688
4689 @DocsEditable() 4689 @DocsEditable()
4690 @DomName('SVGPathSegList') 4690 @DomName('SVGPathSegList')
4691 @Unstable() 4691 @Unstable()
4692 class PathSegList extends NativeFieldWrapperClass1 with ListMixin<PathSeg>, Immu tableListMixin<PathSeg> implements List<PathSeg> { 4692 class PathSegList extends NativeFieldWrapperClass1 with ListMixin<PathSeg>, Immu tableListMixin<PathSeg> implements List {
4693 4693
4694 @DomName('SVGPathSegList.numberOfItems') 4694 @DomName('SVGPathSegList.numberOfItems')
4695 @DocsEditable() 4695 @DocsEditable()
4696 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; 4696 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter";
4697 4697
4698 PathSeg operator[](int index) { 4698 PathSeg operator[](int index) {
4699 if (index < 0 || index >= length) 4699 if (index < 0 || index >= length)
4700 throw new RangeError.range(index, 0, length); 4700 throw new RangeError.range(index, 0, length);
4701 return getItem(index); 4701 return getItem(index);
4702 } 4702 }
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
5442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5443 // for details. All rights reserved. Use of this source code is governed by a 5443 // for details. All rights reserved. Use of this source code is governed by a
5444 // BSD-style license that can be found in the LICENSE file. 5444 // BSD-style license that can be found in the LICENSE file.
5445 5445
5446 // WARNING: Do not edit - generated code. 5446 // WARNING: Do not edit - generated code.
5447 5447
5448 5448
5449 @DocsEditable() 5449 @DocsEditable()
5450 @DomName('SVGStringList') 5450 @DomName('SVGStringList')
5451 @Unstable() 5451 @Unstable()
5452 class StringList extends NativeFieldWrapperClass1 with ListMixin<String>, Immuta bleListMixin<String> implements List<String> { 5452 class StringList extends NativeFieldWrapperClass1 with ListMixin<String>, Immuta bleListMixin<String> implements List {
5453 5453
5454 @DomName('SVGStringList.numberOfItems') 5454 @DomName('SVGStringList.numberOfItems')
5455 @DocsEditable() 5455 @DocsEditable()
5456 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; 5456 int get numberOfItems native "SVGStringList_numberOfItems_Getter";
5457 5457
5458 String operator[](int index) { 5458 String operator[](int index) {
5459 if (index < 0 || index >= length) 5459 if (index < 0 || index >= length)
5460 throw new RangeError.range(index, 0, length); 5460 throw new RangeError.range(index, 0, length);
5461 return getItem(index); 5461 return getItem(index);
5462 } 5462 }
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
6460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6461 // for details. All rights reserved. Use of this source code is governed by a 6461 // for details. All rights reserved. Use of this source code is governed by a
6462 // BSD-style license that can be found in the LICENSE file. 6462 // BSD-style license that can be found in the LICENSE file.
6463 6463
6464 // WARNING: Do not edit - generated code. 6464 // WARNING: Do not edit - generated code.
6465 6465
6466 6466
6467 @DocsEditable() 6467 @DocsEditable()
6468 @DomName('SVGTransformList') 6468 @DomName('SVGTransformList')
6469 @Unstable() 6469 @Unstable()
6470 class TransformList extends NativeFieldWrapperClass1 with ListMixin<Transform>, ImmutableListMixin<Transform> implements List<Transform> { 6470 class TransformList extends NativeFieldWrapperClass1 with ListMixin<Transform>, ImmutableListMixin<Transform> implements List {
6471 6471
6472 @DomName('SVGTransformList.numberOfItems') 6472 @DomName('SVGTransformList.numberOfItems')
6473 @DocsEditable() 6473 @DocsEditable()
6474 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; 6474 int get numberOfItems native "SVGTransformList_numberOfItems_Getter";
6475 6475
6476 Transform operator[](int index) { 6476 Transform operator[](int index) {
6477 if (index < 0 || index >= length) 6477 if (index < 0 || index >= length)
6478 throw new RangeError.range(index, 0, length); 6478 throw new RangeError.range(index, 0, length);
6479 return getItem(index); 6479 return getItem(index);
6480 } 6480 }
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
6848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6849 // for details. All rights reserved. Use of this source code is governed by a 6849 // for details. All rights reserved. Use of this source code is governed by a
6850 // BSD-style license that can be found in the LICENSE file. 6850 // BSD-style license that can be found in the LICENSE file.
6851 6851
6852 // WARNING: Do not edit - generated code. 6852 // WARNING: Do not edit - generated code.
6853 6853
6854 6854
6855 @DocsEditable() 6855 @DocsEditable()
6856 @DomName('SVGElementInstanceList') 6856 @DomName('SVGElementInstanceList')
6857 @Unstable() 6857 @Unstable()
6858 class _ElementInstanceList extends NativeFieldWrapperClass1 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance > { 6858 class _ElementInstanceList extends NativeFieldWrapperClass1 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List {
6859 6859
6860 @DomName('SVGElementInstanceList.length') 6860 @DomName('SVGElementInstanceList.length')
6861 @DocsEditable() 6861 @DocsEditable()
6862 int get length native "SVGElementInstanceList_length_Getter"; 6862 int get length native "SVGElementInstanceList_length_Getter";
6863 6863
6864 ElementInstance operator[](int index) { 6864 ElementInstance operator[](int index) {
6865 if (index < 0 || index >= length) 6865 if (index < 0 || index >= length)
6866 throw new RangeError.range(index, 0, length); 6866 throw new RangeError.range(index, 0, length);
6867 return _nativeIndexedGetter(index); 6867 return _nativeIndexedGetter(index);
6868 } 6868 }
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
7414 @DocsEditable() 7414 @DocsEditable()
7415 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7415 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7416 /** 7416 /**
7417 * Constructor instantiated by the DOM when a custom element has been created. 7417 * Constructor instantiated by the DOM when a custom element has been created.
7418 * 7418 *
7419 * This can only be called by subclasses from their created constructor. 7419 * This can only be called by subclasses from their created constructor.
7420 */ 7420 */
7421 _SVGVKernElement.created() : super.created(); 7421 _SVGVKernElement.created() : super.created();
7422 7422
7423 } 7423 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698