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

Unified Diff: chrome/common/notification_types.h

Issue 11318: Beginnings of a new InfoBar system. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/web_contents.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/notification_types.h
===================================================================
--- chrome/common/notification_types.h (revision 5722)
+++ chrome/common/notification_types.h (working copy)
@@ -200,15 +200,19 @@
// No details are expected.
NOTIFY_WEB_CONTENTS_DISCONNECTED,
- // This message is sent when a new message is added to a WebContents. The
- // source is a Source<WebContents> with a pointer to the WebContents the
- // message was added to.
- NOTIFY_WEB_CONTENTS_MESSAGE_ADDED,
+ // This message is sent when a new InfoBar is added to a TabContents. The
+ // source is a Source<TabContents> with a pointer to the TabContents the
+ // InfoBar was added to. The details is a Details<InfoBarDelegate> with a
+ // pointer to an object implementing the InfoBarDelegate interface for the
+ // InfoBar that was added.
+ NOTIFY_TAB_CONTENTS_INFOBAR_ADDED,
- // This message is sent when a message is removed from a WebContents. The
- // source is a Source<WebContents> with a pointer to the WebContents the
- // message was removed from.
- NOTIFY_WEB_CONTENTS_MESSAGE_REMOVED,
+ // This message is sent when an InfoBar is removed from a TabContents. The
+ // source is a Source<TabContents> with a pointer to the TabContents the
+ // InfoBar was removed from. The details is a Details<InfoBarDelegate> with a
+ // pointer to an object implementing the InfoBarDelegate interface for the
+ // InfoBar that was removed.
+ NOTIFY_TAB_CONTENTS_INFOBAR_REMOVED,
// This is sent when an externally hosted tab is created. The details contain
// the ExternalTabContainer that contains the tab
« no previous file with comments | « chrome/browser/web_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698