summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/theme_installed_infobar_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/theme_installed_infobar_delegate.h')
-rw-r--r--chrome/browser/extensions/theme_installed_infobar_delegate.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.h b/chrome/browser/extensions/theme_installed_infobar_delegate.h
index beb99c6..b8baf41 100644
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.h
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_
#include "chrome/browser/tab_contents/infobar_delegate.h"
-#include "chrome/common/notification_registrar.h"
class Extension;
class SkBitmap;
@@ -14,8 +13,7 @@ class TabContents;
// When a user installs a theme, we display it immediately, but provide an
// infobar allowing them to cancel.
-class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
- public NotificationObserver {
+class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
ThemeInstalledInfoBarDelegate(TabContents* tab_contents,
const Extension* new_theme,
@@ -30,30 +28,15 @@ class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
ConfirmInfoBarDelegate::InfoBarButton button) const;
virtual bool Cancel();
- // NotificationObserver implementation.
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
protected:
Profile* profile() { return profile_; }
private:
Profile* profile_;
-
// Name of theme that's just been installed.
std::string name_;
-
- // ID of theme that's just been installed.
- std::string theme_id_;
-
// Used to undo theme install.
std::string previous_theme_id_;
-
- // Tab to which this info bar is associated.
- TabContents* tab_contents_;
-
- // Registers and unregisters us for notifications.
- NotificationRegistrar registrar_;
};
#endif // CHROME_BROWSER_EXTENSIONS_THEME_INSTALLED_INFOBAR_DELEGATE_H_