summaryrefslogtreecommitdiffstats
path: root/WebCore/page/Geolocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/Geolocation.h')
-rw-r--r--WebCore/page/Geolocation.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/WebCore/page/Geolocation.h b/WebCore/page/Geolocation.h
index af10632..a4a0c5a 100644
--- a/WebCore/page/Geolocation.h
+++ b/WebCore/page/Geolocation.h
@@ -139,6 +139,9 @@ private:
void stopTimersForWatchers();
void stopTimers();
+ void cancelRequests(Vector<RefPtr<GeoNotifier> >&);
+ void cancelAllRequests();
+
void positionChangedInternal();
void makeSuccessCallbacks();
void handleError(PositionError*);
@@ -148,6 +151,10 @@ private:
bool startUpdating(GeoNotifier*);
void stopUpdating();
+#if USE(PREEMPT_GEOLOCATION_PERMISSION)
+ void handlePendingPermissionNotifiers();
+#endif
+
#if !ENABLE(CLIENT_BASED_GEOLOCATION) && ENABLE(GEOLOCATION)
// GeolocationServiceClient
virtual void geolocationServicePositionChanged(GeolocationService*);
@@ -171,7 +178,7 @@ private:
OwnPtr<GeolocationService> m_service;
#endif
#if USE(PREEMPT_GEOLOCATION_PERMISSION)
- RefPtr<GeoNotifier> m_startRequestPermissionNotifier;
+ GeoNotifierSet m_pendingForPermissionNotifiers;
#endif
RefPtr<Geoposition> m_lastPosition;