| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 virtual int posInSet() const override; | 205 virtual int posInSet() const override; |
| 206 virtual int setSize() const override; | 206 virtual int setSize() const override; |
| 207 | 207 |
| 208 // Aria-owns. | 208 // Aria-owns. |
| 209 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren); | 209 void computeAriaOwnsChildren(Vector<AXObject*>& ownedChildren); |
| 210 | 210 |
| 211 private: | 211 private: |
| 212 Node* m_node; | 212 Node* m_node; |
| 213 | 213 |
| 214 String alternativeTextForWebArea() const; | 214 String alternativeTextForWebArea() const; |
| 215 void alternativeText(Vector<AccessibilityText>&) const; | 215 void alternativeText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText>>
&) const; |
| 216 void ariaLabeledByText(Vector<AccessibilityText>&) const; | 216 void ariaLabeledByText(WillBeHeapVector<OwnPtrWillBeMember<AccessibilityText
>>&) const; |
| 217 float stepValueForRange() const; | 217 float stepValueForRange() const; |
| 218 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 218 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
| 219 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 219 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
| 223 | 223 |
| 224 } // namespace blink | 224 } // namespace blink |
| 225 | 225 |
| 226 #endif // AXNodeObject_h | 226 #endif // AXNodeObject_h |
| OLD | NEW |