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

Unified Diff: chrome/browser/plugins/plugin_observer.h

Issue 10967081: Remove dependency of plugin infobar delegates on PluginObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dfgdsfgxc Created 8 years, 3 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
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_observer.h
diff --git a/chrome/browser/plugins/plugin_observer.h b/chrome/browser/plugins/plugin_observer.h
index ccc609e118c50d17a2f50b23e8d55417d87e48d7..6da1c5ebf344d61d2c2844cec27cc63c4893c9a8 100644
--- a/chrome/browser/plugins/plugin_observer.h
+++ b/chrome/browser/plugins/plugin_observer.h
@@ -35,13 +35,6 @@ class PluginObserver : public content::WebContentsObserver,
virtual void PluginCrashed(const FilePath& plugin_path) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-#if defined(ENABLE_PLUGIN_INSTALLATION)
- void InstallMissingPlugin(PluginInstaller* installer);
-#endif
-
- // Make public the web_contents() accessor that is protected in the parent.
- using content::WebContentsObserver::web_contents;
-
private:
explicit PluginObserver(content::WebContents* web_contents);
static int kUserDataKey;
@@ -49,6 +42,11 @@ class PluginObserver : public content::WebContentsObserver,
class PluginPlaceholderHost;
+#if defined(ENABLE_PLUGIN_INSTALLATION)
+ void InstallMissingPlugin(PluginInstaller* installer);
+#endif
+
+ // Message handlers:
void OnBlockedUnauthorizedPlugin(const string16& name,
const std::string& identifier);
void OnBlockedOutdatedPlugin(int placeholder_id,
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698