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

Unified Diff: lib/html/templates/html/interface/interface_SVGElement.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 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: lib/html/templates/html/interface/interface_SVGElement.darttemplate
diff --git a/lib/html/templates/html/interface/interface_SVGElement.darttemplate b/lib/html/templates/html/interface/interface_SVGElement.darttemplate
index a5487d8426234c1999f92ba80ac9367edb677708..785ad11d1d419f14d15366e152fc125ab9b795a5 100644
--- a/lib/html/templates/html/interface/interface_SVGElement.darttemplate
+++ b/lib/html/templates/html/interface/interface_SVGElement.darttemplate
@@ -3,10 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
$!COMMENT
-interface SVGElement extends Element default _$(ID)FactoryProvider {
+abstract class SVGElement implements Element {
- SVGElement.tag(String tag);
- SVGElement.svg(String svg);
+ factory SVGElement.tag(String tag) =>
+ _$(ID)FactoryProvider.create$(ID)_tag(tag);
+ factory SVGElement.svg(String svg) =>
+ _$(ID)FactoryProvider.create$(ID)_svg(svg);
SVGElement clone(bool deep);

Powered by Google App Engine
This is Rietveld 408576698