| 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 // WARNING: |
| 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. |
| 8 |
| 9 /// @domName Geolocation |
| 10 interface Geolocation { |
| 11 |
| 12 /** @domName Geolocation.clearWatch */ |
| 13 void clearWatch(int watchId); |
| 14 |
| 15 /** @domName Geolocation.getCurrentPosition */ |
| 16 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback, Object options]); |
| 17 |
| 18 /** @domName Geolocation.watchPosition */ |
| 19 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback, Object options]); |
| 20 } |
| OLD | NEW |