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

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

Issue 160501: Try again to land: http://codereview.chromium.org/160483 (Closed)
Patch Set: Created 11 years, 5 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
« no previous file with comments | « chrome/browser/extensions/theme_preview_infobar_delegate.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/theme_preview_infobar_delegate.cc
diff --git a/chrome/browser/extensions/theme_preview_infobar_delegate.cc b/chrome/browser/extensions/theme_preview_infobar_delegate.cc
index 75c1ce898c28c5c8b8901f4e735a0854e62f1395..d22ebda9561a4189c06425eed8c4cc4e07afefa2 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;
}
« no previous file with comments | « chrome/browser/extensions/theme_preview_infobar_delegate.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698