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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #if ENABLE(ASSERT) | 58 #if ENABLE(ASSERT) |
59 bool m_initialized; | 59 bool m_initialized; |
60 #endif | 60 #endif |
61 | 61 |
62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
63 const AXObject* inheritsPresentationalRoleFrom() const override; | 63 const AXObject* inheritsPresentationalRoleFrom() const override; |
64 virtual AccessibilityRole determineAccessibilityRole(); | 64 virtual AccessibilityRole determineAccessibilityRole(); |
65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; | 65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; |
66 String accessibilityDescriptionForElements(HeapVector<Member<Element>> &elem
ents) const; | 66 String accessibilityDescriptionForElements(HeapVector<Member<Element>> &elem
ents) const; |
67 void alterSliderValue(bool increase); | 67 void alterSliderValue(bool increase); |
68 AXObject* activeDescendant() override; | 68 AXObject* activeDescendant() const override; |
69 String ariaAccessibilityDescription() const; | 69 String ariaAccessibilityDescription() const; |
70 String ariaAutoComplete() const; | 70 String ariaAutoComplete() const; |
71 AccessibilityRole determineAriaRoleAttribute() const; | 71 AccessibilityRole determineAriaRoleAttribute() const; |
72 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje
ctVector&) const; | 72 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje
ctVector&) const; |
73 | 73 |
74 bool hasContentEditableAttributeSet() const; | 74 bool hasContentEditableAttributeSet() const; |
75 bool isTextControl() const override; | 75 bool isTextControl() const override; |
76 // This returns true if it's focusable but it's not content editable and it'
s not a control or ARIA control. | 76 // This returns true if it's focusable but it's not content editable and it'
s not a control or ARIA control. |
77 bool isGenericFocusableElement() const; | 77 bool isGenericFocusableElement() const; |
78 HTMLLabelElement* labelForElement(const Element*) const; | 78 HTMLLabelElement* labelForElement(const Element*) const; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 bool isNativeCheckboxInMixedState() const; | 212 bool isNativeCheckboxInMixedState() const; |
213 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; | 213 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; |
214 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; | 214 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; |
215 float stepValueForRange() const; | 215 float stepValueForRange() const; |
216 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 216 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
217 }; | 217 }; |
218 | 218 |
219 } // namespace blink | 219 } // namespace blink |
220 | 220 |
221 #endif // AXNodeObject_h | 221 #endif // AXNodeObject_h |
OLD | NEW |