OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 NOTIFICATION_EXTENSION_ENABLED, | 411 NOTIFICATION_EXTENSION_ENABLED, |
412 | 412 |
413 // Sent when attempting to load a new extension, but they are disabled. The | 413 // Sent when attempting to load a new extension, but they are disabled. The |
414 // details are an Extension*, and the source is a Profile*. | 414 // details are an Extension*, and the source is a Profile*. |
415 NOTIFICATION_EXTENSION_UPDATE_DISABLED, | 415 NOTIFICATION_EXTENSION_UPDATE_DISABLED, |
416 | 416 |
417 // Sent when an extension's permissions change. The details are an | 417 // Sent when an extension's permissions change. The details are an |
418 // UpdatedExtensionPermissionsInfo, and the source is a Profile. | 418 // UpdatedExtensionPermissionsInfo, and the source is a Profile. |
419 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, | 419 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, |
420 | 420 |
| 421 // DEPRECATED: Use ExtensionRegistry::AddObserver instead. |
| 422 // |
421 // Sent when new extensions are installed, or existing extensions are updated. | 423 // Sent when new extensions are installed, or existing extensions are updated. |
422 // The details are an InstalledExtensionInfo, and the source is a Profile. | 424 // The details are an InstalledExtensionInfo, and the source is a Profile. |
423 NOTIFICATION_EXTENSION_INSTALLED, | 425 NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, |
424 | 426 |
425 // An error occured during extension install. The details are a string with | 427 // An error occured during extension install. The details are a string with |
426 // details about why the install failed. | 428 // details about why the install failed. |
427 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 429 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
428 | 430 |
429 // Sent when an extension has been uninstalled. The details are an Extension, | 431 // Sent when an extension has been uninstalled. The details are an Extension, |
430 // and the source is a Profile. | 432 // and the source is a Profile. |
431 NOTIFICATION_EXTENSION_UNINSTALLED, | 433 NOTIFICATION_EXTENSION_UNINSTALLED, |
432 | 434 |
433 // Sent when an extension uninstall is not allowed because the extension is | 435 // Sent when an extension uninstall is not allowed because the extension is |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 // Note:- | 930 // Note:- |
929 // Currently only Content and Chrome define and use notifications. | 931 // Currently only Content and Chrome define and use notifications. |
930 // Custom notifications not belonging to Content and Chrome should start | 932 // Custom notifications not belonging to Content and Chrome should start |
931 // from here. | 933 // from here. |
932 NOTIFICATION_CHROME_END, | 934 NOTIFICATION_CHROME_END, |
933 }; | 935 }; |
934 | 936 |
935 } // namespace chrome | 937 } // namespace chrome |
936 | 938 |
937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 939 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |