| 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_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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 // Sent when there is a new version of a registered component. After | 689 // Sent when there is a new version of a registered component. After |
| 690 // the notification is send the component will be downloaded. The source | 690 // the notification is send the component will be downloaded. The source |
| 691 // is the id of the component and there are no details. | 691 // is the id of the component and there are no details. |
| 692 NOTIFICATION_COMPONENT_UPDATE_FOUND, | 692 NOTIFICATION_COMPONENT_UPDATE_FOUND, |
| 693 | 693 |
| 694 // Send when the new component has been downloaded and an installation | 694 // Send when the new component has been downloaded and an installation |
| 695 // or upgrade is about to be attempted. The source is the id of the | 695 // or upgrade is about to be attempted. The source is the id of the |
| 696 // component and there are no details. | 696 // component and there are no details. |
| 697 NOTIFICATION_COMPONENT_UPDATE_READY, | 697 NOTIFICATION_COMPONENT_UPDATE_READY, |
| 698 | 698 |
| 699 // Send when the new component has been installed or upgraded successfully. |
| 700 // The source is the id of the component and there are no details. |
| 701 NOTIFICATION_COMPONENT_UPDATE_COMPLETE, |
| 702 |
| 703 // Send when the update service cannot find any new versions for |
| 704 // a particular component that was requested. |
| 705 // The source is the id of the component and there are no details. |
| 706 NOTIFICATION_COMPONENT_UPDATE_NOT_UPDATED, |
| 707 |
| 708 // Send when the update service found a new version, but failed |
| 709 // to complete the update for a particular component that was requested. |
| 710 // The source is the id of the component and there are no details. |
| 711 NOTIFICATION_COMPONENT_UPDATE_FAILED, |
| 712 |
| 699 // Desktop Notifications --------------------------------------------------- | 713 // Desktop Notifications --------------------------------------------------- |
| 700 | 714 |
| 701 // This notification is sent when a balloon is connected to a renderer | 715 // This notification is sent when a balloon is connected to a renderer |
| 702 // process to render the balloon contents. The source is a | 716 // process to render the balloon contents. The source is a |
| 703 // Source<BalloonHost> with a pointer to the the balloon. A | 717 // Source<BalloonHost> with a pointer to the the balloon. A |
| 704 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer | 718 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer |
| 705 // becomes junk. No details expected. | 719 // becomes junk. No details expected. |
| 706 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, | 720 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, |
| 707 | 721 |
| 708 // This message is sent after a balloon is disconnected from the renderer | 722 // This message is sent after a balloon is disconnected from the renderer |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 // Currently only Content and Chrome define and use notifications. | 1251 // Currently only Content and Chrome define and use notifications. |
| 1238 // Custom notifications not belonging to Content and Chrome should start | 1252 // Custom notifications not belonging to Content and Chrome should start |
| 1239 // from here. | 1253 // from here. |
| 1240 NOTIFICATION_CHROME_END, | 1254 NOTIFICATION_CHROME_END, |
| 1241 }; | 1255 }; |
| 1242 | 1256 |
| 1243 } // namespace chrome | 1257 } // namespace chrome |
| 1244 | 1258 |
| 1245 | 1259 |
| 1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1260 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |