OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nuanti Ltd. | 3 * Copyright (C) 2008 Nuanti Ltd. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 virtual AccessibilityOptionalBool isAriaGrabbed() const { return OptionalBoo
lUndefined; } | 496 virtual AccessibilityOptionalBool isAriaGrabbed() const { return OptionalBoo
lUndefined; } |
497 virtual bool isPresentationalChildOfAriaRole() const { return false; } | 497 virtual bool isPresentationalChildOfAriaRole() const { return false; } |
498 virtual bool shouldFocusActiveDescendant() const { return false; } | 498 virtual bool shouldFocusActiveDescendant() const { return false; } |
499 bool supportsARIAAttributes() const; | 499 bool supportsARIAAttributes() const; |
500 virtual bool supportsARIADragging() const { return false; } | 500 virtual bool supportsARIADragging() const { return false; } |
501 virtual bool supportsARIADropping() const { return false; } | 501 virtual bool supportsARIADropping() const { return false; } |
502 virtual bool supportsARIAFlowTo() const { return false; } | 502 virtual bool supportsARIAFlowTo() const { return false; } |
503 virtual bool supportsARIAOwns() const { return false; } | 503 virtual bool supportsARIAOwns() const { return false; } |
504 bool supportsRangeValue() const; | 504 bool supportsRangeValue() const; |
505 virtual SortDirection sortDirection() const { return SortDirectionUndefined;
} | 505 virtual SortDirection sortDirection() const { return SortDirectionUndefined;
} |
| 506 int ariaPosInSet() const; |
| 507 int ariaSetSize() const; |
506 | 508 |
507 // ARIA trees. | 509 // ARIA trees. |
508 // Used by an ARIA tree to get all its rows. | 510 // Used by an ARIA tree to get all its rows. |
509 void ariaTreeRows(AccessibilityChildrenVector&); | 511 void ariaTreeRows(AccessibilityChildrenVector&); |
510 | 512 |
511 // ARIA live-region features. | 513 // ARIA live-region features. |
512 bool isLiveRegion() const; | 514 bool isLiveRegion() const; |
513 const AXObject* liveRegionRoot() const; | 515 const AXObject* liveRegionRoot() const; |
514 virtual const AtomicString& liveRegionStatus() const { return nullAtom; } | 516 virtual const AtomicString& liveRegionStatus() const { return nullAtom; } |
515 virtual const AtomicString& liveRegionRelevant() const { return nullAtom; } | 517 virtual const AtomicString& liveRegionRelevant() const { return nullAtom; } |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 static bool includesARIAWidgetRole(const String&); | 674 static bool includesARIAWidgetRole(const String&); |
673 static bool hasInteractiveARIAAttribute(const Element&); | 675 static bool hasInteractiveARIAAttribute(const Element&); |
674 }; | 676 }; |
675 | 677 |
676 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 678 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
677 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 679 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
678 | 680 |
679 } // namespace blink | 681 } // namespace blink |
680 | 682 |
681 #endif // AXObject_h | 683 #endif // AXObject_h |
OLD | NEW |