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

Unified Diff: content/public/browser/browser_plugin/browser_plugin_guest.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/public/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/public/browser/browser_plugin/browser_plugin_guest.h b/content/public/browser/browser_plugin/browser_plugin_guest.h
index a6197a6cdfe72093f1a0758b66d4f4a57fa179e8..1df6e2f33fa5d2ebd21a13f3231a38ae3f031986 100644
--- a/content/public/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/public/browser/browser_plugin/browser_plugin_guest.h
@@ -11,6 +11,8 @@
namespace content {
+class WebContents;
+
class CONTENT_EXPORT BrowserPluginGuest : public IPC::Sender {
public:
virtual ~BrowserPluginGuest() {}
@@ -20,6 +22,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public IPC::Sender {
virtual void RequestMessageFromGuest(uint32 message_id) = 0;
virtual void RequestMessageFromEmbedder(uint32 message_id) = 0;
+
+ virtual WebContents* GetWebContents() const = 0;
+
+ virtual WebContents* GetEmbedderWebContents() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698