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

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

Issue 125047: Finish extensions <-> task manager integration (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/task_manager_resource_providers.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')
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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // Sent when new extensions are installed. The details are an Extension. 561 // Sent when new extensions are installed. The details are an Extension.
562 EXTENSION_INSTALLED, 562 EXTENSION_INSTALLED,
563 563
564 // Sent when an extension is unloaded. This happens when an extension is 564 // Sent when an extension is unloaded. This happens when an extension is
565 // uninstalled. When we add a disable feature, it will also happen then. 565 // uninstalled. When we add a disable feature, it will also happen then.
566 // The details are an Extension. Note that when this notification is sent, 566 // The details are an Extension. Note that when this notification is sent,
567 // ExtensionsService has already removed the extension from its internal 567 // ExtensionsService has already removed the extension from its internal
568 // state. 568 // state.
569 EXTENSION_UNLOADED, 569 EXTENSION_UNLOADED,
570 570
571 // Sent after a new ExtensionHost is created. The details are
572 // an ExtensionHost*.
573 EXTENSION_HOST_CREATED,
574
575 // Sent before an ExtensionHost is destroyed. The details are
576 // an ExtensionHost*.
577 EXTENSION_HOST_DESTROYED,
578
571 // Debugging --------------------------------------------------------------- 579 // Debugging ---------------------------------------------------------------
572 580
573 // Sent from ~RenderViewHost. The source is the RenderViewHost. 581 // Sent from ~RenderViewHost. The source is the RenderViewHost.
574 RENDER_VIEW_HOST_DELETED, 582 RENDER_VIEW_HOST_DELETED,
575 583
576 // Count (must be last) ---------------------------------------------------- 584 // Count (must be last) ----------------------------------------------------
577 // Used to determine the number of notification types. Not valid as 585 // Used to determine the number of notification types. Not valid as
578 // a type parameter when registering for or posting notifications. 586 // a type parameter when registering for or posting notifications.
579 NOTIFICATION_TYPE_COUNT 587 NOTIFICATION_TYPE_COUNT
580 }; 588 };
(...skipping 11 matching lines...) Expand all
592 }; 600 };
593 601
594 inline bool operator==(NotificationType::Type a, NotificationType b) { 602 inline bool operator==(NotificationType::Type a, NotificationType b) {
595 return a == b.value; 603 return a == b.value;
596 } 604 }
597 inline bool operator!=(NotificationType::Type a, NotificationType b) { 605 inline bool operator!=(NotificationType::Type a, NotificationType b) {
598 return a != b.value; 606 return a != b.value;
599 } 607 }
600 608
601 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 609 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698