summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-12-08 15:44:57 -0500
committerDerek Sollenberger <djsollen@google.com>2009-12-14 08:46:40 -0500
commitb13fe2289ea65a0b980e31d4dc680d811ec6fdf6 (patch)
tree754cd6515aa48d6a2a26c2fe3ed9748533a664dc /WebKit/android/jni/WebViewCore.h
parent9652d6b88e01f27d69c804ac6bc56b527b33c219 (diff)
downloadexternal_webkit-b13fe2289ea65a0b980e31d4dc680d811ec6fdf6.zip
external_webkit-b13fe2289ea65a0b980e31d4dc680d811ec6fdf6.tar.gz
external_webkit-b13fe2289ea65a0b980e31d4dc680d811ec6fdf6.tar.bz2
Notify native plugin code when the browser discards the customView.
Diffstat (limited to 'WebKit/android/jni/WebViewCore.h')
-rw-r--r--WebKit/android/jni/WebViewCore.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebKit/android/jni/WebViewCore.h b/WebKit/android/jni/WebViewCore.h
index a469329..3f00f3c 100644
--- a/WebKit/android/jni/WebViewCore.h
+++ b/WebKit/android/jni/WebViewCore.h
@@ -364,6 +364,9 @@ namespace android {
// send this event to all of the plugins who have the given flag set
void sendPluginEvent(const ANPEvent& evt, ANPEventFlag flag);
+ // lookup the plugin widget struct given an NPP
+ PluginWidgetAndroid* getPluginWidget(NPP npp);
+
// return the cursorNode if it is a plugin
Node* cursorNodeIsPlugin();
@@ -380,9 +383,9 @@ namespace android {
jobject createPluginJavaInstance(const WebCore::String& libName, NPP npp);
// Creates a full screen surface for a plugin
- void showFullScreenPlugin(jobject webkitPlugin);
+ void showFullScreenPlugin(jobject webkitPlugin, NPP npp);
- // Discards the full screen surface of a plugin
+ // Instructs the UI thread to discard the plugin's full-screen surface
void hideFullScreenPlugin();
// Creates a Surface (i.e. View) for a plugin