diff options
| author | Steve Block <steveblock@google.com> | 2009-08-17 10:59:07 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-08-17 10:59:07 -0700 |
| commit | 08ed5007c291b48f32522b00fab79634f608c3cf (patch) | |
| tree | 3a711b22e5867b623839b33a2cc31248e78a5a86 /WebCore/page/Geolocation.h | |
| parent | 9606a61b402dee7cf71ea7e4541d41be24e6bae8 (diff) | |
| parent | a33b8f97b76634d57ffa1c296c3e1fca5726662f (diff) | |
| download | external_webkit-08ed5007c291b48f32522b00fab79634f608c3cf.zip external_webkit-08ed5007c291b48f32522b00fab79634f608c3cf.tar.gz external_webkit-08ed5007c291b48f32522b00fab79634f608c3cf.tar.bz2 | |
am a33b8f97: am 350d1294: Merge change 21293 into eclair
Merge commit 'a33b8f97b76634d57ffa1c296c3e1fca5726662f'
* commit 'a33b8f97b76634d57ffa1c296c3e1fca5726662f':
Correctly applies Geolocation timeout parameter.
Diffstat (limited to 'WebCore/page/Geolocation.h')
| -rw-r--r-- | WebCore/page/Geolocation.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/WebCore/page/Geolocation.h b/WebCore/page/Geolocation.h index 547d284..70a8196 100644 --- a/WebCore/page/Geolocation.h +++ b/WebCore/page/Geolocation.h @@ -78,7 +78,7 @@ private: static PassRefPtr<GeoNotifier> create(Geolocation* geolocation, PassRefPtr<PositionCallback> positionCallback, PassRefPtr<PositionErrorCallback> positionErrorCallback, PassRefPtr<PositionOptions> options) { return adoptRef(new GeoNotifier(geolocation, positionCallback, positionErrorCallback, options)); } void setFatalError(PassRefPtr<PositionError> error); - void startTimer(); + void startTimerIfNeeded(); void timerFired(Timer<GeoNotifier>*); Geolocation* m_geolocation; @@ -99,10 +99,10 @@ private: void sendPositionToOneShots(Geoposition*); void sendPositionToWatchers(Geoposition*); - static void startTimer(Vector<RefPtr<GeoNotifier> >&); - void startTimersForOneShots(); - void startTimersForWatchers(); - void startTimers(); + static void stopTimer(Vector<RefPtr<GeoNotifier> >&); + void stopTimersForOneShots(); + void stopTimersForWatchers(); + void stopTimers(); void makeSuccessCallbacks(); void handleError(PositionError*); @@ -114,6 +114,7 @@ private: virtual void geolocationServiceErrorOccurred(GeolocationService*); void fatalErrorOccurred(GeoNotifier* notifier); + void requestTimedOut(GeoNotifier* notifier); typedef HashSet<RefPtr<GeoNotifier> > GeoNotifierSet; typedef HashMap<int, RefPtr<GeoNotifier> > GeoNotifierMap; |
