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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.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 /** 1 /**
2 * Scalable Vector Graphics: 2 * Scalable Vector Graphics:
3 * Two-dimensional vector graphics with support for events and animation. 3 * Two-dimensional vector graphics with support for events and animation.
4 * 4 *
5 * For details about the features and syntax of SVG, a W3C standard, 5 * For details about the features and syntax of SVG, a W3C standard,
6 * refer to the 6 * refer to the
7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/).
8 */ 8 */
9 library dart.dom.svg; 9 library dart.dom.svg;
10 10
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 /** 1113 /**
1114 * Static factory designed to expose `unload` events to event 1114 * Static factory designed to expose `unload` events to event
1115 * handlers that are not necessarily instances of [ElementInstance]. 1115 * handlers that are not necessarily instances of [ElementInstance].
1116 * 1116 *
1117 * See [EventStreamProvider] for usage information. 1117 * See [EventStreamProvider] for usage information.
1118 */ 1118 */
1119 @DomName('SVGElementInstance.unloadEvent') 1119 @DomName('SVGElementInstance.unloadEvent')
1120 @DocsEditable() 1120 @DocsEditable()
1121 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload'); 1121 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide r<Event>('unload');
1122 1122
1123 @DomName('SVGElementInstance.childNodes')
1124 @DocsEditable()
1125 @Returns('_ElementInstanceList')
1126 @Creates('_ElementInstanceList')
1127 final List<ElementInstance> childNodes;
1128
1129 @DomName('SVGElementInstance.correspondingElement') 1123 @DomName('SVGElementInstance.correspondingElement')
1130 @DocsEditable() 1124 @DocsEditable()
1131 final SvgElement correspondingElement; 1125 final SvgElement correspondingElement;
1132 1126
1133 @DomName('SVGElementInstance.correspondingUseElement') 1127 @DomName('SVGElementInstance.correspondingUseElement')
1134 @DocsEditable() 1128 @DocsEditable()
1135 final UseElement correspondingUseElement; 1129 final UseElement correspondingUseElement;
1136 1130
1137 @DomName('SVGElementInstance.firstChild') 1131 @DomName('SVGElementInstance.firstChild')
1138 @DocsEditable() 1132 @DocsEditable()
(...skipping 4866 matching lines...) Expand 10 before | Expand all | Expand 10 after
6005 5999
6006 // To suppress missing implicit constructor warnings. 6000 // To suppress missing implicit constructor warnings.
6007 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } 6001 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); }
6008 /** 6002 /**
6009 * Constructor instantiated by the DOM when a custom element has been created. 6003 * Constructor instantiated by the DOM when a custom element has been created.
6010 * 6004 *
6011 * This can only be called by subclasses from their created constructor. 6005 * This can only be called by subclasses from their created constructor.
6012 */ 6006 */
6013 SvgSvgElement.created() : super.created(); 6007 SvgSvgElement.created() : super.created();
6014 6008
6015 @DomName('SVGSVGElement.contentScriptType')
6016 @DocsEditable()
6017 String contentScriptType;
6018
6019 @DomName('SVGSVGElement.contentStyleType')
6020 @DocsEditable()
6021 String contentStyleType;
6022
6023 @DomName('SVGSVGElement.currentScale') 6009 @DomName('SVGSVGElement.currentScale')
6024 @DocsEditable() 6010 @DocsEditable()
6025 num currentScale; 6011 num currentScale;
6026 6012
6027 @DomName('SVGSVGElement.currentTranslate') 6013 @DomName('SVGSVGElement.currentTranslate')
6028 @DocsEditable() 6014 @DocsEditable()
6029 final Point currentTranslate; 6015 final Point currentTranslate;
6030 6016
6031 @DomName('SVGSVGElement.currentView') 6017 @DomName('SVGSVGElement.currentView')
6032 @DocsEditable() 6018 @DocsEditable()
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
6948 // BSD-style license that can be found in the LICENSE file. 6934 // BSD-style license that can be found in the LICENSE file.
6949 6935
6950 6936
6951 @DocsEditable() 6937 @DocsEditable()
6952 @DomName('SVGElementInstanceList') 6938 @DomName('SVGElementInstanceList')
6953 @Unstable() 6939 @Unstable()
6954 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance> native "SVG ElementInstanceList" { 6940 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance> native "SVG ElementInstanceList" {
6955 // To suppress missing implicit constructor warnings. 6941 // To suppress missing implicit constructor warnings.
6956 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; } 6942 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported") ; }
6957 6943
6958 @DomName('SVGElementInstanceList.length')
6959 @DocsEditable()
6960 int get length => JS("int", "#.length", this);
6961
6962 ElementInstance operator[](int index) { 6944 ElementInstance operator[](int index) {
6963 if (JS("bool", "# >>> 0 !== # || # >= #", index, 6945 if (JS("bool", "# >>> 0 !== # || # >= #", index,
6964 index, index, length)) 6946 index, index, length))
6965 throw new RangeError.range(index, 0, length); 6947 throw new RangeError.range(index, 0, length);
6966 return this.item(index); 6948 return this.item(index);
6967 } 6949 }
6968 void operator[]=(int index, ElementInstance value) { 6950 void operator[]=(int index, ElementInstance value) {
6969 throw new UnsupportedError("Cannot assign element of immutable List."); 6951 throw new UnsupportedError("Cannot assign element of immutable List.");
6970 } 6952 }
6971 // -- start List<ElementInstance> mixins. 6953 // -- start List<ElementInstance> mixins.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
7390 @DomName('SVGVKernElement.SVGVKernElement') 7372 @DomName('SVGVKernElement.SVGVKernElement')
7391 @DocsEditable() 7373 @DocsEditable()
7392 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 7374 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7393 /** 7375 /**
7394 * Constructor instantiated by the DOM when a custom element has been created. 7376 * Constructor instantiated by the DOM when a custom element has been created.
7395 * 7377 *
7396 * This can only be called by subclasses from their created constructor. 7378 * This can only be called by subclasses from their created constructor.
7397 */ 7379 */
7398 _SVGVKernElement.created() : super.created(); 7380 _SVGVKernElement.created() : super.created();
7399 } 7381 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698