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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 // Sent when new extensions are installed, or existing extensions are updated. | 421 // Sent when new extensions are installed, or existing extensions are updated. |
422 // The details are an InstalledExtensionInfo, and the source is a Profile. | 422 // The details are an InstalledExtensionInfo, and the source is a Profile. |
not at google - send to devlin
2014/05/22 14:53:56
please add a note similar to NOTIFICATION_EXTENSIO
limasdf
2014/05/22 20:48:16
Done.
| |
423 NOTIFICATION_EXTENSION_INSTALLED, | 423 NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, |
424 | 424 |
425 // An error occured during extension install. The details are a string with | 425 // An error occured during extension install. The details are a string with |
426 // details about why the install failed. | 426 // details about why the install failed. |
427 NOTIFICATION_EXTENSION_INSTALL_ERROR, | 427 NOTIFICATION_EXTENSION_INSTALL_ERROR, |
428 | 428 |
429 // Sent when an extension has been uninstalled. The details are an Extension, | 429 // Sent when an extension has been uninstalled. The details are an Extension, |
430 // and the source is a Profile. | 430 // and the source is a Profile. |
431 NOTIFICATION_EXTENSION_UNINSTALLED, | 431 NOTIFICATION_EXTENSION_UNINSTALLED, |
432 | 432 |
433 // Sent when an extension uninstall is not allowed because the extension is | 433 // 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:- | 928 // Note:- |
929 // Currently only Content and Chrome define and use notifications. | 929 // Currently only Content and Chrome define and use notifications. |
930 // Custom notifications not belonging to Content and Chrome should start | 930 // Custom notifications not belonging to Content and Chrome should start |
931 // from here. | 931 // from here. |
932 NOTIFICATION_CHROME_END, | 932 NOTIFICATION_CHROME_END, |
933 }; | 933 }; |
934 | 934 |
935 } // namespace chrome | 935 } // namespace chrome |
936 | 936 |
937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 937 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |