diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 18:50:57 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 18:50:57 +0000 |
commit | 6d3eb2e4c787bce698ede74ced0dd8cae69cadc8 (patch) | |
tree | 682f8802132f1eb040fc6a6bc3990111bfe6f7dc /chrome/browser/extensions/theme_installed_infobar_delegate.h | |
parent | e521565fe8c0611559a7b289b8d923a79b5871d0 (diff) | |
download | chromium_src-6d3eb2e4c787bce698ede74ced0dd8cae69cadc8.zip chromium_src-6d3eb2e4c787bce698ede74ced0dd8cae69cadc8.tar.gz chromium_src-6d3eb2e4c787bce698ede74ced0dd8cae69cadc8.tar.bz2 |
[Themes] Add UsingNativeTheme() method to ThemeService
Remove GtkThemeInstalledInfobarDelegate and make
ThemeInstalledInfobarDelegate use UsingNativeTheme().
Make some sync code use UsingNativeTheme().
BUG=80197
TEST=
Review URL: http://codereview.chromium.org/6883129
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/theme_installed_infobar_delegate.h')
-rw-r--r-- | chrome/browser/extensions/theme_installed_infobar_delegate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.h b/chrome/browser/extensions/theme_installed_infobar_delegate.h index b21395f..bbde65c 100644 --- a/chrome/browser/extensions/theme_installed_infobar_delegate.h +++ b/chrome/browser/extensions/theme_installed_infobar_delegate.h @@ -21,7 +21,8 @@ class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate, public: ThemeInstalledInfoBarDelegate(TabContents* tab_contents, const Extension* new_theme, - const std::string& previous_theme_id); + const std::string& previous_theme_id, + bool previous_using_native_theme); // Returns true if the given theme is the same as the one associated with this // info bar. @@ -60,6 +61,7 @@ class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate, // Used to undo theme install. std::string previous_theme_id_; + bool previous_using_native_theme_; // Tab to which this info bar is associated. TabContents* tab_contents_; |