diff options
author | Steve Block <steveblock@google.com> | 2009-11-08 07:56:39 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-11-09 22:10:22 +0000 |
commit | 7de0f59ef4a50e0a204f9918636f10b254865d5e (patch) | |
tree | f6a560781163bef9625d941229d12927893da66f /WebCore/platform/android/GeolocationServiceAndroid.h | |
parent | b9fca1a768e8d5f3948b492fb962210af28d8d23 (diff) | |
download | external_webkit-7de0f59ef4a50e0a204f9918636f10b254865d5e.zip external_webkit-7de0f59ef4a50e0a204f9918636f10b254865d5e.tar.gz external_webkit-7de0f59ef4a50e0a204f9918636f10b254865d5e.tar.bz2 |
Stop Geolocation service when browser tab is in the background. Do not merge.
This is a fix for bug http://b/issue?id=2211437
This has already been submitted to Eclair MR2 branch.
Change-Id: I43c19e84fda6291590ff2f07bbadb18a4f86df5f
Diffstat (limited to 'WebCore/platform/android/GeolocationServiceAndroid.h')
-rw-r--r-- | WebCore/platform/android/GeolocationServiceAndroid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/android/GeolocationServiceAndroid.h b/WebCore/platform/android/GeolocationServiceAndroid.h index 90a8864..e8ed7ce 100644 --- a/WebCore/platform/android/GeolocationServiceAndroid.h +++ b/WebCore/platform/android/GeolocationServiceAndroid.h @@ -52,6 +52,9 @@ namespace WebCore { virtual Geoposition* lastPosition() const { return m_lastPosition.get(); } virtual PositionError* lastError() const { return m_lastError.get(); } + virtual void suspend(); + virtual void resume(); + // Android-specific void newPositionAvailable(PassRefPtr<Geoposition>); void newErrorAvailable(PassRefPtr<PositionError>); |