OLD | NEW |
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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 629 |
630 // Sent before an ExtensionHost is destroyed. The details are | 630 // Sent before an ExtensionHost is destroyed. The details are |
631 // an ExtensionHost* and the source is a Profile*. | 631 // an ExtensionHost* and the source is a Profile*. |
632 EXTENSION_HOST_DESTROYED, | 632 EXTENSION_HOST_DESTROYED, |
633 | 633 |
634 // Sent after an extension render process is created and fully functional. | 634 // Sent after an extension render process is created and fully functional. |
635 // The details are an ExtensionHost*. | 635 // The details are an ExtensionHost*. |
636 EXTENSION_PROCESS_CREATED, | 636 EXTENSION_PROCESS_CREATED, |
637 | 637 |
638 // Sent when extension render process crashes. The details are | 638 // Sent when extension render process crashes. The details are |
639 // an ExtensionHost*. | 639 // an ExtensionHost* and the source is an ExtensionsService*. |
640 EXTENSION_PROCESS_CRASHED, | 640 EXTENSION_PROCESS_CRASHED, |
641 | 641 |
642 // Sent when the contents or order of toolstrips in the shelf model change. | 642 // Sent when the contents or order of toolstrips in the shelf model change. |
643 EXTENSION_SHELF_MODEL_CHANGED, | 643 EXTENSION_SHELF_MODEL_CHANGED, |
644 | 644 |
645 // Sent when a background page is ready so other components can load. | 645 // Sent when a background page is ready so other components can load. |
646 EXTENSION_BACKGROUND_PAGE_READY, | 646 EXTENSION_BACKGROUND_PAGE_READY, |
647 | 647 |
648 // Sent by an extension to notify the browser about the results of a unit | 648 // Sent by an extension to notify the browser about the results of a unit |
649 // test. | 649 // test. |
(...skipping 21 matching lines...) Expand all Loading... |
671 }; | 671 }; |
672 | 672 |
673 inline bool operator==(NotificationType::Type a, NotificationType b) { | 673 inline bool operator==(NotificationType::Type a, NotificationType b) { |
674 return a == b.value; | 674 return a == b.value; |
675 } | 675 } |
676 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 676 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
677 return a != b.value; | 677 return a != b.value; |
678 } | 678 } |
679 | 679 |
680 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 680 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
OLD | NEW |