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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 LabelRole, | 107 LabelRole, |
108 LegendRole, // No mapping to ARIA role | 108 LegendRole, // No mapping to ARIA role |
109 LinkRole, | 109 LinkRole, |
110 ListBoxOptionRole, | 110 ListBoxOptionRole, |
111 ListBoxRole, | 111 ListBoxRole, |
112 ListItemRole, | 112 ListItemRole, |
113 ListMarkerRole, // No mapping to ARIA role | 113 ListMarkerRole, // No mapping to ARIA role |
114 ListRole, | 114 ListRole, |
115 LogRole, | 115 LogRole, |
116 MainRole, | 116 MainRole, |
117 MarkRole, // No mapping to ARIA role | |
118 MarqueeRole, | 117 MarqueeRole, |
119 MathRole, | 118 MathRole, |
120 MenuBarRole, | 119 MenuBarRole, |
121 MenuButtonRole, | 120 MenuButtonRole, |
122 MenuItemRole, | 121 MenuItemRole, |
123 MenuItemCheckBoxRole, | 122 MenuItemCheckBoxRole, |
124 MenuItemRadioRole, | 123 MenuItemRadioRole, |
125 MenuListOptionRole, | 124 MenuListOptionRole, |
126 MenuListPopupRole, | 125 MenuListPopupRole, |
127 MenuRole, | 126 MenuRole, |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 static bool includesARIAWidgetRole(const String&); | 794 static bool includesARIAWidgetRole(const String&); |
796 static bool hasInteractiveARIAAttribute(const Element&); | 795 static bool hasInteractiveARIAAttribute(const Element&); |
797 }; | 796 }; |
798 | 797 |
799 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 798 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
800 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 799 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
801 | 800 |
802 } // namespace blink | 801 } // namespace blink |
803 | 802 |
804 #endif // AXObject_h | 803 #endif // AXObject_h |
OLD | NEW |