Index: content/browser/browser_plugin/browser_plugin_guest_impl.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest_impl.h b/content/browser/browser_plugin/browser_plugin_guest_impl.h |
index 6ec1177c41972d9bc950216fda70f593322e43ca..d8524d6b4e746c619169f885922c2efbb58ad33f 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest_impl.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest_impl.h |
@@ -96,9 +96,6 @@ class CONTENT_EXPORT BrowserPluginGuestImpl : public NotificationObserver, |
void set_embedder_web_contents(WebContentsImpl* web_contents) { |
embedder_web_contents_ = web_contents; |
} |
- WebContentsImpl* embedder_web_contents() const { |
- return embedder_web_contents_; |
- } |
bool focused() const { return focused_; } |
bool visible() const { return visible_; } |
@@ -114,6 +111,8 @@ class CONTENT_EXPORT BrowserPluginGuestImpl : public NotificationObserver, |
virtual bool Send(IPC::Message* msg) OVERRIDE; |
virtual void RequestMessageFromGuest(uint32 message_id) OVERRIDE; |
virtual void RequestMessageFromEmbedder(uint32 message_id) OVERRIDE; |
+ virtual WebContents* GetWebContents() const OVERRIDE; |
+ virtual WebContents* GetEmbedderWebContents() const OVERRIDE; |
// NotificationObserver implementation. |
virtual void Observe(int type, |
@@ -159,9 +158,6 @@ class CONTENT_EXPORT BrowserPluginGuestImpl : public NotificationObserver, |
const FileChooserParams& params) OVERRIDE; |
virtual bool ShouldFocusPageAfterCrash() OVERRIDE; |
- // Exposes the protected web_contents() from WebContentsObserver. |
- WebContents* GetWebContents(); |
- |
// Kill the guest process. |
void Terminate(); |