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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
Index: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_container_controller.h (revision 175396)
+++ chrome/browser/ui/cocoa/infobars/infobar_container_controller.h (working copy)
@@ -127,10 +127,10 @@
@interface InfoBarContainerController (JustForTesting)
// Removes all infobar views. Infobars which were already closing will be
-// completely closed (i.e. InfobarDelegate::InfoBarClosed() will be called and
-// we'll get a callback to removeController). Other infobars will simply stop
-// animating and disappear. Callers must call positionInfoBarsAndRedraw()
-// after calling this method.
+// completely closed (i.e. the InfoBarDelegate will be deleted and we'll get a
+// callback to removeController). Other infobars will simply stop animating and
+// disappear. Callers must call positionInfoBarsAndRedraw() after calling this
+// method.
- (void)removeAllInfoBars;
@end

Powered by Google App Engine
This is Rietveld 408576698