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

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

Issue 165373: Merge 23055 - Make the theme install infobar have an 'undo' button instead... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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_preview_infobar_delegate.h
===================================================================
--- chrome/browser/extensions/theme_preview_infobar_delegate.h (revision 23160)
+++ chrome/browser/extensions/theme_preview_infobar_delegate.h (working copy)
@@ -7,8 +7,6 @@
#include "chrome/browser/tab_contents/infobar_delegate.h"
-class Extension;
-class ExtensionsService;
class SkBitmap;
class TabContents;
@@ -20,7 +18,8 @@
class ThemePreviewInfobarDelegate : public ConfirmInfoBarDelegate {
public:
ThemePreviewInfobarDelegate(TabContents* tab_contents,
- const std::string& name);
+ const std::string& name,
+ const std::string& previous_theme);
virtual void InfoBarClosed();
virtual std::wstring GetMessageText() const;
virtual SkBitmap* GetIcon() const;
@@ -33,6 +32,7 @@
private:
Profile* profile_;
std::string name_; // name of theme to install
+ std::string previous_theme_id_; // used to undo theme install
};
#endif // CHROME_BROWSER_VIEWS_EXTENSIONS_THEME_PREVIEW_INFOBAR_DELEGATE_H_
Property changes on: chrome\browser\extensions\theme_preview_infobar_delegate.h
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/extensions/theme_preview_infobar_delegate.h:r23055
« no previous file with comments | « chrome/browser/extensions/extension_install_ui.cc ('k') | chrome/browser/extensions/theme_preview_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698