OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // ARIA attributes. | 154 // ARIA attributes. |
155 String ariaDescribedByAttribute() const final; | 155 String ariaDescribedByAttribute() const final; |
156 String ariaLabelledbyAttribute() const final; | 156 String ariaLabelledbyAttribute() const final; |
157 AccessibilityRole ariaRoleAttribute() const final; | 157 AccessibilityRole ariaRoleAttribute() const final; |
158 | 158 |
159 // AX name calculation. | 159 // AX name calculation. |
160 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; | 160 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; |
161 String description(AXNameFrom, AXDescriptionFrom&, AXObjectVector* descripti
onObjects) const override; | 161 String description(AXNameFrom, AXDescriptionFrom&, AXObjectVector* descripti
onObjects) const override; |
162 String description(AXNameFrom, AXDescriptionFrom&, DescriptionSources*, AXRe
latedObjectVector*) const override; | 162 String description(AXNameFrom, AXDescriptionFrom&, DescriptionSources*, AXRe
latedObjectVector*) const override; |
163 String placeholder(AXNameFrom, AXDescriptionFrom) const override; | 163 String placeholder(AXNameFrom, AXDescriptionFrom) const override; |
| 164 bool nameFromLabelElement() const override; |
164 | 165 |
165 // Location and click point in frame-relative coordinates. | 166 // Location and click point in frame-relative coordinates. |
166 LayoutRect elementRect() const override; | 167 LayoutRect elementRect() const override; |
167 | 168 |
168 // High-level accessibility tree access. | 169 // High-level accessibility tree access. |
169 AXObject* computeParent() const override; | 170 AXObject* computeParent() const override; |
170 AXObject* computeParentIfExists() const override; | 171 AXObject* computeParentIfExists() const override; |
171 | 172 |
172 // Low-level accessibility tree exploration. | 173 // Low-level accessibility tree exploration. |
173 AXObject* firstChild() const override; | 174 AXObject* firstChild() const override; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 float stepValueForRange() const; | 210 float stepValueForRange() const; |
210 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 211 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 212 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
212 }; | 213 }; |
213 | 214 |
214 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 215 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
215 | 216 |
216 } // namespace blink | 217 } // namespace blink |
217 | 218 |
218 #endif // AXNodeObject_h | 219 #endif // AXNodeObject_h |
OLD | NEW |