| Index: client/html/generated/html/dartium/Geolocation.dart
|
| diff --git a/client/html/generated/html/dartium/Geolocation.dart b/client/html/generated/html/dartium/Geolocation.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4b97dac680c16b11ab73bec0a5841712018ff3a0
|
| --- /dev/null
|
| +++ b/client/html/generated/html/dartium/Geolocation.dart
|
| @@ -0,0 +1,27 @@
|
| +
|
| +class _GeolocationImpl extends _DOMTypeBase implements Geolocation {
|
| + _GeolocationImpl._wrap(ptr) : super._wrap(ptr);
|
| +
|
| + void clearWatch(int watchId) {
|
| + _ptr.clearWatch(_unwrap(watchId));
|
| + return;
|
| + }
|
| +
|
| + void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) {
|
| + if (errorCallback === null) {
|
| + _ptr.getCurrentPosition(_unwrap(successCallback));
|
| + return;
|
| + } else {
|
| + _ptr.getCurrentPosition(_unwrap(successCallback), _unwrap(errorCallback));
|
| + return;
|
| + }
|
| + }
|
| +
|
| + int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) {
|
| + if (errorCallback === null) {
|
| + return _wrap(_ptr.watchPosition(_unwrap(successCallback)));
|
| + } else {
|
| + return _wrap(_ptr.watchPosition(_unwrap(successCallback), _unwrap(errorCallback)));
|
| + }
|
| + }
|
| +}
|
|
|