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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
196 WebAXRoleUserInterfaceTooltip, | 196 WebAXRoleUserInterfaceTooltip, |
197 WebAXRoleValueIndicator, | 197 WebAXRoleValueIndicator, |
198 WebAXRoleWebArea, | 198 WebAXRoleWebArea, |
199 WebAXRoleWindow, | 199 WebAXRoleWindow, |
200 }; | 200 }; |
201 | 201 |
202 // Accessibility states, used as a bitmask. | 202 // Accessibility states, used as a bitmask. |
203 enum WebAXState { | 203 enum WebAXState { |
204 WebAXStateBusy, | 204 WebAXStateBusy, |
205 WebAXStateChecked, | 205 WebAXStateChecked, |
206 WebAXStateCollapsed, | |
207 WebAXStateEnabled, | 206 WebAXStateEnabled, |
208 WebAXStateExpanded, | 207 WebAXStateExpanded, |
209 WebAXStateFocusable, | 208 WebAXStateFocusable, |
210 WebAXStateFocused, | 209 WebAXStateFocused, |
211 WebAXStateHaspopup, | 210 WebAXStateHaspopup, |
212 WebAXStateHovered, | 211 WebAXStateHovered, |
213 WebAXStateIndeterminate, | 212 WebAXStateIndeterminate, |
214 WebAXStateInvisible, | 213 WebAXStateInvisible, |
215 WebAXStateLinked, | 214 WebAXStateLinked, |
216 WebAXStateMultiselectable, | 215 WebAXStateMultiselectable, |
217 WebAXStateOffscreen, | 216 WebAXStateOffscreen, |
218 WebAXStatePressed, | 217 WebAXStatePressed, |
219 WebAXStateProtected, | 218 WebAXStateProtected, |
220 WebAXStateReadonly, | 219 WebAXStateReadonly, |
221 WebAXStateRequired, | 220 WebAXStateRequired, |
222 WebAXStateSelectable, | 221 WebAXStateSelectable, |
223 WebAXStateSelected, | 222 WebAXStateSelected, |
224 WebAXStateVertical, | 223 WebAXStateVertical, |
225 WebAXStateVisited, | 224 WebAXStateVisited, |
226 }; | 225 }; |
227 | 226 |
228 // Text direction, only used for role=WebAXRoleInlineTextBox. | 227 // Text direction, only used for role=WebAXRoleInlineTextBox. |
229 enum WebAXTextDirection { | 228 enum WebAXTextDirection { |
230 WebAXTextDirectionLR, | 229 WebAXTextDirectionLR, |
231 WebAXTextDirectionRL, | 230 WebAXTextDirectionRL, |
232 WebAXTextDirectionTB, | 231 WebAXTextDirectionTB, |
233 WebAXTextDirectionBT | 232 WebAXTextDirectionBT |
234 }; | 233 }; |
235 | 234 |
235 // values for aria-expanded attribute | |
dmazzoni
2014/10/29 15:20:52
Nit: comments should be a complete sentence - capi
| |
236 enum WebAXExpanded { | |
237 WebAXExpandedUndefined = 0, | |
238 WebAXExpandedCollapsed, | |
239 WebAXExpandedExpanded | |
240 }; | |
241 | |
236 } // namespace blink | 242 } // namespace blink |
237 | 243 |
238 #endif | 244 #endif |
OLD | NEW |