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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 blink::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 WebAXRoleUnknown = 0, |
| 75 WebAXRoleAlertDialog, |
75 WebAXRoleAlert, | 76 WebAXRoleAlert, |
76 WebAXRoleAnnotation, | 77 WebAXRoleAnnotation, |
77 WebAXRoleApplication, | 78 WebAXRoleApplication, |
78 WebAXRoleArticle, | 79 WebAXRoleArticle, |
79 WebAXRoleBanner, | 80 WebAXRoleBanner, |
80 WebAXRoleBlockquote, | 81 WebAXRoleBlockquote, |
81 WebAXRoleBusyIndicator, | 82 WebAXRoleBusyIndicator, |
82 WebAXRoleButton, | 83 WebAXRoleButton, |
83 WebAXRoleCanvas, | 84 WebAXRoleCanvas, |
84 WebAXRoleCell, | 85 WebAXRoleCell, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 WebAXRoleTable, | 176 WebAXRoleTable, |
176 WebAXRoleTextArea, | 177 WebAXRoleTextArea, |
177 WebAXRoleTextField, | 178 WebAXRoleTextField, |
178 WebAXRoleTime, | 179 WebAXRoleTime, |
179 WebAXRoleTimer, | 180 WebAXRoleTimer, |
180 WebAXRoleToggleButton, | 181 WebAXRoleToggleButton, |
181 WebAXRoleToolbar, | 182 WebAXRoleToolbar, |
182 WebAXRoleTreeGrid, | 183 WebAXRoleTreeGrid, |
183 WebAXRoleTreeItem, | 184 WebAXRoleTreeItem, |
184 WebAXRoleTree, | 185 WebAXRoleTree, |
185 WebAXRoleUnknown, | |
186 WebAXRoleUserInterfaceTooltip, | 186 WebAXRoleUserInterfaceTooltip, |
187 WebAXRoleWebArea, | 187 WebAXRoleWebArea, |
188 WebAXRoleWindow, | 188 WebAXRoleWindow, |
189 }; | 189 }; |
190 | 190 |
191 // Accessibility states, used as a bitmask. | 191 // Accessibility states, used as a bitmask. |
192 enum WebAXState { | 192 enum WebAXState { |
193 WebAXStateBusy, | 193 WebAXStateBusy, |
194 WebAXStateChecked, | 194 WebAXStateChecked, |
195 WebAXStateEnabled, | 195 WebAXStateEnabled, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // Enforced in AssertMatchingEnums.cpp. | 243 // Enforced in AssertMatchingEnums.cpp. |
244 enum WebAXOrientation { | 244 enum WebAXOrientation { |
245 WebAXOrientationUndefined = 0, | 245 WebAXOrientationUndefined = 0, |
246 WebAXOrientationVertical, | 246 WebAXOrientationVertical, |
247 WebAXOrientationHorizontal, | 247 WebAXOrientationHorizontal, |
248 }; | 248 }; |
249 | 249 |
250 } // namespace blink | 250 } // namespace blink |
251 | 251 |
252 #endif | 252 #endif |
OLD | NEW |