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