| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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 class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
or { | 7 class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat
or { |
| 8 _NavigatorWrappingImplementation() : super() {} | 8 _NavigatorWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__NavigatorWrappingImplementation() native { | 10 static create__NavigatorWrappingImplementation() native { |
| 11 return new _NavigatorWrappingImplementation(); | 11 return new _NavigatorWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get appCodeName() { return _get_appCodeName(this); } | 14 String get appCodeName() { return _get_appCodeName(this); } |
| 15 static String _get_appCodeName(var _this) native; | 15 static String _get_appCodeName(var _this) native; |
| 16 | 16 |
| 17 String get appName() { return _get_appName(this); } | 17 String get appName() { return _get_appName(this); } |
| 18 static String _get_appName(var _this) native; | 18 static String _get_appName(var _this) native; |
| 19 | 19 |
| 20 String get appVersion() { return _get_appVersion(this); } | 20 String get appVersion() { return _get_appVersion(this); } |
| 21 static String _get_appVersion(var _this) native; | 21 static String _get_appVersion(var _this) native; |
| 22 | 22 |
| 23 bool get cookieEnabled() { return _get_cookieEnabled(this); } | 23 bool get cookieEnabled() { return _get_cookieEnabled(this); } |
| 24 static bool _get_cookieEnabled(var _this) native; | 24 static bool _get_cookieEnabled(var _this) native; |
| 25 | 25 |
| 26 Geolocation get geolocation() { return _get_geolocation(this); } |
| 27 static Geolocation _get_geolocation(var _this) native; |
| 28 |
| 26 String get language() { return _get_language(this); } | 29 String get language() { return _get_language(this); } |
| 27 static String _get_language(var _this) native; | 30 static String _get_language(var _this) native; |
| 28 | 31 |
| 29 DOMMimeTypeArray get mimeTypes() { return _get_mimeTypes(this); } | 32 DOMMimeTypeArray get mimeTypes() { return _get_mimeTypes(this); } |
| 30 static DOMMimeTypeArray _get_mimeTypes(var _this) native; | 33 static DOMMimeTypeArray _get_mimeTypes(var _this) native; |
| 31 | 34 |
| 32 bool get onLine() { return _get_onLine(this); } | 35 bool get onLine() { return _get_onLine(this); } |
| 33 static bool _get_onLine(var _this) native; | 36 static bool _get_onLine(var _this) native; |
| 34 | 37 |
| 35 String get platform() { return _get_platform(this); } | 38 String get platform() { return _get_platform(this); } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 57 _getStorageUpdates(this); | 60 _getStorageUpdates(this); |
| 58 return; | 61 return; |
| 59 } | 62 } |
| 60 static void _getStorageUpdates(receiver) native; | 63 static void _getStorageUpdates(receiver) native; |
| 61 | 64 |
| 62 bool javaEnabled() { | 65 bool javaEnabled() { |
| 63 return _javaEnabled(this); | 66 return _javaEnabled(this); |
| 64 } | 67 } |
| 65 static bool _javaEnabled(receiver) native; | 68 static bool _javaEnabled(receiver) native; |
| 66 | 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 if (errorCallback === null) { |
| 78 _webkitGetUserMedia(this, options, successCallback); |
| 79 return; |
| 80 } else { |
| 81 _webkitGetUserMedia_2(this, options, successCallback, errorCallback); |
| 82 return; |
| 83 } |
| 84 } |
| 85 static void _webkitGetUserMedia(receiver, options, successCallback) native; |
| 86 static void _webkitGetUserMedia_2(receiver, options, successCallback, errorCal
lback) native; |
| 87 |
| 67 String get typeName() { return "Navigator"; } | 88 String get typeName() { return "Navigator"; } |
| 68 } | 89 } |
| OLD | NEW |