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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 return *m_axObjectCache; | 540 return *m_axObjectCache; |
541 } | 541 } |
542 | 542 |
543 AXID axObjectID() const { return m_id; } | 543 AXID axObjectID() const { return m_id; } |
544 | 544 |
545 // Determine subclass type. | 545 // Determine subclass type. |
546 virtual bool isAXNodeObject() const { return false; } | 546 virtual bool isAXNodeObject() const { return false; } |
547 virtual bool isAXLayoutObject() const { return false; } | 547 virtual bool isAXLayoutObject() const { return false; } |
548 virtual bool isAXListBox() const { return false; } | 548 virtual bool isAXListBox() const { return false; } |
549 virtual bool isAXListBoxOption() const { return false; } | 549 virtual bool isAXListBoxOption() const { return false; } |
| 550 virtual bool isAXRadioInput() const { return false; } |
550 virtual bool isAXSVGRoot() const { return false; } | 551 virtual bool isAXSVGRoot() const { return false; } |
551 | 552 |
552 // Check object role or purpose. | 553 // Check object role or purpose. |
553 virtual AccessibilityRole roleValue() const { return m_role; } | 554 virtual AccessibilityRole roleValue() const { return m_role; } |
554 bool isARIATextControl() const; | 555 bool isARIATextControl() const; |
555 virtual bool isARIATreeGridRow() const { return false; } | 556 virtual bool isARIATreeGridRow() const { return false; } |
556 virtual bool isAXTable() const { return false; } | 557 virtual bool isAXTable() const { return false; } |
557 virtual bool isAnchor() const { return false; } | 558 virtual bool isAnchor() const { return false; } |
558 bool isButton() const; | 559 bool isButton() const; |
559 bool isCanvas() const { return roleValue() == CanvasRole; } | 560 bool isCanvas() const { return roleValue() == CanvasRole; } |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
949 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
950 | 951 |
951 } // namespace blink | 952 } // namespace blink |
952 | 953 |
953 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); | 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); |
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); | 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); |
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); | 956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); |
956 | 957 |
957 #endif // AXObject_h | 958 #endif // AXObject_h |
OLD | NEW |