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

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

Issue 321043003: Native method name mismatch cleanups for Dartium 36 roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: PTAL 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
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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 /** 1359 /**
1360 * Static factory designed to expose `unload` events to event 1360 * Static factory designed to expose `unload` events to event
1361 * handlers that are not necessarily instances of [ElementInstance]. 1361 * handlers that are not necessarily instances of [ElementInstance].
1362 * 1362 *
1363 * See [EventStreamProvider] for usage information. 1363 * See [EventStreamProvider] for usage information.
1364 */ 1364 */
1365 @DomName('SVGElementInstance.unloadEvent') 1365 @DomName('SVGElementInstance.unloadEvent')
1366 @DocsEditable() 1366 @DocsEditable()
1367 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload'); 1367 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload');
1368 1368
1369 @DomName('SVGElementInstance.childNodes')
1370 @DocsEditable()
1371 List<ElementInstance> get childNodes => _blink.Native_SVGElementInstance_child Nodes_Getter(this);
1372
1373 @DomName('SVGElementInstance.correspondingElement') 1369 @DomName('SVGElementInstance.correspondingElement')
1374 @DocsEditable() 1370 @DocsEditable()
1375 SvgElement get correspondingElement => _blink.Native_SVGElementInstance_corres pondingElement_Getter(this); 1371 SvgElement get correspondingElement => _blink.Native_SVGElementInstance_corres pondingElement_Getter(this);
1376 1372
1377 @DomName('SVGElementInstance.correspondingUseElement') 1373 @DomName('SVGElementInstance.correspondingUseElement')
1378 @DocsEditable() 1374 @DocsEditable()
1379 UseElement get correspondingUseElement => _blink.Native_SVGElementInstance_cor respondingUseElement_Getter(this); 1375 UseElement get correspondingUseElement => _blink.Native_SVGElementInstance_cor respondingUseElement_Getter(this);
1380 1376
1381 @DomName('SVGElementInstance.firstChild') 1377 @DomName('SVGElementInstance.firstChild')
1382 @DocsEditable() 1378 @DocsEditable()
(...skipping 5385 matching lines...) Expand 10 before | Expand all | Expand 10 after
6768 6764
6769 // To suppress missing implicit constructor warnings. 6765 // To suppress missing implicit constructor warnings.
6770 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } 6766 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); }
6771 /** 6767 /**
6772 * Constructor instantiated by the DOM when a custom element has been created. 6768 * Constructor instantiated by the DOM when a custom element has been created.
6773 * 6769 *
6774 * This can only be called by subclasses from their created constructor. 6770 * This can only be called by subclasses from their created constructor.
6775 */ 6771 */
6776 SvgSvgElement.created() : super.created(); 6772 SvgSvgElement.created() : super.created();
6777 6773
6778 @DomName('SVGSVGElement.contentScriptType')
6779 @DocsEditable()
6780 String get contentScriptType => _blink.Native_SVGSVGElement_contentScriptType_ Getter(this);
6781
6782 @DomName('SVGSVGElement.contentScriptType')
6783 @DocsEditable()
6784 void set contentScriptType(String value) => _blink.Native_SVGSVGElement_conten tScriptType_Setter(this, value);
6785
6786 @DomName('SVGSVGElement.contentStyleType')
6787 @DocsEditable()
6788 String get contentStyleType => _blink.Native_SVGSVGElement_contentStyleType_Ge tter(this);
6789
6790 @DomName('SVGSVGElement.contentStyleType')
6791 @DocsEditable()
6792 void set contentStyleType(String value) => _blink.Native_SVGSVGElement_content StyleType_Setter(this, value);
6793
6794 @DomName('SVGSVGElement.currentScale') 6774 @DomName('SVGSVGElement.currentScale')
6795 @DocsEditable() 6775 @DocsEditable()
6796 num get currentScale => _blink.Native_SVGSVGElement_currentScale_Getter(this); 6776 num get currentScale => _blink.Native_SVGSVGElement_currentScale_Getter(this);
6797 6777
6798 @DomName('SVGSVGElement.currentScale') 6778 @DomName('SVGSVGElement.currentScale')
6799 @DocsEditable() 6779 @DocsEditable()
6800 void set currentScale(num value) => _blink.Native_SVGSVGElement_currentScale_S etter(this, value); 6780 void set currentScale(num value) => _blink.Native_SVGSVGElement_currentScale_S etter(this, value);
6801 6781
6802 @DomName('SVGSVGElement.currentTranslate') 6782 @DomName('SVGSVGElement.currentTranslate')
6803 @DocsEditable() 6783 @DocsEditable()
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
7775 // WARNING: Do not edit - generated code. 7755 // WARNING: Do not edit - generated code.
7776 7756
7777 7757
7778 @DocsEditable() 7758 @DocsEditable()
7779 @DomName('SVGElementInstanceList') 7759 @DomName('SVGElementInstanceList')
7780 @Unstable() 7760 @Unstable()
7781 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 > {
7782 // To suppress missing implicit constructor warnings. 7762 // To suppress missing implicit constructor warnings.
7783 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; } 7763 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; }
7784 7764
7785 @DomName('SVGElementInstanceList.length')
7786 @DocsEditable()
7787 int get length => _blink.Native_SVGElementInstanceList_length_Getter(this);
7788
7789 ElementInstance operator[](int index) { 7765 ElementInstance operator[](int index) {
7790 if (index < 0 || index >= length) 7766 if (index < 0 || index >= length)
7791 throw new RangeError.range(index, 0, length); 7767 throw new RangeError.range(index, 0, length);
7792 return _blink.Native_SVGElementInstanceList_NativeIndexed_Getter(this, index ); 7768 return _blink.Native_SVGElementInstanceList_NativeIndexed_Getter(this, index );
7793 } 7769 }
7794 7770
7795 ElementInstance _nativeIndexedGetter(int index) => _blink.Native_SVGElementIns tanceList_NativeIndexed_Getter(this, index); 7771 ElementInstance _nativeIndexedGetter(int index) => _blink.Native_SVGElementIns tanceList_NativeIndexed_Getter(this, index);
7796 7772
7797 void operator[]=(int index, ElementInstance value) { 7773 void operator[]=(int index, ElementInstance value) {
7798 throw new UnsupportedError("Cannot assign element of immutable List."); 7774 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
8262 @DocsEditable() 8238 @DocsEditable()
8263 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8239 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8264 /** 8240 /**
8265 * Constructor instantiated by the DOM when a custom element has been created. 8241 * Constructor instantiated by the DOM when a custom element has been created.
8266 * 8242 *
8267 * This can only be called by subclasses from their created constructor. 8243 * This can only be called by subclasses from their created constructor.
8268 */ 8244 */
8269 _SVGVKernElement.created() : super.created(); 8245 _SVGVKernElement.created() : super.created();
8270 8246
8271 } 8247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698