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

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

Issue 325923003: Add back invalid natives that couldn't be removed due to analyzer warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('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:_internal' hide deprecated; 5 import 'dart:_internal' 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 import 'dart:_blink' as _blink; 9 import 'dart:_blink' as _blink;
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 7744 matching lines...) Expand 10 before | Expand all | Expand 10 after
7755 // WARNING: Do not edit - generated code. 7755 // WARNING: Do not edit - generated code.
7756 7756
7757 7757
7758 @DocsEditable() 7758 @DocsEditable()
7759 @DomName('SVGElementInstanceList') 7759 @DomName('SVGElementInstanceList')
7760 @Unstable() 7760 @Unstable()
7761 class _ElementInstanceList extends NativeFieldWrapperClass2 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance > { 7761 class _ElementInstanceList extends NativeFieldWrapperClass2 with ListMixin<Eleme ntInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance > {
7762 // To suppress missing implicit constructor warnings. 7762 // To suppress missing implicit constructor warnings.
7763 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; } 7763 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; }
7764 7764
7765 @DomName('SVGElementInstanceList.length')
7766 @DocsEditable()
7767 int get length => _blink.Native_SVGElementInstanceList_length_Getter(this);
7768
7765 ElementInstance operator[](int index) { 7769 ElementInstance operator[](int index) {
7766 if (index < 0 || index >= length) 7770 if (index < 0 || index >= length)
7767 throw new RangeError.range(index, 0, length); 7771 throw new RangeError.range(index, 0, length);
7768 return _blink.Native_SVGElementInstanceList_NativeIndexed_Getter(this, index ); 7772 return _blink.Native_SVGElementInstanceList_NativeIndexed_Getter(this, index );
7769 } 7773 }
7770 7774
7771 ElementInstance _nativeIndexedGetter(int index) => _blink.Native_SVGElementIns tanceList_NativeIndexed_Getter(this, index); 7775 ElementInstance _nativeIndexedGetter(int index) => _blink.Native_SVGElementIns tanceList_NativeIndexed_Getter(this, index);
7772 7776
7773 void operator[]=(int index, ElementInstance value) { 7777 void operator[]=(int index, ElementInstance value) {
7774 throw new UnsupportedError("Cannot assign element of immutable List."); 7778 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
8238 @DocsEditable() 8242 @DocsEditable()
8239 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8243 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8240 /** 8244 /**
8241 * Constructor instantiated by the DOM when a custom element has been created. 8245 * Constructor instantiated by the DOM when a custom element has been created.
8242 * 8246 *
8243 * This can only be called by subclasses from their created constructor. 8247 * This can only be called by subclasses from their created constructor.
8244 */ 8248 */
8245 _SVGVKernElement.created() : super.created(); 8249 _SVGVKernElement.created() : super.created();
8246 8250
8247 } 8251 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698