Index: content/renderer/browser_plugin/browser_plugin_impl.h |
diff --git a/content/renderer/browser_plugin/browser_plugin_impl.h b/content/renderer/browser_plugin/browser_plugin_impl.h |
index 859580445b9d611493ed61bc55e869913ba545cf..a3f4fb5b51c7af52c4deb8085278af7d9543319a 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_impl.h |
+++ b/content/renderer/browser_plugin/browser_plugin_impl.h |
@@ -35,8 +35,6 @@ class CONTENT_EXPORT BrowserPluginImpl : |
NON_EXPORTED_BASE(public WebKit::WebPlugin), |
public BrowserPlugin { |
public: |
- RenderViewImpl* render_view() const { return render_view_.get(); } |
- |
bool OnMessageReceived(const IPC::Message& msg); |
// Update Browser Plugin's DOM Node attribute |attribute_name| with the value |
@@ -122,13 +120,20 @@ class CONTENT_EXPORT BrowserPluginImpl : |
gfx::Point ToLocalCoordinates(const gfx::Point& point) const; |
// BrowserPlugin implementation. |
- |
virtual void AddMethodBinding( |
BrowserPluginMethodBinding* method_binding) OVERRIDE; |
virtual void AddPropertyBinding( |
BrowserPluginPropertyBinding* method_binding) OVERRIDE; |
virtual bool Send(IPC::Message* message) OVERRIDE; |
virtual void RequestMessage(uint32 message_id) OVERRIDE; |
+ virtual RenderView* GetRenderView() const OVERRIDE; |
+ // smae as container() but for BrowserPlugin interface. |
+ virtual WebKit::WebPluginContainer* GetContainer() const OVERRIDE; |
+ // Triggers the event-listeners for |event_name|. Note that the function |
+ // frees all the values in |props|. |
+ virtual void TriggerEvent( |
+ const std::string& event_name, |
+ std::map<std::string, base::Value*>* props) OVERRIDE; |
// WebKit::WebPlugin implementation. |
virtual WebKit::WebPluginContainer* container() const OVERRIDE; |
@@ -212,11 +217,6 @@ class CONTENT_EXPORT BrowserPluginImpl : |
// and sets them appropriately. |
void ParseAttributes(const WebKit::WebPluginParams& params); |
- // Triggers the event-listeners for |event_name|. Note that the function |
- // frees all the values in |props|. |
- void TriggerEvent(const std::string& event_name, |
- std::map<std::string, base::Value*>* props); |
- |
// Creates and maps a shared damage buffer. |
virtual base::SharedMemory* CreateDamageBuffer( |
const size_t size, |