summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_observer.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 16:20:23 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 16:20:23 +0000
commitde23f3f2b0ac6e87d430356c8f8c60b6035a0d26 (patch)
tree5c9f78e7801ce55fd2acc52ffd5b43ff55b7912f /chrome/browser/plugin_observer.h
parent835ddb1efa93056484b6ef0ab726f91c80dc9dc0 (diff)
downloadchromium_src-de23f3f2b0ac6e87d430356c8f8c60b6035a0d26.zip
chromium_src-de23f3f2b0ac6e87d430356c8f8c60b6035a0d26.tar.gz
chromium_src-de23f3f2b0ac6e87d430356c8f8c60b6035a0d26.tar.bz2
Get rid of some plugin related dependencies. Have PluginObserver be created and owned by TabContentsWrapper, and have the chrome code register the default/flash plugins.
Review URL: http://codereview.chromium.org/7017038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_observer.h')
-rw-r--r--chrome/browser/plugin_observer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/plugin_observer.h b/chrome/browser/plugin_observer.h
index 358ad3b..5bd3d7b 100644
--- a/chrome/browser/plugin_observer.h
+++ b/chrome/browser/plugin_observer.h
@@ -12,11 +12,11 @@ class FilePath;
class GURL;
class InfoBarDelegate;
class PluginInstallerInfoBarDelegate;
-class TabContents;
+class TabContentsWrapper;
class PluginObserver : public TabContentsObserver {
public:
- explicit PluginObserver(TabContents* tab_contents);
+ explicit PluginObserver(TabContentsWrapper* tab_contents);
~PluginObserver();
// IPC::Channel::Listener implementation.
@@ -30,6 +30,7 @@ class PluginObserver : public TabContentsObserver {
void OnCrashedPlugin(const FilePath& plugin_path);
void OnBlockedOutdatedPlugin(const string16& name, const GURL& update_url);
+ TabContentsWrapper* tab_contents_;
scoped_ptr<InfoBarDelegate> plugin_installer_; // Lazily created.
DISALLOW_COPY_AND_ASSIGN(PluginObserver);