Index: Source/modules/accessibility/AXObject.h |
diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h |
index b5e1e4a66b2077eabdea9c650d38f7d39148019c..87ef1b0608543edad82a4e2954e3918d87fe14e7 100644 |
--- a/Source/modules/accessibility/AXObject.h |
+++ b/Source/modules/accessibility/AXObject.h |
@@ -261,6 +261,12 @@ enum AccessibilityExpanded { |
ExpandedExpanded, |
}; |
+enum AccessibilityOptionalBool { |
+ OptionalBoolUndefined = 0, |
+ OptionalBoolTrue, |
+ OptionalBoolFalse |
+}; |
+ |
class AXObject : public RefCounted<AXObject> { |
public: |
typedef Vector<RefPtr<AXObject> > AccessibilityChildrenVector; |
@@ -448,7 +454,7 @@ public: |
bool ariaPressedIsPresent() const; |
virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; } |
virtual bool ariaRoleHasPresentationalChildren() const { return false; } |
- virtual bool isARIAGrabbed() { return false; } |
+ virtual AccessibilityOptionalBool isAriaGrabbed() const { return OptionalBoolUndefined; } |
virtual bool isPresentationalChildOfAriaRole() const { return false; } |
virtual bool shouldFocusActiveDescendant() const { return false; } |
bool supportsARIAAttributes() const; |