| 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 // details are an Extension*, and the source is a Profile*. | 490 // details are an Extension*, and the source is a Profile*. |
| 491 NOTIFICATION_EXTENSION_UPDATE_DISABLED, | 491 NOTIFICATION_EXTENSION_UPDATE_DISABLED, |
| 492 | 492 |
| 493 // Sent when an extension's permissions change. The details are an | 493 // Sent when an extension's permissions change. The details are an |
| 494 // UpdatedExtensionPermissionsInfo, and the source is a Profile. | 494 // UpdatedExtensionPermissionsInfo, and the source is a Profile. |
| 495 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, | 495 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, |
| 496 | 496 |
| 497 // Sent when an extension install turns out to not be a theme. | 497 // Sent when an extension install turns out to not be a theme. |
| 498 NOTIFICATION_NO_THEME_DETECTED, | 498 NOTIFICATION_NO_THEME_DETECTED, |
| 499 | 499 |
| 500 // Sent when new extensions are installed. The details are an Extension, and | 500 // Sent when new extensions are installed, or existing extensions are updated. |
| 501 // the source is a Profile. | 501 // The details are an InstalledExtensionInfo, and the source is a Profile. |
| 502 NOTIFICATION_EXTENSION_INSTALLED, | 502 NOTIFICATION_EXTENSION_INSTALLED, |
| 503 | 503 |
| 504 // An error occured during extension install. The details are a string with | 504 // An error occured during extension install. The details are a string with |
| 505 // details about why the install failed. | 505 // details about why the install failed. |
| 506 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 506 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
| 507 | 507 |
| 508 // Sent when an extension install is not allowed, as indicated by | 508 // Sent when an extension install is not allowed, as indicated by |
| 509 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, | 509 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, |
| 510 // and the source is a Profile. | 510 // and the source is a Profile. |
| 511 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, | 511 NOTIFICATION_EXTENSION_INSTALL_NOT_ALLOWED, |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 // Note:- | 1228 // Note:- |
| 1229 // Currently only Content and Chrome define and use notifications. | 1229 // Currently only Content and Chrome define and use notifications. |
| 1230 // Custom notifications not belonging to Content and Chrome should start | 1230 // Custom notifications not belonging to Content and Chrome should start |
| 1231 // from here. | 1231 // from here. |
| 1232 NOTIFICATION_CHROME_END, | 1232 NOTIFICATION_CHROME_END, |
| 1233 }; | 1233 }; |
| 1234 | 1234 |
| 1235 } // namespace chrome | 1235 } // namespace chrome |
| 1236 | 1236 |
| 1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1237 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |