summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni')
-rw-r--r--WebKit/android/jni/WebCoreJniOnLoad.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/WebKit/android/jni/WebCoreJniOnLoad.cpp b/WebKit/android/jni/WebCoreJniOnLoad.cpp
index 25afc61..0d2b61f 100644
--- a/WebKit/android/jni/WebCoreJniOnLoad.cpp
+++ b/WebKit/android/jni/WebCoreJniOnLoad.cpp
@@ -46,6 +46,9 @@ extern int register_webstorage(JNIEnv*);
#endif
extern int register_geolocation_permissions(JNIEnv*);
extern int register_mock_geolocation(JNIEnv*);
+#if ENABLE(VIDEO)
+extern int register_mediaplayer(JNIEnv*);
+#endif
}
@@ -68,7 +71,10 @@ static RegistrationMethod gWebCoreRegMethods[] = {
#endif
{ "WebView", android::register_webview },
{ "GeolocationPermissions", android::register_geolocation_permissions },
- { "MockGeolocation", android::register_mock_geolocation }
+ { "MockGeolocation", android::register_mock_geolocation },
+#if ENABLE(VIDEO)
+ { "HTML5VideoViewProxy", android::register_mediaplayer },
+#endif
};
EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved)