OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nuanti Ltd. | 3 * Copyright (C) 2008 Nuanti Ltd. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 }; | 328 }; |
329 | 329 |
330 // The potential native HTML-based text (name, description or placeholder) sourc
es for an element. | 330 // The potential native HTML-based text (name, description or placeholder) sourc
es for an element. |
331 // See http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#accessible-name-
and-description-calculation | 331 // See http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#accessible-name-
and-description-calculation |
332 enum AXTextFromNativeHTML { | 332 enum AXTextFromNativeHTML { |
333 AXTextFromNativeHTMLUninitialized = -1, | 333 AXTextFromNativeHTMLUninitialized = -1, |
334 AXTextFromNativeHTMLFigcaption, | 334 AXTextFromNativeHTMLFigcaption, |
335 AXTextFromNativeHTMLLabel, | 335 AXTextFromNativeHTMLLabel, |
336 AXTextFromNativeHTMLLabelFor, | 336 AXTextFromNativeHTMLLabelFor, |
337 AXTextFromNativeHTMLLabelWrapped, | 337 AXTextFromNativeHTMLLabelWrapped, |
| 338 AXTextFromNativeHTMLLegend, |
338 AXTextFromNativeHTMLTableCaption, | 339 AXTextFromNativeHTMLTableCaption, |
339 }; | 340 }; |
340 | 341 |
341 // The source of the accessible description of an element. This is needed | 342 // The source of the accessible description of an element. This is needed |
342 // because on some platforms this determines how the accessible description | 343 // because on some platforms this determines how the accessible description |
343 // is exposed. | 344 // is exposed. |
344 enum AXDescriptionFrom { | 345 enum AXDescriptionFrom { |
345 AXDescriptionFromUninitialized = -1, | 346 AXDescriptionFromUninitialized = -1, |
346 AXDescriptionFromAttribute = 0, | 347 AXDescriptionFromAttribute = 0, |
347 AXDescriptionFromContents, | 348 AXDescriptionFromContents, |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 979 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
979 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 980 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
980 | 981 |
981 } // namespace blink | 982 } // namespace blink |
982 | 983 |
983 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); | 984 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); |
984 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); | 985 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); |
985 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); | 986 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); |
986 | 987 |
987 #endif // AXObject_h | 988 #endif // AXObject_h |
OLD | NEW |