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

Side by Side Diff: tools/dom/templates/html/impl/impl_CustomEvent.darttemplate

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 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 $LIBRARYNAME; 7 part of $LIBRARYNAME;
8 8
9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
10 factory $CLASSNAME(String type, 10 factory $CLASSNAME(String type,
11 {bool canBubble: true, bool cancelable: true, Object detail}) { 11 {bool canBubble: true, bool cancelable: true, Object detail}) {
12 12
13 final CustomEvent e = document.$dom_createEvent('CustomEvent'); 13 final CustomEvent e = document._createEvent('CustomEvent');
14 14
15 $if DART2JS 15 $if DART2JS
16 detail = convertDartToNative_SerializedScriptValue(detail); 16 detail = convertDartToNative_SerializedScriptValue(detail);
17 $endif 17 $endif
18 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); 18 e._initCustomEvent(type, canBubble, cancelable, detail);
19 19
20 return e; 20 return e;
21 } 21 }
22 $!MEMBERS 22 $!MEMBERS
23 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698