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