| OLD | NEW |
| 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 5288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5299 class SvgDocument extends Document { | 5299 class SvgDocument extends Document { |
| 5300 // To suppress missing implicit constructor warnings. | 5300 // To suppress missing implicit constructor warnings. |
| 5301 factory SvgDocument._() { throw new UnsupportedError("Not supported"); } | 5301 factory SvgDocument._() { throw new UnsupportedError("Not supported"); } |
| 5302 | 5302 |
| 5303 @DomName('SVGDocument.rootElement') | 5303 @DomName('SVGDocument.rootElement') |
| 5304 @DocsEditable() | 5304 @DocsEditable() |
| 5305 SvgSvgElement get rootElement native "SVGDocument_rootElement_Getter"; | 5305 SvgSvgElement get rootElement native "SVGDocument_rootElement_Getter"; |
| 5306 | 5306 |
| 5307 @DomName('SVGDocument.createEvent') | 5307 @DomName('SVGDocument.createEvent') |
| 5308 @DocsEditable() | 5308 @DocsEditable() |
| 5309 Event $dom_createEvent(String eventType) native "SVGDocument_createEvent_Callb
ack"; | 5309 Event _createEvent(String eventType) native "SVGDocument_createEvent_Callback"
; |
| 5310 | 5310 |
| 5311 } | 5311 } |
| 5312 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5312 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5313 // for details. All rights reserved. Use of this source code is governed by a | 5313 // for details. All rights reserved. Use of this source code is governed by a |
| 5314 // BSD-style license that can be found in the LICENSE file. | 5314 // BSD-style license that can be found in the LICENSE file. |
| 5315 | 5315 |
| 5316 | 5316 |
| 5317 class _AttributeClassSet extends CssClassSetImpl { | 5317 class _AttributeClassSet extends CssClassSetImpl { |
| 5318 final Element _element; | 5318 final Element _element; |
| 5319 | 5319 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5396 @DomName('Element.insertAdjacentHTML') | 5396 @DomName('Element.insertAdjacentHTML') |
| 5397 void insertAdjacentHtml(String where, String text) { | 5397 void insertAdjacentHtml(String where, String text) { |
| 5398 throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); | 5398 throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); |
| 5399 } | 5399 } |
| 5400 | 5400 |
| 5401 @DomName('Element.insertAdjacentHTML') | 5401 @DomName('Element.insertAdjacentHTML') |
| 5402 Element insertAdjacentElement(String where, Element element) { | 5402 Element insertAdjacentElement(String where, Element element) { |
| 5403 throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); | 5403 throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); |
| 5404 } | 5404 } |
| 5405 | 5405 |
| 5406 HtmlCollection get $dom_children { | 5406 HtmlCollection get _children { |
| 5407 throw new UnsupportedError("Cannot get dom_children on SVG."); | 5407 throw new UnsupportedError("Cannot get _children on SVG."); |
| 5408 } | 5408 } |
| 5409 | 5409 |
| 5410 bool get isContentEditable => false; | 5410 bool get isContentEditable => false; |
| 5411 void click() { | 5411 void click() { |
| 5412 throw new UnsupportedError("Cannot invoke click SVG."); | 5412 throw new UnsupportedError("Cannot invoke click SVG."); |
| 5413 } | 5413 } |
| 5414 | 5414 |
| 5415 /** | 5415 /** |
| 5416 * Checks to see if the SVG element type is supported by the current platform. | 5416 * Checks to see if the SVG element type is supported by the current platform. |
| 5417 * | 5417 * |
| 5418 * The tag should be a valid SVG element tag name. | 5418 * The tag should be a valid SVG element tag name. |
| 5419 */ | 5419 */ |
| 5420 static bool isTagSupported(String tag) { | 5420 static bool isTagSupported(String tag) { |
| 5421 var e = new SvgElement.tag(tag); | 5421 var e = new SvgElement.tag(tag); |
| 5422 return e is SvgElement && !(e is UnknownElement); | 5422 return e is SvgElement && !(e is UnknownElement); |
| 5423 } | 5423 } |
| 5424 // To suppress missing implicit constructor warnings. | 5424 // To suppress missing implicit constructor warnings. |
| 5425 factory SvgElement._() { throw new UnsupportedError("Not supported"); } | 5425 factory SvgElement._() { throw new UnsupportedError("Not supported"); } |
| 5426 | 5426 |
| 5427 @DomName('SVGElement.className') | 5427 @DomName('SVGElement.className') |
| 5428 @DocsEditable() | 5428 @DocsEditable() |
| 5429 @Experimental() // untriaged | 5429 @Experimental() // untriaged |
| 5430 AnimatedString get $dom_svgClassName native "SVGElement_className_Getter"; | 5430 AnimatedString get _svgClassName native "SVGElement_className_Getter"; |
| 5431 | 5431 |
| 5432 @DomName('SVGElement.ownerSVGElement') | 5432 @DomName('SVGElement.ownerSVGElement') |
| 5433 @DocsEditable() | 5433 @DocsEditable() |
| 5434 SvgSvgElement get ownerSvgElement native "SVGElement_ownerSVGElement_Getter"; | 5434 SvgSvgElement get ownerSvgElement native "SVGElement_ownerSVGElement_Getter"; |
| 5435 | 5435 |
| 5436 @DomName('SVGElement.style') | 5436 @DomName('SVGElement.style') |
| 5437 @DocsEditable() | 5437 @DocsEditable() |
| 5438 @Experimental() // untriaged | 5438 @Experimental() // untriaged |
| 5439 CssStyleDeclaration get style native "SVGElement_style_Getter"; | 5439 CssStyleDeclaration get style native "SVGElement_style_Getter"; |
| 5440 | 5440 |
| (...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6876 @Unstable() | 6876 @Unstable() |
| 6877 abstract class _SVGVKernElement extends SvgElement { | 6877 abstract class _SVGVKernElement extends SvgElement { |
| 6878 // To suppress missing implicit constructor warnings. | 6878 // To suppress missing implicit constructor warnings. |
| 6879 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } | 6879 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } |
| 6880 | 6880 |
| 6881 @DomName('SVGVKernElement.SVGVKernElement') | 6881 @DomName('SVGVKernElement.SVGVKernElement') |
| 6882 @DocsEditable() | 6882 @DocsEditable() |
| 6883 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 6883 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6884 | 6884 |
| 6885 } | 6885 } |
| OLD | NEW |