| Index: third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| index 090f8f1b11988f0313a68ee8fbcc919c77f2b0c4..ba2a8b753aad792e3ca55e7e36ecbe67d8dc9b2b 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| @@ -34,6 +34,7 @@
|
| #include "core/editing/markers/DocumentMarker.h"
|
| #include "core/inspector/protocol/Accessibility.h"
|
| #include "modules/ModulesExport.h"
|
| +#include "modules/accessibility/AccessibleNode.h"
|
| #include "platform/geometry/FloatQuad.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "platform/graphics/Color.h"
|
| @@ -599,6 +600,15 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
|
|
|
| AXID axObjectID() const { return m_id; }
|
|
|
| + // Accessibility Object Model AccessibleNode interface
|
| + AccessibleNode* getAccessibleNode() const { return m_accessibleNode; }
|
| + void setAccessibleNode(AccessibleNode* wrapper) {
|
| + m_accessibleNode = wrapper;
|
| + }
|
| + // Wrappers that retrieve either an Accessibility Object Model property
|
| + // or an ARIA attribute, checking in that order.
|
| + const AtomicString& getAomPropertyOrAriaAttribute(AomStringProperty) const;
|
| +
|
| virtual void getSparseAXAttributes(AXSparseAttributeClient&) const {}
|
|
|
| // Determine subclass type.
|
| @@ -1078,6 +1088,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
|
|
|
| mutable Member<AXObject> m_parent;
|
|
|
| + Member<AccessibleNode> m_accessibleNode;
|
| +
|
| // The following cached attribute values (the ones starting with m_cached*)
|
| // are only valid if m_lastModificationCount matches
|
| // AXObjectCacheImpl::modificationCount().
|
|
|