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

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

Issue 16365020: Fixing CSS Animations cross-platform issues. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate
diff --git a/tools/dom/templates/dart2js_impl.darttemplate b/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate
similarity index 59%
copy from tools/dom/templates/dart2js_impl.darttemplate
copy to tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate
index 98c247c37d6c685f7affe94698f9625b9b2b2c90..987288cd4597af82b6078506d04994a599404bc8 100644
--- a/tools/dom/templates/dart2js_impl.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WebKitCSSKeyframesRule.darttemplate
@@ -6,4 +6,15 @@ part of $LIBRARYNAME;
@DocsEditable
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMPLEMENTS$NATIVESPEC {
-$!MEMBERS}
+$!MEMBERS
+
+$if DART2JS
+ void appendRule(String rule) {
+ if (JS('bool', '("appendRule" in #)', this)) {
+ JS('', '#.appendRule(#)', this, rule);
+ } else {
+ JS('', '#.insertRule(#)', this, rule);
+ }
+ }
+$endif
+}
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698