1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_COMMON_ACCESSIBILITY_NOTIFICATION_H_ 6 #define CONTENT_COMMON_ACCESSIBILITY_NOTIFICATION_H_ 7 8 enum AccessibilityNotification { 9 // The active descendant of a node has changed. 10 AccessibilityNotificationActiveDescendantChanged, 11 12 // An ARIA attribute changed, one that isn't covered by any 13 // other notification. 14 AccessibilityNotificationAriaAttributeChanged, 15 16 // Autocorrect changed the text of a node. 17 AccessibilityNotificationAutocorrectionOccurred, 18 19 // An alert appeared. 20 AccessibilityNotificationAlert, 21 22 // A node has lost focus. 23 AccessibilityNotificationBlur, 24 25 // The node checked state has changed. 26 AccessibilityNotificationCheckStateChanged, 27 28 // The node tree structure has changed. 29 AccessibilityNotificationChildrenChanged, 30 31 // The node in focus has changed. 32 AccessibilityNotificationFocusChanged, 33 34 // Whether or not the node is invalid has changed. 35 AccessibilityNotificationInvalidStatusChanged, 36 37 // Page layout has completed. 38 AccessibilityNotificationLayoutComplete, 39 40 // Content within a part of the page marked as a live region changed. 41 AccessibilityNotificationLiveRegionChanged, 42 43 // The document node has loaded. 44 AccessibilityNotificationLoadComplete, 45 46 // A menu list selection changed. 47 AccessibilityNotificationMenuListItemSelected, 48 49 // A menu list value changed. 50 AccessibilityNotificationMenuListValueChanged, 51 52 // The object's accessible name changed. 53 AccessibilityNotificationTextChanged, 54 55 // An object was shown. 56 AccessibilityNotificationObjectShow, 57 58 // An object was hidden. 59 AccessibilityNotificationObjectHide, 60 61 // The number of rows in a grid or tree control changed. 62 AccessibilityNotificationRowCountChanged, 63 64 // A row in a grid or tree control was collapsed. 65 AccessibilityNotificationRowCollapsed, 66 67 // A row in a grid or tree control was expanded. 68 AccessibilityNotificationRowExpanded, 69 70 // The document was scrolled to an anchor node. 71 AccessibilityNotificationScrolledToAnchor, 72 73 // One or more selected children of this node have changed. 74 AccessibilityNotificationSelectedChildrenChanged, 75 76 // The text cursor or selection changed. 77 AccessibilityNotificationSelectedTextChanged, 78 79 // Text was inserted in a node with text content. 80 AccessibilityNotificationTextInserted, 81 82 // Text was removed in a node with text content. 83 AccessibilityNotificationTextRemoved, 84 85 // The node value has changed. 86 AccessibilityNotificationValueChanged, 87 }; 88 89 #endif // CONTENT_COMMON_ACCESSIBILITY_NOTIFICATION_H_ 90