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

Side by Side Diff: sdk/lib/html/templates/html/impl/impl_Event.darttemplate

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 part of html; 7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
8
9 $!COMMENT
10 abstract class $ID$EXTENDS {
11
12 // In JS, canBubble and cancelable are technically required parameters to 8 // In JS, canBubble and cancelable are technically required parameters to
13 // init*Event. In practice, though, if they aren't provided they simply 9 // init*Event. In practice, though, if they aren't provided they simply
14 // default to false (since that's Boolean(undefined)). 10 // default to false (since that's Boolean(undefined)).
15 // 11 //
16 // Contrary to JS, we default canBubble and cancelable to true, since that's 12 // Contrary to JS, we default canBubble and cancelable to true, since that's
17 // what people want most of the time anyway. 13 // what people want most of the time anyway.
18 factory $ID(String type, [bool canBubble = true, bool cancelable = true]) => 14 factory $CLASSNAME(String type, [bool canBubble = true, bool cancelable = true ]) =>
19 _$(ID)FactoryProvider.create$ID(type, canBubble, cancelable); 15 _$(CLASSNAME)FactoryProvider.create$CLASSNAME(type, canBubble, cancelable) ;
20 $!MEMBERS} 16 $!MEMBERS
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698