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