diff options
| author | Derek Sollenberger <djsollen@google.com> | 2009-12-08 15:44:57 -0500 |
|---|---|---|
| committer | Derek Sollenberger <djsollen@google.com> | 2009-12-14 08:46:40 -0500 |
| commit | b13fe2289ea65a0b980e31d4dc680d811ec6fdf6 (patch) | |
| tree | 754cd6515aa48d6a2a26c2fe3ed9748533a664dc /WebKit/android/jni/WebViewCore.h | |
| parent | 9652d6b88e01f27d69c804ac6bc56b527b33c219 (diff) | |
| download | external_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.h | 7 |
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 |
