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

Side by Side Diff: chrome/common/notification_type.h

Issue 165370: Merge 22711 - Fix a few bugs with the theme infobar:... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/infobars/infobar_container.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/common/notification_type.h:r22711
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 7
8 // This file describes various types used to describe and filter notifications 8 // This file describes various types used to describe and filter notifications
9 // that pass through the NotificationService. 9 // that pass through the NotificationService.
10 // 10 //
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // the InfoBar that was added. 269 // the InfoBar that was added.
270 TAB_CONTENTS_INFOBAR_ADDED, 270 TAB_CONTENTS_INFOBAR_ADDED,
271 271
272 // This message is sent when an InfoBar is about to be removed from a 272 // This message is sent when an InfoBar is about to be removed from a
273 // TabContents. The source is a Source<TabContents> with a pointer to the 273 // TabContents. The source is a Source<TabContents> with a pointer to the
274 // TabContents the InfoBar was removed from. The details is a 274 // TabContents the InfoBar was removed from. The details is a
275 // Details<InfoBarDelegate> with a pointer to an object implementing the 275 // Details<InfoBarDelegate> with a pointer to an object implementing the
276 // InfoBarDelegate interface for the InfoBar that was removed. 276 // InfoBarDelegate interface for the InfoBar that was removed.
277 TAB_CONTENTS_INFOBAR_REMOVED, 277 TAB_CONTENTS_INFOBAR_REMOVED,
278 278
279 // This message is sent when an InfoBar is replacing another infobar in a
280 // TabContents. The source is a Source<TabContents> with a pointer to the
281 // TabContents the InfoBar was removed from. The details is a
282 // Details<std::pair<InfoBarDelegate*, InfoBarDelegate*> > with a pointer
283 // to the old and new InfoBarDelegates, respectively.
284 TAB_CONTENTS_INFOBAR_REPLACED,
285
279 // This is sent when an externally hosted tab is created. The details 286 // This is sent when an externally hosted tab is created. The details
280 // contain the ExternalTabContainer that contains the tab 287 // contain the ExternalTabContainer that contains the tab
281 EXTERNAL_TAB_CREATED, 288 EXTERNAL_TAB_CREATED,
282 289
283 // This is sent when an externally hosted tab is closed. No details are 290 // This is sent when an externally hosted tab is closed. No details are
284 // expected. 291 // expected.
285 EXTERNAL_TAB_CLOSED, 292 EXTERNAL_TAB_CLOSED,
286 293
287 // Indicates that the new page tab has finished loading. This is used for 294 // Indicates that the new page tab has finished loading. This is used for
288 // performance testing to see how fast we can load it after startup, and is 295 // performance testing to see how fast we can load it after startup, and is
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 }; 639 };
633 640
634 inline bool operator==(NotificationType::Type a, NotificationType b) { 641 inline bool operator==(NotificationType::Type a, NotificationType b) {
635 return a == b.value; 642 return a == b.value;
636 } 643 }
637 inline bool operator!=(NotificationType::Type a, NotificationType b) { 644 inline bool operator!=(NotificationType::Type a, NotificationType b) {
638 return a != b.value; 645 return a != b.value;
639 } 646 }
640 647
641 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 648 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/infobars/infobar_container.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698