| 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/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 // Notification that a pop-down menu was closed, for propagating | 651 // Notification that a pop-down menu was closed, for propagating |
| 652 // to an accessibility extension. | 652 // to an accessibility extension. |
| 653 // Details will be an AccessibilityMenuInfo. | 653 // Details will be an AccessibilityMenuInfo. |
| 654 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, | 654 NOTIFICATION_ACCESSIBILITY_MENU_CLOSED, |
| 655 | 655 |
| 656 // Notification that the volume was changed, for propagating | 656 // Notification that the volume was changed, for propagating |
| 657 // to an accessibility extension. | 657 // to an accessibility extension. |
| 658 // Details will be an AccessibilityVolumeInfo. | 658 // Details will be an AccessibilityVolumeInfo. |
| 659 NOTIFICATION_ACCESSIBILITY_VOLUME_CHANGED, | 659 NOTIFICATION_ACCESSIBILITY_VOLUME_CHANGED, |
| 660 | 660 |
| 661 // Notification that the screen is unlocked, for propagating to an |
| 662 // accessibility extension. |
| 663 // Details will be an AccessibilityEmptyEventInfo. |
| 664 NOTIFICATION_ACCESSIBILITY_SCREEN_UNLOCKED, |
| 665 |
| 666 // Notification that the system woke up from sleep, for propagating to an |
| 667 // accessibility extension. |
| 668 // Details will be an AccessibilityEmptyEventInfo. |
| 669 NOTIFICATION_ACCESSIBILITY_WOKE_UP, |
| 670 |
| 661 // Content Settings -------------------------------------------------------- | 671 // Content Settings -------------------------------------------------------- |
| 662 | 672 |
| 663 // Sent when content settings change. The source is a HostContentSettings | 673 // Sent when content settings change. The source is a HostContentSettings |
| 664 // object, the details are ContentSettingsNotificationsDetails. | 674 // object, the details are ContentSettingsNotificationsDetails. |
| 665 NOTIFICATION_CONTENT_SETTINGS_CHANGED, | 675 NOTIFICATION_CONTENT_SETTINGS_CHANGED, |
| 666 | 676 |
| 667 // Sent when the collect cookies dialog is shown. The source is a | 677 // Sent when the collect cookies dialog is shown. The source is a |
| 668 // TabSpecificContentSettings object, there are no details. | 678 // TabSpecificContentSettings object, there are no details. |
| 669 NOTIFICATION_COLLECTED_COOKIES_SHOWN, | 679 NOTIFICATION_COLLECTED_COOKIES_SHOWN, |
| 670 | 680 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 // Currently only Content and Chrome define and use notifications. | 982 // Currently only Content and Chrome define and use notifications. |
| 973 // Custom notifications not belonging to Content and Chrome should start | 983 // Custom notifications not belonging to Content and Chrome should start |
| 974 // from here. | 984 // from here. |
| 975 NOTIFICATION_CHROME_END, | 985 NOTIFICATION_CHROME_END, |
| 976 }; | 986 }; |
| 977 | 987 |
| 978 } // namespace chrome | 988 } // namespace chrome |
| 979 | 989 |
| 980 | 990 |
| 981 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 991 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |