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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 NOTIFICATION_EXTENSION_ENABLED, | 486 NOTIFICATION_EXTENSION_ENABLED, |
487 | 487 |
488 // Sent when attempting to load a new extension, but they are disabled. The | 488 // Sent when attempting to load a new extension, but they are disabled. The |
489 // details are an Extension*, and the source is a Profile*. | 489 // details are an Extension*, and the source is a Profile*. |
490 NOTIFICATION_EXTENSION_UPDATE_DISABLED, | 490 NOTIFICATION_EXTENSION_UPDATE_DISABLED, |
491 | 491 |
492 // Sent when an extension's permissions change. The details are an | 492 // Sent when an extension's permissions change. The details are an |
493 // UpdatedExtensionPermissionsInfo, and the source is a Profile. | 493 // UpdatedExtensionPermissionsInfo, and the source is a Profile. |
494 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, | 494 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, |
495 | 495 |
496 // Sent when an extension install turns out to not be a theme. | |
497 NOTIFICATION_NO_THEME_DETECTED, | |
498 | |
499 // Sent when new extensions are installed, or existing extensions are updated. | 496 // Sent when new extensions are installed, or existing extensions are updated. |
500 // The details are an InstalledExtensionInfo, and the source is a Profile. | 497 // The details are an InstalledExtensionInfo, and the source is a Profile. |
501 NOTIFICATION_EXTENSION_INSTALLED, | 498 NOTIFICATION_EXTENSION_INSTALLED, |
502 | 499 |
503 // An error occured during extension install. The details are a string with | 500 // An error occured during extension install. The details are a string with |
504 // details about why the install failed. | 501 // details about why the install failed. |
505 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 502 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
506 | 503 |
507 // Sent when an extension install is not allowed, as indicated by | 504 // Sent when an extension install is not allowed, as indicated by |
508 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, | 505 // PendingExtensionInfo::ShouldAllowInstall. The details are an Extension, |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1215 // Note:- | 1212 // Note:- |
1216 // Currently only Content and Chrome define and use notifications. | 1213 // Currently only Content and Chrome define and use notifications. |
1217 // Custom notifications not belonging to Content and Chrome should start | 1214 // Custom notifications not belonging to Content and Chrome should start |
1218 // from here. | 1215 // from here. |
1219 NOTIFICATION_CHROME_END, | 1216 NOTIFICATION_CHROME_END, |
1220 }; | 1217 }; |
1221 | 1218 |
1222 } // namespace chrome | 1219 } // namespace chrome |
1223 | 1220 |
1224 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1221 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |