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 |