| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 // Source<BalloonHost> with a pointer to the the balloon. A | 698 // Source<BalloonHost> with a pointer to the the balloon. A |
| 699 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer | 699 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer |
| 700 // becomes junk. No details expected. | 700 // becomes junk. No details expected. |
| 701 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, | 701 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, |
| 702 | 702 |
| 703 // This message is sent after a balloon is disconnected from the renderer | 703 // This message is sent after a balloon is disconnected from the renderer |
| 704 // process. The source is a Source<BalloonHost> with a pointer to the | 704 // process. The source is a Source<BalloonHost> with a pointer to the |
| 705 // balloon host (the pointer is usable). No details are expected. | 705 // balloon host (the pointer is usable). No details are expected. |
| 706 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED, | 706 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED, |
| 707 | 707 |
| 708 // Web Database Service ---------------------------------------------------- | |
| 709 | |
| 710 // This notification is sent whenever autofill entries are | |
| 711 // changed. The detail of this notification is a list of changes | |
| 712 // represented by a vector of AutofillChange. Each change | |
| 713 // includes a change type (add, update, or remove) as well as the | |
| 714 // key of the entry that was affected. | |
| 715 NOTIFICATION_AUTOFILL_ENTRIES_CHANGED, | |
| 716 | |
| 717 // Sent when an AutofillProfile has been added/removed/updated in the | |
| 718 // WebDatabase. The detail is an AutofillProfileChange. | |
| 719 NOTIFICATION_AUTOFILL_PROFILE_CHANGED, | |
| 720 | |
| 721 // Sent when multiple Autofill entries have been modified by Sync. | |
| 722 // The source is the WebDataService in use by Sync. No details are specified. | |
| 723 NOTIFICATION_AUTOFILL_MULTIPLE_CHANGED, | |
| 724 | |
| 725 // This notification is sent whenever the web database service has finished | |
| 726 // loading the web database. No details are expected. | |
| 727 NOTIFICATION_WEB_DATABASE_LOADED, | |
| 728 | |
| 729 // Upgrade notifications --------------------------------------------------- | 708 // Upgrade notifications --------------------------------------------------- |
| 730 | 709 |
| 731 // Sent when Chrome believes an update has been installed and available for | 710 // Sent when Chrome believes an update has been installed and available for |
| 732 // long enough with the user shutting down to let it take effect. See | 711 // long enough with the user shutting down to let it take effect. See |
| 733 // upgrade_detector.cc for details on how long it waits. No details are | 712 // upgrade_detector.cc for details on how long it waits. No details are |
| 734 // expected. | 713 // expected. |
| 735 NOTIFICATION_UPGRADE_RECOMMENDED, | 714 NOTIFICATION_UPGRADE_RECOMMENDED, |
| 736 | 715 |
| 737 // Sent when a critical update has been installed. No details are expected. | 716 // Sent when a critical update has been installed. No details are expected. |
| 738 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, | 717 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 // Note:- | 1220 // Note:- |
| 1242 // Currently only Content and Chrome define and use notifications. | 1221 // Currently only Content and Chrome define and use notifications. |
| 1243 // Custom notifications not belonging to Content and Chrome should start | 1222 // Custom notifications not belonging to Content and Chrome should start |
| 1244 // from here. | 1223 // from here. |
| 1245 NOTIFICATION_CHROME_END, | 1224 NOTIFICATION_CHROME_END, |
| 1246 }; | 1225 }; |
| 1247 | 1226 |
| 1248 } // namespace chrome | 1227 } // namespace chrome |
| 1249 | 1228 |
| 1250 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1229 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |