Chromium Code Reviews| 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..ca317720301e09db9a5c0077cc7f87fb3eb1ac9e 100644 |
| --- a/content/public/renderer/browser_plugin_delegate.h |
| +++ b/content/public/renderer/browser_plugin_delegate.h |
| @@ -9,6 +9,7 @@ |
| #include "content/common/content_export.h" |
| #include "ipc/ipc_message.h" |
| +#include "v8/include/v8.h" |
| namespace content { |
| @@ -38,6 +39,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); |
|
jochen (gone - plz use gerrit)
2014/12/22 14:17:29
plz forward declare the v8 stuff
namespace v8 {
c
raymes
2014/12/22 23:41:29
Done.
|
| }; |
| } // namespace content |