Index: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h |
index cb5e57bb691b0ab518bc8cfb5741bc8e870e727c..95f5ddacfecdaf316e1a81cbfb2c8201a07a3633 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h |
@@ -144,11 +144,12 @@ enum AXIgnoredReason { |
kAXActiveModalDialog, |
kAXAncestorDisallowsChild, |
kAXAncestorIsLeafNode, |
- kAXAriaHidden, |
- kAXAriaHiddenRoot, |
+ kAXAriaHiddenElement, |
+ kAXAriaHiddenSubtree, |
kAXEmptyAlt, |
kAXEmptyText, |
- kAXInert, |
+ kAXInertElement, |
+ kAXInertSubtree, |
kAXInheritsPresentation, |
kAXLabelContainer, |
kAXLabelFor, |
@@ -465,7 +466,7 @@ class MODULES_EXPORT AXObjectImpl |
virtual bool CanSetSelectedAttribute() const { return false; } |
// Whether objects are ignored, i.e. not included in the tree. |
- bool AccessibilityIsIgnored() const; |
+ bool AccessibilityIsIgnored(); |
typedef HeapVector<IgnoredReason> IgnoredReasons; |
virtual bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const { |
return true; |
@@ -858,6 +859,8 @@ class MODULES_EXPORT AXObjectImpl |
return nullptr; |
} |
+ const AXObjectImpl* InertRoot() const; |
+ |
mutable Member<AXObjectImpl> parent_; |
// The following cached attribute values (the ones starting with m_cached*) |