| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 // Currently only Content and Chrome define and use notifications. | 880 // Currently only Content and Chrome define and use notifications. |
| 876 // Custom notifications not belonging to Content and Chrome should start | 881 // Custom notifications not belonging to Content and Chrome should start |
| 877 // from here. | 882 // from here. |
| 878 NOTIFICATION_CHROME_END, | 883 NOTIFICATION_CHROME_END, |
| 879 }; | 884 }; |
| 880 | 885 |
| 881 } // namespace chrome | 886 } // namespace chrome |
| 882 | 887 |
| 883 | 888 |
| 884 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 889 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |