| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 }; | 306 }; |
| 307 | 307 |
| 308 enum AXIgnoredReason { | 308 enum AXIgnoredReason { |
| 309 AXActiveModalDialog, | 309 AXActiveModalDialog, |
| 310 AXAncestorDisallowsChild, | 310 AXAncestorDisallowsChild, |
| 311 AXAncestorIsLeafNode, | 311 AXAncestorIsLeafNode, |
| 312 AXAriaHidden, | 312 AXAriaHidden, |
| 313 AXAriaHiddenRoot, | 313 AXAriaHiddenRoot, |
| 314 AXEmptyAlt, | 314 AXEmptyAlt, |
| 315 AXEmptyText, | 315 AXEmptyText, |
| 316 AXInert, |
| 316 AXInheritsPresentation, | 317 AXInheritsPresentation, |
| 317 AXLabelContainer, | 318 AXLabelContainer, |
| 318 AXLabelFor, | 319 AXLabelFor, |
| 319 AXNotRendered, | 320 AXNotRendered, |
| 320 AXNotVisible, | 321 AXNotVisible, |
| 322 AXPresentationalRole, |
| 321 AXProbablyPresentational, | 323 AXProbablyPresentational, |
| 322 AXStaticTextUsedAsNameFor, | 324 AXStaticTextUsedAsNameFor, |
| 323 AXUninteresting | 325 AXUninteresting |
| 324 }; | 326 }; |
| 325 | 327 |
| 326 struct IgnoredReason { | 328 struct IgnoredReason { |
| 327 AXIgnoredReason reason; | 329 AXIgnoredReason reason; |
| 328 const AXObject* relatedObject; | 330 const AXObject* relatedObject; |
| 329 | 331 |
| 330 explicit IgnoredReason(AXIgnoredReason reason) | 332 explicit IgnoredReason(AXIgnoredReason reason) |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 static bool includesARIAWidgetRole(const String&); | 762 static bool includesARIAWidgetRole(const String&); |
| 761 static bool hasInteractiveARIAAttribute(const Element&); | 763 static bool hasInteractiveARIAAttribute(const Element&); |
| 762 }; | 764 }; |
| 763 | 765 |
| 764 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 766 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 765 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 767 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
| 766 | 768 |
| 767 } // namespace blink | 769 } // namespace blink |
| 768 | 770 |
| 769 #endif // AXObject_h | 771 #endif // AXObject_h |
| OLD | NEW |