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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 kWebAXTextStyleUnderline = 1 << 2, | 316 kWebAXTextStyleUnderline = 1 << 2, |
317 kWebAXTextStyleLineThrough = 1 << 3 | 317 kWebAXTextStyleLineThrough = 1 << 3 |
318 }; | 318 }; |
319 | 319 |
320 // The source of the accessible name of an element. This is needed | 320 // The source of the accessible name of an element. This is needed |
321 // because on some platforms this determines how the accessible name | 321 // because on some platforms this determines how the accessible name |
322 // is exposed. | 322 // is exposed. |
323 enum WebAXNameFrom { | 323 enum WebAXNameFrom { |
324 kWebAXNameFromUninitialized = -1, | 324 kWebAXNameFromUninitialized = -1, |
325 kWebAXNameFromAttribute = 0, | 325 kWebAXNameFromAttribute = 0, |
| 326 kWebAXNameFromExplicitlyEmptyAttribute, |
326 kWebAXNameFromCaption, | 327 kWebAXNameFromCaption, |
327 kWebAXNameFromContents, | 328 kWebAXNameFromContents, |
328 kWebAXNameFromPlaceholder, | 329 kWebAXNameFromPlaceholder, |
329 kWebAXNameFromRelatedElement, | 330 kWebAXNameFromRelatedElement, |
330 kWebAXNameFromValue, | 331 kWebAXNameFromValue, |
331 kWebAXNameFromTitle, | 332 kWebAXNameFromTitle, |
332 }; | 333 }; |
333 | 334 |
334 // The source of the accessible description of an element. This is needed | 335 // The source of the accessible description of an element. This is needed |
335 // because on some platforms this determines how the accessible description | 336 // because on some platforms this determines how the accessible description |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 // empty vector. | 387 // empty vector. |
387 enum class WebAXObjectVectorAttribute { | 388 enum class WebAXObjectVectorAttribute { |
388 kAriaControls, | 389 kAriaControls, |
389 kAriaDetails, | 390 kAriaDetails, |
390 kAriaFlowTo, | 391 kAriaFlowTo, |
391 }; | 392 }; |
392 | 393 |
393 } // namespace blink | 394 } // namespace blink |
394 | 395 |
395 #endif | 396 #endif |
OLD | NEW |