diff options
| author | Derek Sollenberger <djsollen@google.com> | 2009-12-14 06:11:24 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-14 06:11:24 -0800 |
| commit | 5a144aa00c0f8d25e58a5f93fe4732a474f043bf (patch) | |
| tree | 754cd6515aa48d6a2a26c2fe3ed9748533a664dc /WebKit/android/jni/WebViewCore.h | |
| parent | 1d17336b0bcbfbe84a83b2ff144b2b5b200fb784 (diff) | |
| parent | b13fe2289ea65a0b980e31d4dc680d811ec6fdf6 (diff) | |
| download | external_webkit-5a144aa00c0f8d25e58a5f93fe4732a474f043bf.zip external_webkit-5a144aa00c0f8d25e58a5f93fe4732a474f043bf.tar.gz external_webkit-5a144aa00c0f8d25e58a5f93fe4732a474f043bf.tar.bz2 | |
am b13fe228: Notify native plugin code when the browser discards the customView.
Merge commit 'b13fe2289ea65a0b980e31d4dc680d811ec6fdf6' into eclair-mr2-plus-aosp
* commit 'b13fe2289ea65a0b980e31d4dc680d811ec6fdf6':
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 |
