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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // Properties of interactive elements. | 146 // Properties of interactive elements. |
147 virtual AccessibilityButtonState checkboxOrRadioValue() const override final
; | 147 virtual AccessibilityButtonState checkboxOrRadioValue() const override final
; |
148 virtual InvalidState invalidState() const override final; | 148 virtual InvalidState invalidState() const override final; |
149 // Only used when invalidState() returns InvalidStateOther. | 149 // Only used when invalidState() returns InvalidStateOther. |
150 virtual String ariaInvalidValue() const override final; | 150 virtual String ariaInvalidValue() const override final; |
151 virtual String valueDescription() const override; | 151 virtual String valueDescription() const override; |
152 virtual float valueForRange() const override; | 152 virtual float valueForRange() const override; |
153 virtual float maxValueForRange() const override; | 153 virtual float maxValueForRange() const override; |
154 virtual float minValueForRange() const override; | 154 virtual float minValueForRange() const override; |
155 virtual String stringValue() const override; | 155 virtual String stringValue() const override; |
156 virtual const AtomicString& textInputType() const override; | |
157 | 156 |
158 // ARIA attributes. | 157 // ARIA attributes. |
159 virtual String ariaDescribedByAttribute() const override final; | 158 virtual String ariaDescribedByAttribute() const override final; |
160 virtual const AtomicString& ariaDropEffect() const override final; | |
161 virtual String ariaLabeledByAttribute() const override final; | 159 virtual String ariaLabeledByAttribute() const override final; |
162 virtual AccessibilityRole ariaRoleAttribute() const override final; | 160 virtual AccessibilityRole ariaRoleAttribute() const override final; |
163 virtual AccessibilityOptionalBool isAriaGrabbed() const override final; | |
164 | 161 |
165 // Accessibility Text. | 162 // Accessibility Text. |
166 virtual String deprecatedTextUnderElement(TextUnderElementMode) const overri
de; | 163 virtual String deprecatedTextUnderElement(TextUnderElementMode) const overri
de; |
167 virtual String deprecatedAccessibilityDescription() const override; | 164 virtual String deprecatedAccessibilityDescription() const override; |
168 virtual String deprecatedTitle(TextUnderElementMode) const override; | 165 virtual String deprecatedTitle(TextUnderElementMode) const override; |
169 virtual String deprecatedHelpText() const override; | 166 virtual String deprecatedHelpText() const override; |
170 virtual String computedName() const override; | 167 virtual String computedName() const override; |
171 | 168 |
172 // New AX name calculation. | 169 // New AX name calculation. |
173 virtual String textAlternative(bool recursive, bool inAriaLabelledByTraversa
l, HashSet<AXObject*>& visited, AXNameFrom*, Vector<AXObject*>* nameObjects) ove
rride; | 170 virtual String textAlternative(bool recursive, bool inAriaLabelledByTraversa
l, HashSet<AXObject*>& visited, AXNameFrom*, Vector<AXObject*>* nameObjects) ove
rride; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 float stepValueForRange() const; | 217 float stepValueForRange() const; |
221 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 218 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
222 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 219 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
223 }; | 220 }; |
224 | 221 |
225 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
226 | 223 |
227 } // namespace blink | 224 } // namespace blink |
228 | 225 |
229 #endif // AXNodeObject_h | 226 #endif // AXNodeObject_h |
OLD | NEW |