diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-19 05:39:10 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-19 05:39:10 +0000 |
commit | 3ba0fd329ecca32c7d860bd96eb4c5db87c8c3e4 (patch) | |
tree | c4b4069c1c6854bb29dedcf1c00b585a2223e12c /chrome/browser/extensions/extension_install_ui.cc | |
parent | 69d718cd682a0da7a91c1475fce30cbb25dfacd0 (diff) | |
download | chromium_src-3ba0fd329ecca32c7d860bd96eb4c5db87c8c3e4.zip chromium_src-3ba0fd329ecca32c7d860bd96eb4c5db87c8c3e4.tar.gz chromium_src-3ba0fd329ecca32c7d860bd96eb4c5db87c8c3e4.tar.bz2 |
Re-apply r50278.
BUG=46632
TBR=rafaelw@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui.cc')
-rw-r--r-- | chrome/browser/extensions/extension_install_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc index dfd3ef6..c5c22f6 100644 --- a/chrome/browser/extensions/extension_install_ui.cc +++ b/chrome/browser/extensions/extension_install_ui.cc @@ -158,7 +158,7 @@ void ExtensionInstallUI::ConfirmInstall(Delegate* delegate, // We special-case themes to not show any confirm UI. Instead they are // immediately installed, and then we show an infobar (see OnInstallSuccess) // to allow the user to revert if they don't like it. - if (extension->IsTheme()) { + if (extension->is_theme()) { // Remember the current theme in case the user pressed undo. Extension* previous_theme = profile_->GetTheme(); if (previous_theme) @@ -190,7 +190,7 @@ void ExtensionInstallUI::ConfirmUninstall(Delegate* delegate, } void ExtensionInstallUI::OnInstallSuccess(Extension* extension) { - if (extension->IsTheme()) { + if (extension->is_theme()) { ShowThemeInfoBar(previous_theme_id_, previous_use_system_theme_, extension, profile_); return; @@ -302,7 +302,7 @@ void ExtensionInstallUI::OnImageLoaded( void ExtensionInstallUI::ShowThemeInfoBar( const std::string& previous_theme_id, bool previous_use_system_theme, Extension* new_theme, Profile* profile) { - if (!new_theme->IsTheme()) + if (!new_theme->is_theme()) return; // Get last active normal browser of profile. |