| 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 String ariaAccessibilityDescription() const; | 68 String ariaAccessibilityDescription() const; |
| 68 String ariaAutoComplete() const; | 69 String ariaAutoComplete() const; |
| 69 AccessibilityRole determineAriaRoleAttribute() const; | 70 AccessibilityRole determineAriaRoleAttribute() const; |
| 70 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje
ctVector&) const; | 71 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje
ctVector&) const; |
| 71 | 72 |
| 72 bool hasContentEditableAttributeSet() const; | 73 bool hasContentEditableAttributeSet() const; |
| 73 bool isTextControl() const override; | 74 bool isTextControl() const override; |
| 74 // 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. |
| 75 bool isGenericFocusableElement() const; | 76 bool isGenericFocusableElement() const; |
| 76 HTMLLabelElement* labelForElement(const Element*) const; | 77 HTMLLabelElement* labelForElement(const Element*) const; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 bool isClickable() const final; | 124 bool isClickable() const final; |
| 124 bool isEnabled() const override; | 125 bool isEnabled() const override; |
| 125 AccessibilityExpanded isExpanded() const override; | 126 AccessibilityExpanded isExpanded() const override; |
| 126 bool isPressed() const final; | 127 bool isPressed() const final; |
| 127 bool isReadOnly() const override; | 128 bool isReadOnly() const override; |
| 128 bool isRequired() const final; | 129 bool isRequired() const final; |
| 129 | 130 |
| 130 // Check whether certain properties can be modified. | 131 // Check whether certain properties can be modified. |
| 131 bool canSetFocusAttribute() const override; | 132 bool canSetFocusAttribute() const override; |
| 132 bool canSetValueAttribute() const override; | 133 bool canSetValueAttribute() const override; |
| 134 bool canSetSelectedAttribute() const override; |
| 133 | 135 |
| 134 // Properties of static elements. | 136 // Properties of static elements. |
| 135 RGBA32 colorValue() const final; | 137 RGBA32 colorValue() const final; |
| 136 bool canvasHasFallbackContent() const final; | 138 bool canvasHasFallbackContent() const final; |
| 137 int headingLevel() const final; | 139 int headingLevel() const final; |
| 138 unsigned hierarchicalLevel() const final; | 140 unsigned hierarchicalLevel() const final; |
| 139 AccessibilityOrientation orientation() const override; | 141 AccessibilityOrientation orientation() const override; |
| 140 String text() const override; | 142 String text() const override; |
| 141 | 143 |
| 142 // Properties of interactive elements. | 144 // Properties of interactive elements. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 bool isNativeCheckboxInMixedState() const; | 209 bool isNativeCheckboxInMixedState() const; |
| 208 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; | 210 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; |
| 209 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; | 211 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; |
| 210 float stepValueForRange() const; | 212 float stepValueForRange() const; |
| 211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 213 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 212 }; | 214 }; |
| 213 | 215 |
| 214 } // namespace blink | 216 } // namespace blink |
| 215 | 217 |
| 216 #endif // AXNodeObject_h | 218 #endif // AXNodeObject_h |
| OLD | NEW |