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

Unified Diff: sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing merged classes in dartium not compiling under dartc. Created 8 years, 1 month 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: sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
index 64eeccc58bf220f8c979c61f40f9bf281468f791..10fe7ccb55c7457807b4e58d9c2d823ef51ebc91 100644
--- a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate
@@ -13,7 +13,12 @@ class _AttributeClassSet extends _CssClassSet {
}
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- CSSClassSet get classes {
+ factory $CLASSNAME.tag(String tag) =>
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_tag(tag);
+ factory $CLASSNAME.svg(String svg) =>
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_svg(svg);
+
+ CssClassSet get classes {
if (_cssClassSet == null) {
_cssClassSet = new _AttributeClassSet(_ptr);
}

Powered by Google App Engine
This is Rietveld 408576698