summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/PluginView.h
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-05-01 00:44:46 -0700
committerFeng Qian <fqian@google.com>2009-05-01 01:01:53 -0700
commit2578c44913d80005b8a079eec758531a35055272 (patch)
tree46802156d9e4a58f984467fe3edbba7e630b6e7e /WebCore/plugins/PluginView.h
parentb2318f335c407832166c7568f3e50afedad5b9db (diff)
downloadexternal_webkit-2578c44913d80005b8a079eec758531a35055272.zip
external_webkit-2578c44913d80005b8a079eec758531a35055272.tar.gz
external_webkit-2578c44913d80005b8a079eec758531a35055272.tar.bz2
Add plugin plumbing with V8 binding.
Hook up plugin with V8 binding. You can take the patch and play on your local machine. It is almost there, I need do more testing.
Diffstat (limited to 'WebCore/plugins/PluginView.h')
-rw-r--r--WebCore/plugins/PluginView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/plugins/PluginView.h b/WebCore/plugins/PluginView.h
index 3821df6..d007d64 100644
--- a/WebCore/plugins/PluginView.h
+++ b/WebCore/plugins/PluginView.h
@@ -66,6 +66,8 @@ namespace JSC {
}
#endif
+class NPObject;
+
namespace WebCore {
class Element;
class Frame;
@@ -128,6 +130,8 @@ namespace WebCore {
#if USE(JSC)
PassRefPtr<JSC::Bindings::Instance> bindingInstance();
+#elif USE(V8)
+ NPObject* getNPObject();
#endif
PluginStatus status() const { return m_status; }