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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 class LayoutObject; | 53 class LayoutObject; |
54 class ScrollableArea; | 54 class ScrollableArea; |
55 | 55 |
56 typedef unsigned AXID; | 56 typedef unsigned AXID; |
57 | 57 |
58 enum AccessibilityRole { | 58 enum AccessibilityRole { |
59 UnknownRole = 0, | 59 UnknownRole = 0, |
60 AbbrRole, // No mapping to ARIA role. | 60 AbbrRole, // No mapping to ARIA role. |
61 AlertDialogRole, | 61 AlertDialogRole, |
62 AlertRole, | 62 AlertRole, |
| 63 AnchorRole, // No mapping to ARIA role. |
63 AnnotationRole, // No mapping to ARIA role. | 64 AnnotationRole, // No mapping to ARIA role. |
64 ApplicationRole, | 65 ApplicationRole, |
65 ArticleRole, | 66 ArticleRole, |
66 AudioRole, // No mapping to ARIA role. | 67 AudioRole, // No mapping to ARIA role. |
67 BannerRole, | 68 BannerRole, |
68 BlockquoteRole, // No mapping to ARIA role. | 69 BlockquoteRole, // No mapping to ARIA role. |
69 BusyIndicatorRole, // No mapping to ARIA role. | 70 BusyIndicatorRole, // No mapping to ARIA role. |
70 ButtonRole, | 71 ButtonRole, |
71 CanvasRole, // No mapping to ARIA role. | 72 CanvasRole, // No mapping to ARIA role. |
72 CaptionRole, // No mapping to ARIA role. | 73 CaptionRole, // No mapping to ARIA role. |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 virtual bool isControl() const { return false; } | 625 virtual bool isControl() const { return false; } |
625 virtual bool isDataTable() const { return false; } | 626 virtual bool isDataTable() const { return false; } |
626 virtual bool isEmbeddedObject() const { return false; } | 627 virtual bool isEmbeddedObject() const { return false; } |
627 virtual bool isFieldset() const { return false; } | 628 virtual bool isFieldset() const { return false; } |
628 virtual bool isHeading() const { return false; } | 629 virtual bool isHeading() const { return false; } |
629 virtual bool isImage() const { return false; } | 630 virtual bool isImage() const { return false; } |
630 virtual bool isImageMapLink() const { return false; } | 631 virtual bool isImageMapLink() const { return false; } |
631 virtual bool isInputImage() const { return false; } | 632 virtual bool isInputImage() const { return false; } |
632 bool isLandmarkRelated() const; | 633 bool isLandmarkRelated() const; |
633 virtual bool isLink() const { return false; } | 634 virtual bool isLink() const { return false; } |
| 635 virtual bool isInPageLinkTarget() const { return false; } |
634 virtual bool isList() const { return false; } | 636 virtual bool isList() const { return false; } |
635 virtual bool isMenu() const { return false; } | 637 virtual bool isMenu() const { return false; } |
636 virtual bool isMenuButton() const { return false; } | 638 virtual bool isMenuButton() const { return false; } |
637 virtual bool isMenuList() const { return false; } | 639 virtual bool isMenuList() const { return false; } |
638 virtual bool isMenuListOption() const { return false; } | 640 virtual bool isMenuListOption() const { return false; } |
639 virtual bool isMenuListPopup() const { return false; } | 641 virtual bool isMenuListPopup() const { return false; } |
640 bool isMenuRelated() const; | 642 bool isMenuRelated() const; |
641 virtual bool isMeter() const { return false; } | 643 virtual bool isMeter() const { return false; } |
642 virtual bool isMockObject() const { return false; } | 644 virtual bool isMockObject() const { return false; } |
643 virtual bool isNativeSpinButton() const { return false; } | 645 virtual bool isNativeSpinButton() const { return false; } |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 static unsigned s_numberOfLiveAXObjects; | 1112 static unsigned s_numberOfLiveAXObjects; |
1111 }; | 1113 }; |
1112 | 1114 |
1113 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 1115 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
1114 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ | 1116 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ |
1115 object.predicate) | 1117 object.predicate) |
1116 | 1118 |
1117 } // namespace blink | 1119 } // namespace blink |
1118 | 1120 |
1119 #endif // AXObject_h | 1121 #endif // AXObject_h |
OLD | NEW |