| 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 NOTIFY_URL_REQUEST_CONTEXT_RELEASED, | 488 NOTIFY_URL_REQUEST_CONTEXT_RELEASED, |
| 489 | 489 |
| 490 // Sent when WM_ENDSESSION has been received, after the browsers have been | 490 // Sent when WM_ENDSESSION has been received, after the browsers have been |
| 491 // closed but before browser process has been shutdown. The source/details | 491 // closed but before browser process has been shutdown. The source/details |
| 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 // 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_GREASEMONKEY_SCRIPTS_LOADED, | 502 NOTIFY_USER_SCRIPTS_LOADED, |
| 503 | 503 |
| 504 // Extensions ---------------------------------------------------------------- | 504 // Extensions ---------------------------------------------------------------- |
| 505 | 505 |
| 506 // Sent when new extensions are loaded. The details are an ExtensionList*. | 506 // Sent when new extensions are loaded. The details are an ExtensionList*. |
| 507 NOTIFY_EXTENSIONS_LOADED, | 507 NOTIFY_EXTENSIONS_LOADED, |
| 508 | 508 |
| 509 // Count (must be last) ------------------------------------------------------ | 509 // Count (must be last) ------------------------------------------------------ |
| 510 // Used to determine the number of notification types. Not valid as | 510 // Used to determine the number of notification types. Not valid as |
| 511 // a type parameter when registering for or posting notifications. | 511 // a type parameter when registering for or posting notifications. |
| 512 NOTIFICATION_TYPE_COUNT | 512 NOTIFICATION_TYPE_COUNT |
| 513 }; | 513 }; |
| 514 | 514 |
| 515 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__ | 515 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__ |
| 516 | 516 |
| OLD | NEW |