summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/GeolocationServiceBridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/jni/GeolocationServiceBridge.h')
-rw-r--r--Source/WebKit/android/jni/GeolocationServiceBridge.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/WebKit/android/jni/GeolocationServiceBridge.h b/Source/WebKit/android/jni/GeolocationServiceBridge.h
index 1813984..826ba71 100644
--- a/Source/WebKit/android/jni/GeolocationServiceBridge.h
+++ b/Source/WebKit/android/jni/GeolocationServiceBridge.h
@@ -30,8 +30,8 @@
#include <wtf/PassRefPtr.h>
namespace WebCore {
-class Geoposition;
-class PositionError;
+class GeolocationError;
+class GeolocationPosition;
}
namespace android {
@@ -40,14 +40,14 @@ class WebViewCore;
// GeolocationServiceBridge is the bridge to the Java implementation. It manages
// the lifetime of the Java object. It is an implementation detail of
-// GeolocationServiceAndroid.
+// GeolocationClientAndroid.
class GeolocationServiceBridge {
public:
class Listener {
public:
virtual ~Listener() {}
- virtual void newPositionAvailable(PassRefPtr<WebCore::Geoposition>) = 0;
- virtual void newErrorAvailable(PassRefPtr<WebCore::PositionError>) = 0;
+ virtual void newPositionAvailable(PassRefPtr<WebCore::GeolocationPosition>) = 0;
+ virtual void newErrorAvailable(PassRefPtr<WebCore::GeolocationError>) = 0;
};
GeolocationServiceBridge(Listener*, WebViewCore*);
@@ -60,7 +60,7 @@ public:
// Static wrapper functions to hide JNI nastiness.
static void newLocationAvailable(JNIEnv *env, jclass, jlong nativeObject, jobject location);
static void newErrorAvailable(JNIEnv *env, jclass, jlong nativeObject, jstring message);
- static PassRefPtr<WebCore::Geoposition> toGeoposition(JNIEnv *env, const jobject &location);
+ static PassRefPtr<WebCore::GeolocationPosition> toGeolocationPosition(JNIEnv *env, const jobject &location);
private:
void startJavaImplementation(WebViewCore*);