Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2281)

Unified Diff: content/public/renderer/browser_plugin_delegate.h

Issue 729333002: Add PostMessage support for MimeHandlerView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/renderer/browser_plugin_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/public/renderer/browser_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698