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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 virtual String StringValue() const { return String(); } | 627 virtual String StringValue() const { return String(); } |
628 | 628 |
629 // ARIA attributes. | 629 // ARIA attributes. |
630 virtual AXObject* ActiveDescendant() { return nullptr; } | 630 virtual AXObject* ActiveDescendant() { return nullptr; } |
631 virtual String AriaAutoComplete() const { return String(); } | 631 virtual String AriaAutoComplete() const { return String(); } |
632 virtual void AriaOwnsElements(AXObjectVector& owns) const {} | 632 virtual void AriaOwnsElements(AXObjectVector& owns) const {} |
633 virtual void AriaDescribedbyElements(AXObjectVector&) const {} | 633 virtual void AriaDescribedbyElements(AXObjectVector&) const {} |
634 virtual void AriaLabelledbyElements(AXObjectVector&) const {} | 634 virtual void AriaLabelledbyElements(AXObjectVector&) const {} |
635 virtual bool AriaHasPopup() const { return false; } | 635 virtual bool AriaHasPopup() const { return false; } |
636 virtual bool IsEditable() const { return false; } | 636 virtual bool IsEditable() const { return false; } |
637 bool IsMultiline() const; | 637 virtual bool IsMultiline() const { return false; } |
638 virtual bool IsRichlyEditable() const { return false; } | 638 virtual bool IsRichlyEditable() const { return false; } |
639 bool AriaCheckedIsPresent() const; | 639 bool AriaCheckedIsPresent() const; |
640 bool AriaPressedIsPresent() const; | 640 bool AriaPressedIsPresent() const; |
641 virtual AccessibilityRole AriaRoleAttribute() const { return kUnknownRole; } | 641 virtual AccessibilityRole AriaRoleAttribute() const { return kUnknownRole; } |
642 virtual bool AriaRoleHasPresentationalChildren() const { return false; } | 642 virtual bool AriaRoleHasPresentationalChildren() const { return false; } |
643 virtual AXObject* AncestorForWhichThisIsAPresentationalChild() const { | 643 virtual AXObject* AncestorForWhichThisIsAPresentationalChild() const { |
644 return 0; | 644 return 0; |
645 } | 645 } |
646 bool SupportsActiveDescendant() const; | 646 bool SupportsActiveDescendant() const; |
647 bool SupportsARIAAttributes() const; | 647 bool SupportsARIAAttributes() const; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 static unsigned number_of_live_ax_objects_; | 887 static unsigned number_of_live_ax_objects_; |
888 }; | 888 }; |
889 | 889 |
890 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 890 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
891 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ | 891 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ |
892 object.predicate) | 892 object.predicate) |
893 | 893 |
894 } // namespace blink | 894 } // namespace blink |
895 | 895 |
896 #endif // AXObject_h | 896 #endif // AXObject_h |
OLD | NEW |