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

Unified Diff: sdk/lib/html/templates/html/impl/impl_Event.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_Event.darttemplate
diff --git a/sdk/lib/html/templates/html/interface/interface_Event.darttemplate b/sdk/lib/html/templates/html/impl/impl_Event.darttemplate
similarity index 72%
copy from sdk/lib/html/templates/html/interface/interface_Event.darttemplate
copy to sdk/lib/html/templates/html/impl/impl_Event.darttemplate
index 141f0d6c57065ddb3c6807545bccc4a27e397ad1..55d603959e090d927491c57e184470ef9d6ce2a8 100644
--- a/sdk/lib/html/templates/html/interface/interface_Event.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Event.darttemplate
@@ -4,17 +4,14 @@
// WARNING: Do not edit - generated code.
-part of html;
-
-$!COMMENT
-abstract class $ID$EXTENDS {
-
+class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
// In JS, canBubble and cancelable are technically required parameters to
// init*Event. In practice, though, if they aren't provided they simply
// default to false (since that's Boolean(undefined)).
//
// Contrary to JS, we default canBubble and cancelable to true, since that's
// what people want most of the time anyway.
- factory $ID(String type, [bool canBubble = true, bool cancelable = true]) =>
- _$(ID)FactoryProvider.create$ID(type, canBubble, cancelable);
-$!MEMBERS}
+ factory $CLASSNAME(String type, [bool canBubble = true, bool cancelable = true]) =>
+ _$(CLASSNAME)FactoryProvider.create$CLASSNAME(type, canBubble, cancelable);
+$!MEMBERS
+}

Powered by Google App Engine
This is Rietveld 408576698