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