| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 AccessibilityRole ariaRoleAttribute() const final; | 160 AccessibilityRole ariaRoleAttribute() const final; |
| 161 | 161 |
| 162 // AX name calculation. | 162 // AX name calculation. |
| 163 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; | 163 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; |
| 164 String description(AXNameFrom, AXDescriptionFrom&, AXObjectVector* descripti
onObjects) const override; | 164 String description(AXNameFrom, AXDescriptionFrom&, AXObjectVector* descripti
onObjects) const override; |
| 165 String description(AXNameFrom, AXDescriptionFrom&, DescriptionSources*, AXRe
latedObjectVector*) const override; | 165 String description(AXNameFrom, AXDescriptionFrom&, DescriptionSources*, AXRe
latedObjectVector*) const override; |
| 166 String placeholder(AXNameFrom, AXDescriptionFrom) const override; | 166 String placeholder(AXNameFrom, AXDescriptionFrom) const override; |
| 167 bool nameFromLabelElement() const override; | 167 bool nameFromLabelElement() const override; |
| 168 | 168 |
| 169 // Location | 169 // Location |
| 170 LayoutRect elementRect() const override; | |
| 171 void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContai
ner, SkMatrix44& outContainerTransform) const override; | 170 void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContai
ner, SkMatrix44& outContainerTransform) const override; |
| 172 | 171 |
| 173 // High-level accessibility tree access. | 172 // High-level accessibility tree access. |
| 174 AXObject* computeParent() const override; | 173 AXObject* computeParent() const override; |
| 175 AXObject* computeParentIfExists() const override; | 174 AXObject* computeParentIfExists() const override; |
| 176 | 175 |
| 177 // Low-level accessibility tree exploration. | 176 // Low-level accessibility tree exploration. |
| 178 AXObject* rawFirstChild() const override; | 177 AXObject* rawFirstChild() const override; |
| 179 AXObject* rawNextSibling() const override; | 178 AXObject* rawNextSibling() const override; |
| 180 void addChildren() override; | 179 void addChildren() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 bool isNativeCheckboxInMixedState() const; | 211 bool isNativeCheckboxInMixedState() const; |
| 213 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; | 212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; |
| 214 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; | 213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; |
| 215 float stepValueForRange() const; | 214 float stepValueForRange() const; |
| 216 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 217 }; | 216 }; |
| 218 | 217 |
| 219 } // namespace blink | 218 } // namespace blink |
| 220 | 219 |
| 221 #endif // AXNodeObject_h | 220 #endif // AXNodeObject_h |
| OLD | NEW |