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

Unified Diff: content/public/renderer/browser_plugin/browser_plugin_observer.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/renderer/browser_plugin/browser_plugin_observer.h
diff --git a/content/public/renderer/browser_plugin/browser_plugin_observer.h b/content/public/renderer/browser_plugin/browser_plugin_observer.h
index 807ddb2063db3acb592118077282b74957445323..a764b7289766de8e70216501ec457b9843b8bf40 100644
--- a/content/public/renderer/browser_plugin/browser_plugin_observer.h
+++ b/content/public/renderer/browser_plugin/browser_plugin_observer.h
@@ -18,6 +18,9 @@ class BrowserPluginImpl;
class CONTENT_EXPORT BrowserPluginObserver : public IPC::Listener,
public IPC::Sender {
public:
+ BrowserPlugin* browser_plugin() const;
+ int instance_id() { return instance_id_; }
+
// By default, observers will be deleted when the BrowserPlugin goes away. If
// they want to outlive it, they can override this function.
virtual void OnDestruct();
@@ -25,15 +28,12 @@ class CONTENT_EXPORT BrowserPluginObserver : public IPC::Listener,
// IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- protected:
- explicit BrowserPluginObserver(BrowserPlugin* browser_plugin);
- virtual ~BrowserPluginObserver();
-
// IPC::Sender implementation.
virtual bool Send(IPC::Message* message) OVERRIDE;
- BrowserPlugin* browser_plugin() const;
- int instance_id() { return instance_id_; }
+ protected:
+ explicit BrowserPluginObserver(BrowserPlugin* browser_plugin);
+ virtual ~BrowserPluginObserver();
private:
friend class BrowserPluginImpl;
« no previous file with comments | « content/public/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/browser_plugin/browser_plugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698