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