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 // This file describes various types used to describe and filter notifications | 5 // This file describes various types used to describe and filter notifications |
6 // that pass through the NotificationService. | 6 // that pass through the NotificationService. |
7 | 7 |
8 #ifndef CHROME_COMMON_NOTIFICATION_TYPES_H__ | 8 #ifndef CHROME_COMMON_NOTIFICATION_TYPES_H__ |
9 #define CHROME_COMMON_NOTIFICATION_TYPES_H__ | 9 #define CHROME_COMMON_NOTIFICATION_TYPES_H__ |
10 | 10 |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 // are all source and no details. | 492 // are all source and no details. |
493 NOTIFY_SESSION_END, | 493 NOTIFY_SESSION_END, |
494 | 494 |
495 // Personalization ----------------------------------------------------------- | 495 // Personalization ----------------------------------------------------------- |
496 NOTIFY_PERSONALIZATION, | 496 NOTIFY_PERSONALIZATION, |
497 | 497 |
498 // Greasemonkey user scripts ------------------------------------------------- | 498 // Greasemonkey user scripts ------------------------------------------------- |
499 | 499 |
500 // Sent when there are new user scripts available. | 500 // Sent when there are new user scripts available. |
501 // The details are a pointer to SharedMemory containing the new scripts. | 501 // The details are a pointer to SharedMemory containing the new scripts. |
502 NOTIFY_NEW_USER_SCRIPTS, | 502 NOTIFY_GREASEMONKEY_SCRIPTS_LOADED, |
| 503 |
| 504 // Extensions ---------------------------------------------------------------- |
| 505 |
| 506 // Sent when new extensions are loaded. The details are an ExtensionList*. |
| 507 NOTIFY_EXTENSIONS_LOADED, |
503 | 508 |
504 // Count (must be last) ------------------------------------------------------ | 509 // Count (must be last) ------------------------------------------------------ |
505 // Used to determine the number of notification types. Not valid as | 510 // Used to determine the number of notification types. Not valid as |
506 // a type parameter when registering for or posting notifications. | 511 // a type parameter when registering for or posting notifications. |
507 NOTIFICATION_TYPE_COUNT | 512 NOTIFICATION_TYPE_COUNT |
508 }; | 513 }; |
509 | 514 |
510 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__ | 515 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__ |
511 | 516 |
OLD | NEW |