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

Unified Diff: tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate

Issue 1321613005: Dartium w/ JsInterop enabled (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate
similarity index 60%
copy from tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate
copy to tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate
index 6279a7e4f1aa13155f896203bc1e4e829f0af5de..59e012ef5d4407f3aa6786a4b2cf828479186192 100644
--- a/tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate
+++ b/tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate
@@ -4,13 +4,12 @@
part of $LIBRARYNAME;
+@DocsEditable()
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
- factory $CLASSNAME() {
- final el = new SvgElement.tag("svg");
- // The SVG spec requires the version attribute to match the spec version
- el.attributes['version'] = "1.1";
- return el;
- }
-
$!MEMBERS
+$if DARTIUM
+ // Override these methods for Dartium _SVGMPathElement can't be abstract.
+ AnimatedString get href => wrap_jso(_blink.BlinkSVGMPathElement.instance.href_Getter_(unwrap_jso(this)));
+$endif
}
+

Powered by Google App Engine
This is Rietveld 408576698