summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-12-14 06:22:19 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-12-14 06:22:19 -0800
commit0fc14971d67c92800218a8e4d679c27cf1035e92 (patch)
treec1a54064ed0af1217dcb55db8072880bff10dc81 /WebKit/android/jni/WebViewCore.h
parent75cf7d438d6ce954f34846f9a604586bc5f797b0 (diff)
parent5a144aa00c0f8d25e58a5f93fe4732a474f043bf (diff)
downloadexternal_webkit-0fc14971d67c92800218a8e4d679c27cf1035e92.zip
external_webkit-0fc14971d67c92800218a8e4d679c27cf1035e92.tar.gz
external_webkit-0fc14971d67c92800218a8e4d679c27cf1035e92.tar.bz2
am 5a144aa0: am b13fe228: Notify native plugin code when the browser discards the customView.
Merge commit '5a144aa00c0f8d25e58a5f93fe4732a474f043bf' * commit '5a144aa00c0f8d25e58a5f93fe4732a474f043bf': 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