OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 part of $LIBRARYNAME; | |
6 | |
7 @DocsEditable() | |
8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ | |
9 $!MEMBERS | |
10 $if DARTIUM | |
11 // Override these methods for Dartium _WorkerNavigator can't be abstract. | |
12 String get appCodeName => _blink.BlinkWorkerNavigator.instance.appCodeName_Get
ter_(unwrap_jso(this)); | |
13 String get appName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_
(unwrap_jso(this)); | |
14 String get appVersion => _blink.BlinkWorkerNavigator.instance.appVersion_Gette
r_(unwrap_jso(this)); | |
15 bool get dartEnabled => _blink.BlinkWorkerNavigator.instance.dartEnabled_Gette
r_(unwrap_jso(this)); | |
16 String get platform => _blink.BlinkWorkerNavigator.instance.platform_Getter_(u
nwrap_jso(this)); | |
17 String get product => _blink.BlinkWorkerNavigator.instance.product_Getter_(unw
rap_jso(this)); | |
18 String get userAgent => _blink.BlinkWorkerNavigator.instance.userAgent_Getter_
(unwrap_jso(this)); | |
19 int get hardwareConcurrency => _blink.BlinkWorkerNavigator.instance.hardwareCo
ncurrency_Getter_(unwrap_jso(this)); | |
20 bool get onLine => _blink.BlinkWorkerNavigator.instance.onLine_Getter_(unwrap_
jso(this)); | |
21 $endif | |
22 } | |
23 | |
OLD | NEW |