Index: content/public/renderer/browser_plugin_delegate.h |
diff --git a/content/public/renderer/browser_plugin_delegate.h b/content/public/renderer/browser_plugin_delegate.h |
index 011011ee541e6c1311012724ad267c50c926a930..5485a7de5bc84a785d188b7b0550909473d5432a 100644 |
--- a/content/public/renderer/browser_plugin_delegate.h |
+++ b/content/public/renderer/browser_plugin_delegate.h |
@@ -10,6 +10,12 @@ |
#include "content/common/content_export.h" |
#include "ipc/ipc_message.h" |
+namespace v8 { |
+class Isolate; |
+class Object; |
+template<typename T> class Local; |
+} // namespace v8 |
+ |
namespace content { |
class RenderFrame; |
@@ -38,6 +44,9 @@ class CONTENT_EXPORT BrowserPluginDelegate { |
// Called when a message is received. Returns true iff the message was |
// handled. |
virtual bool OnMessageReceived(const IPC::Message& message); |
+ |
+ // Return a scriptable object for the plugin. |
+ virtual v8::Local<v8::Object> V8ScriptableObject(v8::Isolate* isolate); |
}; |
} // namespace content |