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

Unified Diff: chrome/browser/chrome_notification_types.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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/chrome_notification_types.h
===================================================================
--- chrome/browser/chrome_notification_types.h (revision 226624)
+++ chrome/browser/chrome_notification_types.h (working copy)
@@ -122,21 +122,19 @@
// This message is sent when a new InfoBar has been added to an
// InfoBarService. The source is a Source<InfoBarService> with a pointer to
// the InfoBarService the InfoBar was added to. The details is a
- // Details<InfoBarDelegate> with a pointer to the delegate that was added.
+ // Details<InfoBar::AddedDetails>.
NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED,
// This message is sent when an InfoBar is about to be removed from an
// InfoBarService. The source is a Source<InfoBarService> with a pointer to
// the InfoBarService the InfoBar was removed from. The details is a
- // Details<std::pair<InfoBarDelegate*, bool> > with a pointer to the removed
- // delegate and whether the removal should be animated.
+ // Details<InfoBar::RemovedDetails>.
NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
// This message is sent when an InfoBar is replacing another infobar in an
// InfoBarService. The source is a Source<InfoBarService> with a pointer to
// the InfoBarService the InfoBar was removed from. The details is a
- // Details<std::pair<InfoBarDelegate*, InfoBarDelegate*> > with pointers to
- // the old and new delegates, respectively.
+ // Details<InfoBar::ReplacedDetails>.
NOTIFICATION_TAB_CONTENTS_INFOBAR_REPLACED,
// This is sent when an externally hosted tab is closed. No details are

Powered by Google App Engine
This is Rietveld 408576698