| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual AccessibilityRole determineAccessibilityRole(); | 62 virtual AccessibilityRole determineAccessibilityRole(); |
| 63 AccessibilityRole determineAccessibilityRoleUtil(); | 63 AccessibilityRole determineAccessibilityRoleUtil(); |
| 64 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb
er<Element>> &elements) const; | 64 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb
er<Element>> &elements) const; |
| 65 void alterSliderValue(bool increase); | 65 void alterSliderValue(bool increase); |
| 66 String ariaAccessibilityDescription() const; | 66 String ariaAccessibilityDescription() const; |
| 67 String ariaAutoComplete() const; | 67 String ariaAutoComplete() const; |
| 68 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el
ements) const; | 68 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el
ements) const; |
| 69 AccessibilityRole determineAriaRoleAttribute() const; | 69 AccessibilityRole determineAriaRoleAttribute() const; |
| 70 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el
ements, const QualifiedName&) const; | 70 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el
ements, const QualifiedName&) const; |
| 71 bool hasContentEditableAttributeSet() const; | 71 bool hasContentEditableAttributeSet() const; |
| 72 bool isTextControl() const override; |
| 73 bool allowsTextRanges() const { return isTextControl(); } |
| 72 // This returns true if it's focusable but it's not content editable and it'
s not a control or ARIA control. | 74 // This returns true if it's focusable but it's not content editable and it'
s not a control or ARIA control. |
| 73 bool isGenericFocusableElement() const; | 75 bool isGenericFocusableElement() const; |
| 74 HTMLLabelElement* labelForElement(Element*) const; | 76 HTMLLabelElement* labelForElement(Element*) const; |
| 75 AXObject* menuButtonForMenu() const; | 77 AXObject* menuButtonForMenu() const; |
| 76 Element* menuItemElementForMenu() const; | 78 Element* menuItemElementForMenu() const; |
| 77 Element* mouseButtonListener() const; | 79 Element* mouseButtonListener() const; |
| 78 String deprecatedPlaceholder() const; | 80 String deprecatedPlaceholder() const; |
| 79 AccessibilityRole remapAriaRoleDueToParent(AccessibilityRole) const; | 81 AccessibilityRole remapAriaRoleDueToParent(AccessibilityRole) const; |
| 80 bool isNativeCheckboxOrRadio() const; | 82 bool isNativeCheckboxOrRadio() const; |
| 81 void setNode(Node*); | 83 void setNode(Node*); |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 float stepValueForRange() const; | 207 float stepValueForRange() const; |
| 206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 208 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
| 207 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 209 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 208 }; | 210 }; |
| 209 | 211 |
| 210 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 212 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
| 211 | 213 |
| 212 } // namespace blink | 214 } // namespace blink |
| 213 | 215 |
| 214 #endif // AXNodeObject_h | 216 #endif // AXNodeObject_h |
| OLD | NEW |