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

Unified Diff: chrome/browser/extensions/theme_installed_infobar_delegate.h

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/extensions/theme_installed_infobar_delegate.h
===================================================================
--- chrome/browser/extensions/theme_installed_infobar_delegate.h (revision 72158)
+++ chrome/browser/extensions/theme_installed_infobar_delegate.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -21,28 +21,33 @@
ThemeInstalledInfoBarDelegate(TabContents* tab_contents,
const Extension* new_theme,
const std::string& previous_theme_id);
+
+ // Returns true if the given theme is the same as the one associated with this
+ // info bar.
+ bool MatchesTheme(const Extension* theme);
+
+ protected:
virtual ~ThemeInstalledInfoBarDelegate();
+
+ Profile* profile() { return profile_; }
+
+ // ConfirmInfoBarDelegate:
+ virtual bool Cancel();
+
+ private:
+ // ConfirmInfoBarDelegate:
virtual void InfoBarClosed();
- virtual string16 GetMessageText() const;
virtual SkBitmap* GetIcon() const;
virtual ThemeInstalledInfoBarDelegate* AsThemePreviewInfobarDelegate();
+ virtual string16 GetMessageText() const;
virtual int GetButtons() const;
- virtual string16 GetButtonLabel(
- ConfirmInfoBarDelegate::InfoBarButton button) const;
- virtual bool Cancel();
+ virtual string16 GetButtonLabel(InfoBarButton button) const;
- // Returns true if the given theme is the same as the one associated with this
- // info bar.
- bool MatchesTheme(const Extension* theme);
-
- // NotificationObserver implementation.
+ // NotificationObserver:
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.
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/theme_installed_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698