summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-09-17 15:55:39 +0100
committerAndrei Popescu <andreip@google.com>2009-09-17 17:26:02 +0100
commit8b6fb26a615e54190d2d9d653ee4a57750f06d5e (patch)
tree4750bb59d1f483bde395ee00d24bd15a2cf0aa5d /WebKit/android/jni
parent2471bb64fd133cc64b2048b1fb90c84e08c24a16 (diff)
downloadexternal_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.zip
external_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.tar.gz
external_webkit-8b6fb26a615e54190d2d9d653ee4a57750f06d5e.tar.bz2
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
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)