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

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

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 years, 5 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 // TODO(alanknight): Provide a nicer constructor that uses named parameters 9 // TODO(alanknight): Provide a nicer constructor that uses named parameters
10 // rather than an initialization map. 10 // rather than an initialization map.
11 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 11 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
12 12
13 $if DARTIUM
14 // TODO(alanknight): This really should be generated by the 13 // TODO(alanknight): This really should be generated by the
15 // _OutputConversion in the systemnative.py script, but that doesn't 14 // _OutputConversion in the systemnative.py script, but that doesn't
16 // use those conversions right now, so do this as a one-off. 15 // use those conversions right now, so do this as a one-off.
17 @DomName('ServiceWorkerMessageEvent.data')
18 @DocsEditable()
19 dynamic get data => convertNativeToDart_SerializedScriptValue(
20 _blink.BlinkMessageEvent.instance.data_Getter_(this));
21 $else
22 // TODO(alanknight): This really should be generated by the
23 // _OutputConversion in the systemnative.py script, but that doesn't
24 // use those conversions right now, so do this as a one-off.
25 @DomName('ServiceWorkerMessageEvent.data') 16 @DomName('ServiceWorkerMessageEvent.data')
26 @DocsEditable() 17 @DocsEditable()
27 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); 18 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data);
28 19
29 @JSName('data') 20 @JSName('data')
30 @DomName('ServiceWorkerMessageEvent.data') 21 @DomName('ServiceWorkerMessageEvent.data')
31 @DocsEditable() 22 @DocsEditable()
32 @annotation_Creates_SerializedScriptValue 23 @annotation_Creates_SerializedScriptValue
33 @annotation_Returns_SerializedScriptValue 24 @annotation_Returns_SerializedScriptValue
34 final dynamic _get_data; 25 final dynamic _get_data;
35 $endif
36 26
37 $!MEMBERS 27 $!MEMBERS
38 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698