Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 2750533006: Initial skeleton of Accessibility Object Model Phase 1 (Closed)
Patch Set: Add comment about ugly AXObjectCache interface Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e6f2b232ae064b9f8af1a7b1aace3b7c59413133..ddc9038f013b425dccc496331f8046ff154fdd75 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -30,6 +30,7 @@
#ifndef AXObject_h
#define AXObject_h
+#include "core/dom/AccessibleNode.h"
#include "core/editing/VisiblePosition.h"
#include "core/editing/markers/DocumentMarker.h"
#include "core/inspector/protocol/Accessibility.h"
@@ -599,6 +600,12 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
AXID axObjectID() const { return m_id; }
+ // Accessibility Object Model AccessibleNode interface
+ AccessibleNode* getAccessibleNode() const;
+ // Wrappers that retrieve either an ARIA attribute, or the equivalent
+ // Accessibility Object Model property, in that order.
+ const AtomicString& getAriaAttributeOrAOMProperty(AOMStringProperty) const;
+
virtual void getSparseAXAttributes(AXSparseAttributeClient&) const {}
// Determine subclass type.

Powered by Google App Engine
This is Rietveld 408576698