| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 | 886 |
| 887 // Notification that a control in the browser UI had its action taken, | 887 // Notification that a control in the browser UI had its action taken, |
| 888 // like pressing a button or toggling a checkbox. | 888 // like pressing a button or toggling a checkbox. |
| 889 // Details will be an AccessibilityControlInfo. | 889 // Details will be an AccessibilityControlInfo. |
| 890 ACCESSIBILITY_CONTROL_ACTION, | 890 ACCESSIBILITY_CONTROL_ACTION, |
| 891 | 891 |
| 892 // Notification that text box in the browser UI had text change. | 892 // Notification that text box in the browser UI had text change. |
| 893 // Details will be an AccessibilityControlInfo. | 893 // Details will be an AccessibilityControlInfo. |
| 894 ACCESSIBILITY_TEXT_CHANGED, | 894 ACCESSIBILITY_TEXT_CHANGED, |
| 895 | 895 |
| 896 // Notification that a pop-down menu was opened, for propagating |
| 897 // to an accessibility extension. |
| 898 // Details will be an AccessibilityMenuInfo. |
| 899 ACCESSIBILITY_MENU_OPENED, |
| 900 |
| 901 // Notification that a pop-down menu was closed, for propagating |
| 902 // to an accessibility extension. |
| 903 // Details will be an AccessibilityMenuInfo. |
| 904 ACCESSIBILITY_MENU_CLOSED, |
| 905 |
| 896 // Content Settings -------------------------------------------------------- | 906 // Content Settings -------------------------------------------------------- |
| 897 | 907 |
| 898 // Sent when content settings change. The source is a HostContentSettings | 908 // Sent when content settings change. The source is a HostContentSettings |
| 899 // object, the details are ContentSettingsNotificationsDetails. | 909 // object, the details are ContentSettingsNotificationsDetails. |
| 900 CONTENT_SETTINGS_CHANGED, | 910 CONTENT_SETTINGS_CHANGED, |
| 901 | 911 |
| 902 // Sync -------------------------------------------------------------------- | 912 // Sync -------------------------------------------------------------------- |
| 903 | 913 |
| 904 // Sent when the sync backend has been paused. | 914 // Sent when the sync backend has been paused. |
| 905 SYNC_PAUSED, | 915 SYNC_PAUSED, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 }; | 968 }; |
| 959 | 969 |
| 960 inline bool operator==(NotificationType::Type a, NotificationType b) { | 970 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 961 return a == b.value; | 971 return a == b.value; |
| 962 } | 972 } |
| 963 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 973 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 964 return a != b.value; | 974 return a != b.value; |
| 965 } | 975 } |
| 966 | 976 |
| 967 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 977 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |