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

Side by Side Diff: tools/dom/templates/html/impl/impl_WorkerNavigator.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) 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 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 @DocsEditable() 7 @DocsEditable()
8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
9 $!MEMBERS 9 $!MEMBERS
10 $if DARTIUM 10 $if DARTIUM
11 // Override these methods for Dartium _WorkerNavigator can't be abstract. 11 // Override these methods for Dartium _WorkerNavigator can't be abstract.
12 String get appCodeName => _blink.BlinkWorkerNavigator.instance.appCodeName_Get ter_(unwrap_jso(this)); 12 String get appCodeName => _blink.BlinkWorkerNavigator.instance.appCodeName_Get ter_(this);
13 String get appName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_ (unwrap_jso(this)); 13 String get appName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_ (this);
14 String get appVersion => _blink.BlinkWorkerNavigator.instance.appVersion_Gette r_(unwrap_jso(this)); 14 String get appVersion => _blink.BlinkWorkerNavigator.instance.appVersion_Gette r_(this);
15 bool get dartEnabled => _blink.BlinkWorkerNavigator.instance.dartEnabled_Gette r_(unwrap_jso(this)); 15 bool get dartEnabled => _blink.BlinkWorkerNavigator.instance.dartEnabled_Gette r_(this);
16 String get platform => _blink.BlinkWorkerNavigator.instance.platform_Getter_(u nwrap_jso(this)); 16 String get platform => _blink.BlinkWorkerNavigator.instance.platform_Getter_(t his);
17 String get product => _blink.BlinkWorkerNavigator.instance.product_Getter_(unw rap_jso(this)); 17 String get product => _blink.BlinkWorkerNavigator.instance.product_Getter_(thi s);
18 String get userAgent => _blink.BlinkWorkerNavigator.instance.userAgent_Getter_ (unwrap_jso(this)); 18 String get userAgent => _blink.BlinkWorkerNavigator.instance.userAgent_Getter_ (this);
19 int get hardwareConcurrency => _blink.BlinkWorkerNavigator.instance.hardwareCo ncurrency_Getter_(unwrap_jso(this)); 19 int get hardwareConcurrency => _blink.BlinkWorkerNavigator.instance.hardwareCo ncurrency_Getter_(this);
20 bool get onLine => _blink.BlinkWorkerNavigator.instance.onLine_Getter_(unwrap_ jso(this)); 20 bool get onLine => _blink.BlinkWorkerNavigator.instance.onLine_Getter_(this);
21 $endif 21 $endif
22 } 22 }
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698