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

Unified Diff: chrome/browser/tab_contents/infobar_container.cc

Issue 7182004: infobars: Use TCW directly in InfoBar to remove the delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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/tab_contents/infobar_container.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/infobar_container.cc
diff --git a/chrome/browser/tab_contents/infobar_container.cc b/chrome/browser/tab_contents/infobar_container.cc
index 6541c250e1ded796037394fedf10925a5d27419e..6e9d02e76ceecf1f92cb48f3162f804008b86421 100644
--- a/chrome/browser/tab_contents/infobar_container.cc
+++ b/chrome/browser/tab_contents/infobar_container.cc
@@ -96,10 +96,6 @@ void InfoBarContainer::OnInfoBarStateChanged(bool is_animating) {
delegate_->InfoBarContainerStateChanged(is_animating);
}
-void InfoBarContainer::RemoveDelegate(InfoBarDelegate* delegate) {
- tab_contents_->RemoveInfoBar(delegate);
-}
-
void InfoBarContainer::RemoveInfoBar(InfoBar* infobar) {
InfoBars::iterator infobar_iterator(std::find(infobars_.begin(),
infobars_.end(), infobar));
« no previous file with comments | « chrome/browser/tab_contents/infobar_container.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698