OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
10 | 10 |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 // Notification that a pop-down menu was opened, for propagating | 619 // Notification that a pop-down menu was opened, for propagating |
620 // to an accessibility extension. | 620 // to an accessibility extension. |
621 // Details will be an AccessibilityMenuInfo. | 621 // Details will be an AccessibilityMenuInfo. |
622 NOTIFICATION_ACCESSIBILITY_MENU_OPENED, | 622 NOTIFICATION_ACCESSIBILITY_MENU_OPENED, |
623 | 623 |
624 // Notification that a pop-down menu was closed, for propagating | 624 // Notification that a pop-down menu was closed, for propagating |
625 // to an accessibility extension. | 625 // to an accessibility extension. |
626 // Details will be an AccessibilityMenuInfo. | 626 // Details will be an AccessibilityMenuInfo. |
627 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, | 627 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, |
628 | 628 |
| 629 // Notification that the volume was changed, for propagating |
| 630 // to an accessibility extension. |
| 631 // Details will be an AccessibilityVolumeInfo. |
| 632 NOTIFICATION_ACCESSIBILITY_VOLUME_CHANGED, |
| 633 |
629 // Content Settings -------------------------------------------------------- | 634 // Content Settings -------------------------------------------------------- |
630 | 635 |
631 // Sent when content settings change. The source is a HostContentSettings | 636 // Sent when content settings change. The source is a HostContentSettings |
632 // object, the details are ContentSettingsNotificationsDetails. | 637 // object, the details are ContentSettingsNotificationsDetails. |
633 NOTIFICATION_CONTENT_SETTINGS_CHANGED, | 638 NOTIFICATION_CONTENT_SETTINGS_CHANGED, |
634 | 639 |
635 // Sent when the collect cookies dialog is shown. The source is a | 640 // Sent when the collect cookies dialog is shown. The source is a |
636 // TabSpecificContentSettings object, there are no details. | 641 // TabSpecificContentSettings object, there are no details. |
637 NOTIFICATION_COLLECTED_COOKIES_SHOWN, | 642 NOTIFICATION_COLLECTED_COOKIES_SHOWN, |
638 | 643 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 // Currently only Content and Chrome define and use notifications. | 886 // Currently only Content and Chrome define and use notifications. |
882 // Custom notifications not belonging to Content and Chrome should start | 887 // Custom notifications not belonging to Content and Chrome should start |
883 // from here. | 888 // from here. |
884 NOTIFICATION_CHROME_END, | 889 NOTIFICATION_CHROME_END, |
885 }; | 890 }; |
886 | 891 |
887 } // namespace chrome | 892 } // namespace chrome |
888 | 893 |
889 | 894 |
890 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 895 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |