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

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

Issue 1391143006: Fixed native element extension, custom events, _VMUpgrader, and data binding. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged conflicts Created 5 years, 2 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
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)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 9 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
10 $if DART2JS 10 $if DART2JS
(...skipping 18 matching lines...) Expand all
29 e._initCustomEvent(type, canBubble, cancelable, detail); 29 e._initCustomEvent(type, canBubble, cancelable, detail);
30 } catch(_) { 30 } catch(_) {
31 e._initCustomEvent(type, canBubble, cancelable, null); 31 e._initCustomEvent(type, canBubble, cancelable, null);
32 } 32 }
33 } else { 33 } else {
34 e._initCustomEvent(type, canBubble, cancelable, null); 34 e._initCustomEvent(type, canBubble, cancelable, null);
35 } 35 }
36 36
37 $if DARTIUM 37 $if DARTIUM
38 // Need for identity. 38 // Need for identity.
39 e.blink_jsObject['dart_class'] = e; 39 js.setDartHtmlWrapperFor(e.blink_jsObject, e);
40 40
41 $endif 41 $endif
42 return e; 42 return e;
43 } 43 }
44 44
45 @DomName('CustomEvent.detail') 45 @DomName('CustomEvent.detail')
46 get detail { 46 get detail {
47 if (_dartDetail != null) { 47 if (_dartDetail != null) {
48 return _dartDetail; 48 return _dartDetail;
49 } 49 }
50 return _detail; 50 return _detail;
51 } 51 }
52 $!MEMBERS 52 $!MEMBERS
53 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698