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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 // Sent when the extension updater starts checking for updates to installed | 583 // Sent when the extension updater starts checking for updates to installed |
584 // extensions. The source is a Profile, and there are no details. | 584 // extensions. The source is a Profile, and there are no details. |
585 NOTIFICATION_EXTENSION_UPDATING_STARTED, | 585 NOTIFICATION_EXTENSION_UPDATING_STARTED, |
586 | 586 |
587 // The extension updater found an update and will attempt to download and | 587 // The extension updater found an update and will attempt to download and |
588 // install it. The source is a Profile, and the details are an | 588 // install it. The source is a Profile, and the details are an |
589 // extensions::UpdateDetails object with the extension id and version of the | 589 // extensions::UpdateDetails object with the extension id and version of the |
590 // found update. | 590 // found update. |
591 NOTIFICATION_EXTENSION_UPDATE_FOUND, | 591 NOTIFICATION_EXTENSION_UPDATE_FOUND, |
592 | 592 |
593 // Desktop Notifications --------------------------------------------------- | |
594 | |
595 // This notification is sent when a balloon is connected to a renderer | |
596 // process to render the balloon contents. The source is a | |
597 // Source<BalloonHost> with a pointer to the the balloon. A | |
598 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer | |
599 // becomes junk. No details expected. | |
600 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, | |
601 | |
602 // This message is sent after a balloon is disconnected from the renderer | |
603 // process. The source is a Source<BalloonHost> with a pointer to the | |
604 // balloon host (the pointer is usable). No details are expected. | |
605 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED, | |
606 | |
607 // Upgrade notifications --------------------------------------------------- | 593 // Upgrade notifications --------------------------------------------------- |
608 | 594 |
609 // Sent when Chrome believes an update has been installed and available for | 595 // Sent when Chrome believes an update has been installed and available for |
610 // long enough with the user shutting down to let it take effect. See | 596 // long enough with the user shutting down to let it take effect. See |
611 // upgrade_detector.cc for details on how long it waits. No details are | 597 // upgrade_detector.cc for details on how long it waits. No details are |
612 // expected. | 598 // expected. |
613 NOTIFICATION_UPGRADE_RECOMMENDED, | 599 NOTIFICATION_UPGRADE_RECOMMENDED, |
614 | 600 |
615 // Sent when a critical update has been installed. No details are expected. | 601 // Sent when a critical update has been installed. No details are expected. |
616 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, | 602 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 // Note:- | 943 // Note:- |
958 // Currently only Content and Chrome define and use notifications. | 944 // Currently only Content and Chrome define and use notifications. |
959 // Custom notifications not belonging to Content and Chrome should start | 945 // Custom notifications not belonging to Content and Chrome should start |
960 // from here. | 946 // from here. |
961 NOTIFICATION_CHROME_END, | 947 NOTIFICATION_CHROME_END, |
962 }; | 948 }; |
963 | 949 |
964 } // namespace chrome | 950 } // namespace chrome |
965 | 951 |
966 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 952 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |