Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: lib/html/frog/html_frog.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10483004: Add PositionOptions type to registry. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index c541ab10935e5c2e471f592f07b09afae90c16fe..d7d5ec5bc3760a32c1e2a885c29ac9f341a14e29 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -7265,9 +7265,9 @@ class _GeolocationImpl implements Geolocation native "*Geolocation" {
void clearWatch(int watchId) native;
- void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) native;
+ void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null, Object options = null]) native;
- int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) native;
+ int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null, Object options = null]) native;
}
class _GeopositionImpl implements Geoposition native "*Geoposition" {
@@ -24237,10 +24237,10 @@ interface Geolocation {
void clearWatch(int watchId);
/** @domName Geolocation.getCurrentPosition */
- void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback]);
+ void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]);
/** @domName Geolocation.watchPosition */
- int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback]);
+ int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback, Object options]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698