| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebAXEnums_h | 31 #ifndef WebAXEnums_h |
| 32 #define WebAXEnums_h | 32 #define WebAXEnums_h |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 // Accessibility events sent from Blink to the embedder. | 36 // Accessibility events sent from Blink to the embedder. |
| 37 // These values must match WebCore::AXObjectCache::AXNotification values. | 37 // These values must match blink::AXObjectCache::AXNotification values. |
| 38 // Enforced in AssertMatchingEnums.cpp. | 38 // Enforced in AssertMatchingEnums.cpp. |
| 39 enum WebAXEvent { | 39 enum WebAXEvent { |
| 40 WebAXEventActiveDescendantChanged, | 40 WebAXEventActiveDescendantChanged, |
| 41 WebAXEventAlert, | 41 WebAXEventAlert, |
| 42 WebAXEventAriaAttributeChanged, | 42 WebAXEventAriaAttributeChanged, |
| 43 WebAXEventAutocorrectionOccured, | 43 WebAXEventAutocorrectionOccured, |
| 44 WebAXEventBlur, | 44 WebAXEventBlur, |
| 45 WebAXEventCheckedStateChanged, | 45 WebAXEventCheckedStateChanged, |
| 46 WebAXEventChildrenChanged, | 46 WebAXEventChildrenChanged, |
| 47 WebAXEventFocus, | 47 WebAXEventFocus, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 61 WebAXEventSelectedChildrenChanged, | 61 WebAXEventSelectedChildrenChanged, |
| 62 WebAXEventSelectedTextChanged, | 62 WebAXEventSelectedTextChanged, |
| 63 WebAXEventShow, | 63 WebAXEventShow, |
| 64 WebAXEventTextChanged, | 64 WebAXEventTextChanged, |
| 65 WebAXEventTextInserted, | 65 WebAXEventTextInserted, |
| 66 WebAXEventTextRemoved, | 66 WebAXEventTextRemoved, |
| 67 WebAXEventValueChanged | 67 WebAXEventValueChanged |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 // Accessibility roles. | 70 // Accessibility roles. |
| 71 // These values must match WebCore::AccessibilityRole values. | 71 // These values must match blink::AccessibilityRole values. |
| 72 // Enforced in AssertMatchingEnums.cpp. | 72 // Enforced in AssertMatchingEnums.cpp. |
| 73 enum WebAXRole { | 73 enum WebAXRole { |
| 74 WebAXRoleAlertDialog = 1, | 74 WebAXRoleAlertDialog = 1, |
| 75 WebAXRoleAlert, | 75 WebAXRoleAlert, |
| 76 WebAXRoleAnnotation, | 76 WebAXRoleAnnotation, |
| 77 WebAXRoleApplication, | 77 WebAXRoleApplication, |
| 78 WebAXRoleArticle, | 78 WebAXRoleArticle, |
| 79 WebAXRoleBanner, | 79 WebAXRoleBanner, |
| 80 WebAXRoleBrowser, | 80 WebAXRoleBrowser, |
| 81 WebAXRoleBusyIndicator, | 81 WebAXRoleBusyIndicator, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 enum WebAXTextDirection { | 216 enum WebAXTextDirection { |
| 217 WebAXTextDirectionLR, | 217 WebAXTextDirectionLR, |
| 218 WebAXTextDirectionRL, | 218 WebAXTextDirectionRL, |
| 219 WebAXTextDirectionTB, | 219 WebAXTextDirectionTB, |
| 220 WebAXTextDirectionBT | 220 WebAXTextDirectionBT |
| 221 }; | 221 }; |
| 222 | 222 |
| 223 } // namespace blink | 223 } // namespace blink |
| 224 | 224 |
| 225 #endif | 225 #endif |
| OLD | NEW |