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

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

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update cached patches Created 4 years, 8 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 13 $if DARTIUM
14 // TODO(alanknight): This really should be generated by the 14 // TODO(alanknight): This really should be generated by the
15 // _OutputConversion in the systemnative.py script, but that doesn't 15 // _OutputConversion in the systemnative.py script, but that doesn't
16 // use those conversions right now, so do this as a one-off. 16 // use those conversions right now, so do this as a one-off.
17 @DomName('ServiceWorkerMessageEvent.data') 17 @DomName('ServiceWorkerMessageEvent.data')
18 @DocsEditable() 18 @DocsEditable()
19 dynamic get data => convertNativeToDart_SerializedScriptValue( 19 dynamic get data => convertNativeToDart_SerializedScriptValue(
20 _blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this))); 20 _blink.BlinkMessageEvent.instance.data_Getter_(this));
21 $else 21 $else
22 // TODO(alanknight): This really should be generated by the 22 // TODO(alanknight): This really should be generated by the
23 // _OutputConversion in the systemnative.py script, but that doesn't 23 // _OutputConversion in the systemnative.py script, but that doesn't
24 // use those conversions right now, so do this as a one-off. 24 // use those conversions right now, so do this as a one-off.
25 @DomName('ServiceWorkerMessageEvent.data') 25 @DomName('ServiceWorkerMessageEvent.data')
26 @DocsEditable() 26 @DocsEditable()
27 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data); 27 dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data);
28 28
29 @JSName('data') 29 @JSName('data')
30 @DomName('ServiceWorkerMessageEvent.data') 30 @DomName('ServiceWorkerMessageEvent.data')
31 @DocsEditable() 31 @DocsEditable()
32 @annotation_Creates_SerializedScriptValue 32 @annotation_Creates_SerializedScriptValue
33 @annotation_Returns_SerializedScriptValue 33 @annotation_Returns_SerializedScriptValue
34 final dynamic _get_data; 34 final dynamic _get_data;
35 $endif 35 $endif
36 36
37 $!MEMBERS 37 $!MEMBERS
38 } 38 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate ('k') | tools/dom/templates/html/impl/impl_Touch.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698