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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 12226022: <webview>: Store <webview> embedder info in ExtensionRendererState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index b25ff17f9546f91629ae16a7ae4cb60bf67905d2..cbe1c508b5516280046e30192a5e8755883dc416 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -170,10 +170,10 @@ class CONTENT_EXPORT WebContentsImpl
// Returns guest browser plugin object, or NULL if this WebContents is not a
// guest.
- BrowserPluginGuest* GetBrowserPluginGuest();
+ BrowserPluginGuest* GetBrowserPluginGuest() const;
// Returns embedder browser plugin object, or NULL if this WebContents is not
// an embedder.
- BrowserPluginEmbedder* GetBrowserPluginEmbedder();
+ BrowserPluginEmbedder* GetBrowserPluginEmbedder() const;
// Gets the current fullscreen render widget's routing ID. Returns
// MSG_ROUTING_NONE when there is no fullscreen render widget.
@@ -193,6 +193,8 @@ class CONTENT_EXPORT WebContentsImpl
int x,
int y,
const GetRenderViewHostCallback& callback) OVERRIDE;
+ virtual WebContents* GetEmbedderWebContents() const OVERRIDE;
+ virtual int GetInstanceID() const OVERRIDE;
virtual int GetRoutingID() const OVERRIDE;
virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE;
virtual WebContentsView* GetView() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698