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

Unified Diff: lib/html/dartium/html_dartium.dart

Issue 10483004: Add PositionOptions type to registry. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/dom/scripts/generator.py ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 3602fc056815f19c9b2349501d12d4adf22d1a09..31eaf260a400d70cde70f270faa407fe1876aa06 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -9737,9 +9737,9 @@ class _GeolocationImpl extends _DOMWrapperBase implements Geolocation {
void _clearWatch(watchId) native "Geolocation_clearWatch_Callback";
- void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) native "Geolocation_getCurrentPosition_Callback";
+ void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null, Object options = null]) native "Geolocation_getCurrentPosition_Callback";
- int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null]) native "Geolocation_watchPosition_Callback";
+ int watchPosition(PositionCallback successCallback, [PositionErrorCallback errorCallback = null, Object options = null]) native "Geolocation_watchPosition_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32721,10 +32721,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/dom/scripts/generator.py ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698