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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest_impl.h

Issue 11693009: Browser Plugin: Implement ExecuteScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/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();
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/browser_plugin/browser_plugin_guest_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698