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 2f572350b911714e34a4727e841546877c22f06b..fcc8f10a5fa894da74d400dbd964730ee8dae402 100644 |
--- a/content/public/renderer/browser_plugin/browser_plugin.h |
+++ b/content/public/renderer/browser_plugin/browser_plugin.h |
@@ -33,12 +33,6 @@ class CONTENT_EXPORT BrowserPlugin : public IPC::Sender { |
public: |
virtual ~BrowserPlugin() {} |
- // Returns the embedding RenderView of the BrowserPlugin. |
- virtual RenderView* GetRenderView() const = 0; |
- |
- // Returns the container of the BrowserPlugin. |
- virtual WebKit::WebPluginContainer* GetContainer() const = 0; |
- |
// Adds a method binding to the BrowserPlugin. The BrowserPlugin takes |
// ownership of the method binding. The method binding will be destroyed when |
// the BrowserPlugin is destroyed, prior to cleaning up any |
@@ -52,6 +46,15 @@ class CONTENT_EXPORT BrowserPlugin : public IPC::Sender { |
virtual void AddPropertyBinding( |
BrowserPluginPropertyBinding* property_binding) = 0; |
+ // Returns the embedding RenderView of the BrowserPlugin. |
+ virtual RenderView* GetRenderView() const = 0; |
+ |
+ // Returns the embedder routing ID. |
+ virtual int GetRoutingID() const = 0; |
+ |
+ // Returns the container of the BrowserPlugin. |
+ virtual WebKit::WebPluginContainer* GetContainer() const = 0; |
+ |
// Triggers the event-listeners for |event_name|. Note that the function |
// frees all the values in |props|. |
virtual void TriggerEvent( |
@@ -74,7 +77,7 @@ class CONTENT_EXPORT BrowserPlugin : public IPC::Sender { |
virtual bool HasDOMAttribute(const std::string& attribute_name) const = 0; |
// Indicates whether the BrowserPlugin has navigated within its lifetime. |
- virtual bool HasNavigated() const = 0; |
+ virtual bool HasGuest() const = 0; |
}; |
} // namespace content |