summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/GeolocationServiceBridge.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-07-01 02:18:21 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-07-01 02:18:21 -0700
commitf264c97e92357c808f6a6c8d99440cf2d817c34f (patch)
tree2fa28a8c20a463cb32ad87422bbf37431fe5836c /WebCore/platform/android/GeolocationServiceBridge.h
parentb34d480cfd791385b567bf371f459ccfa2a3bc34 (diff)
parente07f6aabbe877315688b586c09a36cbe02b7a2a1 (diff)
downloadexternal_webkit-f264c97e92357c808f6a6c8d99440cf2d817c34f.zip
external_webkit-f264c97e92357c808f6a6c8d99440cf2d817c34f.tar.gz
external_webkit-f264c97e92357c808f6a6c8d99440cf2d817c34f.tar.bz2
Merge "Pass the WebView context to the GeolocationService from WebKit"
Diffstat (limited to 'WebCore/platform/android/GeolocationServiceBridge.h')
-rw-r--r--WebCore/platform/android/GeolocationServiceBridge.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/platform/android/GeolocationServiceBridge.h b/WebCore/platform/android/GeolocationServiceBridge.h
index 5d26142..3997d65 100644
--- a/WebCore/platform/android/GeolocationServiceBridge.h
+++ b/WebCore/platform/android/GeolocationServiceBridge.h
@@ -31,6 +31,7 @@
namespace WebCore {
+class Frame;
class GeolocationServiceAndroid;
class Geoposition;
@@ -40,7 +41,7 @@ class Geoposition;
class GeolocationServiceBridge {
public:
typedef GeolocationServiceAndroid ListenerInterface;
- GeolocationServiceBridge(ListenerInterface* listener);
+ GeolocationServiceBridge(ListenerInterface* listener, Frame* frame);
~GeolocationServiceBridge();
bool start();
@@ -53,7 +54,7 @@ public:
static PassRefPtr<Geoposition> toGeoposition(JNIEnv *env, const jobject &location);
private:
- void startJavaImplementation();
+ void startJavaImplementation(Frame* frame);
void stopJavaImplementation();
ListenerInterface* m_listener;