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

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

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.cc ('k') | chrome/browser/tab_contents/infobar_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/infobar_container.h
diff --git a/chrome/browser/tab_contents/infobar_container.h b/chrome/browser/tab_contents/infobar_container.h
index 1be2b817b6e0e4e4abe7d37e4bfa60e51e0b6d27..0b3eb5b2af0de8a1ebd79e29d069a5c47243a9d2 100644
--- a/chrome/browser/tab_contents/infobar_container.h
+++ b/chrome/browser/tab_contents/infobar_container.h
@@ -72,11 +72,6 @@ class InfoBarContainer : public NotificationObserver {
// anything necessary to respond, e.g. re-layout.
void OnInfoBarStateChanged(bool is_animating);
- // Removes the specified InfoBarDelegate from the selected TabContentsWrapper.
- // This will notify us back and cause us to close the InfoBar. This is called
- // from the InfoBar's close button handler.
- void RemoveDelegate(InfoBarDelegate* delegate);
-
// Called by |infobar| to request that it be removed from the container, as it
// is about to delete itself. At this point, |infobar| should already be
// hidden.
« no previous file with comments | « chrome/browser/tab_contents/infobar.cc ('k') | chrome/browser/tab_contents/infobar_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698