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

Unified Diff: 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: Adding generated files. 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: lib/html/templates/html/impl/impl_Event.darttemplate
diff --git a/lib/html/templates/html/interface/interface_Event.darttemplate b/lib/html/templates/html/impl/impl_Event.darttemplate
similarity index 72%
copy from lib/html/templates/html/interface/interface_Event.darttemplate
copy to lib/html/templates/html/impl/impl_Event.darttemplate
index 141f0d6c57065ddb3c6807545bccc4a27e397ad1..55d603959e090d927491c57e184470ef9d6ce2a8 100644
--- a/lib/html/templates/html/interface/interface_Event.darttemplate
+++ b/lib/html/templates/html/impl/impl_Event.darttemplate
@@ -4,17 +4,14 @@
// WARNING: Do not edit - generated code.
-part of html;
Anton Muhin 2012/11/02 12:55:47 why gone?
blois 2012/11/02 19:25:28 This was moved from being an interface to an imple
-
-$!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