| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 // installed extensions. The source is a Profile, and there are no details. | 683 // installed extensions. The source is a Profile, and there are no details. |
| 684 // NOTE: It's possible that there are extension updates still being | 684 // NOTE: It's possible that there are extension updates still being |
| 685 // installed by the extension service at the time this notification fires. | 685 // installed by the extension service at the time this notification fires. |
| 686 NOTIFICATION_EXTENSION_UPDATING_FINISHED, | 686 NOTIFICATION_EXTENSION_UPDATING_FINISHED, |
| 687 | 687 |
| 688 // The extension updater found an update and will attempt to download and | 688 // The extension updater found an update and will attempt to download and |
| 689 // install it. The source is a Profile, and the details are an extension id | 689 // install it. The source is a Profile, and the details are an extension id |
| 690 // (const std::string). | 690 // (const std::string). |
| 691 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 691 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
| 692 | 692 |
| 693 // Sent when one or more extensions changed their warning status (like | |
| 694 // slowing down Chrome or conflicting with each other). | |
| 695 // The source is a Profile. | |
| 696 NOTIFICATION_EXTENSION_WARNING_CHANGED, | |
| 697 | |
| 698 // An installed app changed notification state (added or removed | 693 // An installed app changed notification state (added or removed |
| 699 // notifications). The source is a Profile, and the details are a string | 694 // notifications). The source is a Profile, and the details are a string |
| 700 // with the extension id of the app. | 695 // with the extension id of the app. |
| 701 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | 696 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, |
| 702 | 697 |
| 703 // Finished loading app notification manager. | 698 // Finished loading app notification manager. |
| 704 // The source is AppNotificationManager, and the details are NoDetails. | 699 // The source is AppNotificationManager, and the details are NoDetails. |
| 705 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, | 700 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, |
| 706 | 701 |
| 707 // Component Updater ------------------------------------------------------- | 702 // Component Updater ------------------------------------------------------- |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 // Currently only Content and Chrome define and use notifications. | 1267 // Currently only Content and Chrome define and use notifications. |
| 1273 // Custom notifications not belonging to Content and Chrome should start | 1268 // Custom notifications not belonging to Content and Chrome should start |
| 1274 // from here. | 1269 // from here. |
| 1275 NOTIFICATION_CHROME_END, | 1270 NOTIFICATION_CHROME_END, |
| 1276 }; | 1271 }; |
| 1277 | 1272 |
| 1278 } // namespace chrome | 1273 } // namespace chrome |
| 1279 | 1274 |
| 1280 | 1275 |
| 1281 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1276 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |