diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-31 23:59:53 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-31 23:59:53 +0000 |
commit | fb3ef9384cc76c4237f98e5aa38d2689cc7b60cd (patch) | |
tree | 98bad1fae8753d67f447e4c906fc1739f87d4589 /chrome/browser/extensions/theme_preview_infobar_delegate.cc | |
parent | 217a6c001d47eb867b610d40a2a3e3141d84beb5 (diff) | |
download | chromium_src-fb3ef9384cc76c4237f98e5aa38d2689cc7b60cd.zip chromium_src-fb3ef9384cc76c4237f98e5aa38d2689cc7b60cd.tar.gz chromium_src-fb3ef9384cc76c4237f98e5aa38d2689cc7b60cd.tar.bz2 |
Ever closer. Extract a client interface out of CrxInstaller and
use it to implement ExtensionInstallUI.
There is (still) no dialog here. But the next CL will, um,
definitely have it.
Also, fixed the issue with theme preview infobars not updating if you install a theme while another one is already previewed.
BUG=17932
Review URL: http://codereview.chromium.org/160483
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/theme_preview_infobar_delegate.cc')
-rw-r--r-- | chrome/browser/extensions/theme_preview_infobar_delegate.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/extensions/theme_preview_infobar_delegate.cc b/chrome/browser/extensions/theme_preview_infobar_delegate.cc index 75c1ce8..d22ebda 100644 --- a/chrome/browser/extensions/theme_preview_infobar_delegate.cc +++ b/chrome/browser/extensions/theme_preview_infobar_delegate.cc @@ -16,19 +16,6 @@ ThemePreviewInfobarDelegate::ThemePreviewInfobarDelegate( profile_(tab_contents->profile()), name_(name) { } -bool ThemePreviewInfobarDelegate::EqualsDelegate(InfoBarDelegate* delegate) - const { - // If another infobar of this type is showing, this will prevent us adding - // a new one, we only care if they're the same type, as pressing undo always - // has the same result each time. This does mean that the text continues - // to refer to the old theme, but this is good enough for beta. - // http://crbug.com/17932 - if (delegate->AsThemePreviewInfobarDelegate()) - return true; - - return false; -} - void ThemePreviewInfobarDelegate::InfoBarClosed() { delete this; } |