OLD | NEW |
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 | |
11 // Override these methods for Dartium _WorkerNavigator can't be abstract. | |
12 String get appCodeName => _blink.BlinkWorkerNavigator.instance.appCodeName_Get
ter_(this); | |
13 String get appName => _blink.BlinkWorkerNavigator.instance.appCodeName_Getter_
(this); | |
14 String get appVersion => _blink.BlinkWorkerNavigator.instance.appVersion_Gette
r_(this); | |
15 bool get dartEnabled => _blink.BlinkWorkerNavigator.instance.dartEnabled_Gette
r_(this); | |
16 String get platform => _blink.BlinkWorkerNavigator.instance.platform_Getter_(t
his); | |
17 String get product => _blink.BlinkWorkerNavigator.instance.product_Getter_(thi
s); | |
18 String get userAgent => _blink.BlinkWorkerNavigator.instance.userAgent_Getter_
(this); | |
19 int get hardwareConcurrency => _blink.BlinkWorkerNavigator.instance.hardwareCo
ncurrency_Getter_(this); | |
20 bool get onLine => _blink.BlinkWorkerNavigator.instance.onLine_Getter_(this); | |
21 $endif | |
22 } | 10 } |
23 | 11 |
OLD | NEW |