OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | |
6 | |
7 class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
or { | |
8 _NavigatorWrappingImplementation() : super() {} | |
9 | |
10 static create__NavigatorWrappingImplementation() native { | |
11 return new _NavigatorWrappingImplementation(); | |
12 } | |
13 | |
14 String get appCodeName() { return _get_appCodeName(this); } | |
15 static String _get_appCodeName(var _this) native; | |
16 | |
17 String get appName() { return _get_appName(this); } | |
18 static String _get_appName(var _this) native; | |
19 | |
20 String get appVersion() { return _get_appVersion(this); } | |
21 static String _get_appVersion(var _this) native; | |
22 | |
23 bool get cookieEnabled() { return _get_cookieEnabled(this); } | |
24 static bool _get_cookieEnabled(var _this) native; | |
25 | |
26 Geolocation get geolocation() { return _get_geolocation(this); } | |
27 static Geolocation _get_geolocation(var _this) native; | |
28 | |
29 String get language() { return _get_language(this); } | |
30 static String _get_language(var _this) native; | |
31 | |
32 DOMMimeTypeArray get mimeTypes() { return _get_mimeTypes(this); } | |
33 static DOMMimeTypeArray _get_mimeTypes(var _this) native; | |
34 | |
35 bool get onLine() { return _get_onLine(this); } | |
36 static bool _get_onLine(var _this) native; | |
37 | |
38 String get platform() { return _get_platform(this); } | |
39 static String _get_platform(var _this) native; | |
40 | |
41 DOMPluginArray get plugins() { return _get_plugins(this); } | |
42 static DOMPluginArray _get_plugins(var _this) native; | |
43 | |
44 String get product() { return _get_product(this); } | |
45 static String _get_product(var _this) native; | |
46 | |
47 String get productSub() { return _get_productSub(this); } | |
48 static String _get_productSub(var _this) native; | |
49 | |
50 String get userAgent() { return _get_userAgent(this); } | |
51 static String _get_userAgent(var _this) native; | |
52 | |
53 String get vendor() { return _get_vendor(this); } | |
54 static String _get_vendor(var _this) native; | |
55 | |
56 String get vendorSub() { return _get_vendorSub(this); } | |
57 static String _get_vendorSub(var _this) native; | |
58 | |
59 void getStorageUpdates() { | |
60 _getStorageUpdates(this); | |
61 return; | |
62 } | |
63 static void _getStorageUpdates(receiver) native; | |
64 | |
65 bool javaEnabled() { | |
66 return _javaEnabled(this); | |
67 } | |
68 static bool _javaEnabled(receiver) native; | |
69 | |
70 void registerProtocolHandler(String scheme, String url, String title) { | |
71 _registerProtocolHandler(this, scheme, url, title); | |
72 return; | |
73 } | |
74 static void _registerProtocolHandler(receiver, scheme, url, title) native; | |
75 | |
76 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ
essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) { | |
77 _webkitGetUserMedia(this, options, successCallback, errorCallback); | |
78 return; | |
79 } | |
80 static void _webkitGetUserMedia(receiver, options, successCallback, errorCallb
ack) native; | |
81 | |
82 String get typeName() { return "Navigator"; } | |
83 } | |
OLD | NEW |