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

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

Issue 12326168: Move <webview> API to chrome layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 7 years, 10 months 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 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

Powered by Google App Engine
This is Rietveld 408576698