Chromium Code Reviews| 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 |
| +} |