From e07f6aabbe877315688b586c09a36cbe02b7a2a1 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Mon, 28 Jun 2010 10:25:04 +0100 Subject: Pass the WebView context to the GeolocationService from WebKit Bug: 2798745 Change-Id: I429a1cb9fc6826419c62f1f30376692ede497085 --- WebCore/platform/android/GeolocationServiceBridge.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'WebCore/platform/android/GeolocationServiceBridge.h') 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 toGeoposition(JNIEnv *env, const jobject &location); private: - void startJavaImplementation(); + void startJavaImplementation(Frame* frame); void stopJavaImplementation(); ListenerInterface* m_listener; -- cgit v1.1