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

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

Issue 11693009: Browser Plugin: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/public/renderer/browser_plugin/browser_plugin.h
diff --git a/content/public/renderer/browser_plugin/browser_plugin.h b/content/public/renderer/browser_plugin/browser_plugin.h
index 0d720f9c5082abec2ebd283f96389b1b0bd29bcf..87dafb515614c4396cb4b6d744f665eea5f53380 100644
--- a/content/public/renderer/browser_plugin/browser_plugin.h
+++ b/content/public/renderer/browser_plugin/browser_plugin.h
@@ -5,6 +5,21 @@
#ifndef CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
#define CONTENT_PUBLIC_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
+#include <map>
+#include <string>
+
+#include "content/common/content_export.h"
+#include "content/public/renderer/render_view.h"
+#include "ipc/ipc_sender.h"
+
+namespace base {
+class Value;
+} // namespace base
+
+namespace WebKit {
+class WebPluginContainer;
+} // namespace WebKit
+
#include "content/common/content_export.h"
#include "ipc/ipc_sender.h"
@@ -23,6 +38,14 @@ class CONTENT_EXPORT BrowserPlugin : public IPC::Sender {
BrowserPluginPropertyBinding* property_binding) = 0;
virtual void RequestMessage(uint32 message_id) = 0;
+
+ virtual RenderView* GetRenderView() const = 0;
+
+ virtual WebKit::WebPluginContainer* GetContainer() const = 0;
+
+ virtual void TriggerEvent(
+ const std::string& event_name,
+ std::map<std::string, base::Value*>* props) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698