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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 | 545 |
546 // An installed app changed notification state (added or removed | 546 // An installed app changed notification state (added or removed |
547 // notifications). The source is a Profile, and the details are a string | 547 // notifications). The source is a Profile, and the details are a string |
548 // with the extension id of the app. | 548 // with the extension id of the app. |
549 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, | 549 NOTIFICATION_APP_NOTIFICATION_STATE_CHANGED, |
550 | 550 |
551 // Finished loading app notification manager. | 551 // Finished loading app notification manager. |
552 // The source is AppNotificationManager, and the details are NoDetails. | 552 // The source is AppNotificationManager, and the details are NoDetails. |
553 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, | 553 NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED, |
554 | 554 |
| 555 // A platform app is being started. The details are an Extension, and the |
| 556 // source is a Profile. |
| 557 NOTIFICATION_PLATFORM_APP_STARTED, |
| 558 |
555 // Component Updater ------------------------------------------------------- | 559 // Component Updater ------------------------------------------------------- |
556 | 560 |
557 // Sent when the component updater starts doing update checks. If no | 561 // Sent when the component updater starts doing update checks. If no |
558 // component has been registered for update this notification is not | 562 // component has been registered for update this notification is not |
559 // generated. The source is the component updater itself and there are | 563 // generated. The source is the component updater itself and there are |
560 // no details. | 564 // no details. |
561 NOTIFICATION_COMPONENT_UPDATER_STARTED, | 565 NOTIFICATION_COMPONENT_UPDATER_STARTED, |
562 | 566 |
563 // Sent when the component updater is going to take a long nap. The | 567 // Sent when the component updater is going to take a long nap. The |
564 // source is the component updater itself and there are no details. | 568 // source is the component updater itself and there are no details. |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 // Currently only Content and Chrome define and use notifications. | 1014 // Currently only Content and Chrome define and use notifications. |
1011 // Custom notifications not belonging to Content and Chrome should start | 1015 // Custom notifications not belonging to Content and Chrome should start |
1012 // from here. | 1016 // from here. |
1013 NOTIFICATION_CHROME_END, | 1017 NOTIFICATION_CHROME_END, |
1014 }; | 1018 }; |
1015 | 1019 |
1016 } // namespace chrome | 1020 } // namespace chrome |
1017 | 1021 |
1018 | 1022 |
1019 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1023 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |