Index: Source/modules/geolocation/Geolocation.h |
diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h |
index a1779fbb383f8904c1a9df63a07d85d71a3673f4..5cdbbf1a3bd6411309bba7c920d806d262473c5c 100644 |
--- a/Source/modules/geolocation/Geolocation.h |
+++ b/Source/modules/geolocation/Geolocation.h |
@@ -39,6 +39,7 @@ |
namespace WebCore { |
+class Dictionary; |
class Document; |
class LocalFrame; |
class GeolocationController; |
@@ -61,11 +62,11 @@ public: |
// Creates a oneshot and attempts to obtain a position that meets the |
// constraints of the options. |
- void getCurrentPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErrorCallback>, PositionOptions*); |
+ void getCurrentPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErrorCallback>, const Dictionary&); |
// Creates a watcher that will be notified whenever a new position is |
// available that meets the constraints of the options. |
- int watchPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErrorCallback>, PositionOptions*); |
+ int watchPosition(PassOwnPtr<PositionCallback>, PassOwnPtr<PositionErrorCallback>, const Dictionary&); |
// Removes all references to the watcher, it will not be updated again. |
void clearWatch(int watchID); |