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