| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 | 655 |
| 656 PERSONALIZATION, | 656 PERSONALIZATION, |
| 657 PERSONALIZATION_CREATED, | 657 PERSONALIZATION_CREATED, |
| 658 | 658 |
| 659 // User Scripts ------------------------------------------------------------ | 659 // User Scripts ------------------------------------------------------------ |
| 660 | 660 |
| 661 // Sent when there are new user scripts available. The details are a | 661 // Sent when there are new user scripts available. The details are a |
| 662 // pointer to SharedMemory containing the new scripts. | 662 // pointer to SharedMemory containing the new scripts. |
| 663 USER_SCRIPTS_UPDATED, | 663 USER_SCRIPTS_UPDATED, |
| 664 | 664 |
| 665 // User Style Sheet -------------------------------------------------------- |
| 666 |
| 667 // Sent when the user style sheet has changed. |
| 668 USER_STYLE_SHEET_UPDATED, |
| 669 |
| 665 // Extensions -------------------------------------------------------------- | 670 // Extensions -------------------------------------------------------------- |
| 666 | 671 |
| 667 // Sent when the known installed extensions have all been loaded. In | 672 // Sent when the known installed extensions have all been loaded. In |
| 668 // testing scenarios this can happen multiple times if extensions are | 673 // testing scenarios this can happen multiple times if extensions are |
| 669 // unloaded and reloaded. The source is a Profile. | 674 // unloaded and reloaded. The source is a Profile. |
| 670 EXTENSIONS_READY, | 675 EXTENSIONS_READY, |
| 671 | 676 |
| 672 // Sent when a new extension is loaded. The details are an Extension, and | 677 // Sent when a new extension is loaded. The details are an Extension, and |
| 673 // the source is a Profile. | 678 // the source is a Profile. |
| 674 EXTENSION_LOADED, | 679 EXTENSION_LOADED, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 }; | 889 }; |
| 885 | 890 |
| 886 inline bool operator==(NotificationType::Type a, NotificationType b) { | 891 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 887 return a == b.value; | 892 return a == b.value; |
| 888 } | 893 } |
| 889 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 894 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 890 return a != b.value; | 895 return a != b.value; |
| 891 } | 896 } |
| 892 | 897 |
| 893 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 898 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |