Index: Source/modules/accessibility/AXObject.h |
diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h |
index f6f29f612749b9c79f0c716fd764fda9ae7d7c4d..dda5b4c405454d107cf0f714bee3ea20903ef10a 100644 |
--- a/Source/modules/accessibility/AXObject.h |
+++ b/Source/modules/accessibility/AXObject.h |
@@ -48,6 +48,8 @@ class IntPoint; |
class Node; |
class RenderObject; |
class ScrollableArea; |
+class WebElement; |
+class WebNode; |
class Widget; |
typedef unsigned AXID; |
@@ -608,6 +610,7 @@ public: |
static AccessibilityRole ariaRoleToWebCoreRole(const String&); |
static IntRect boundingBoxForQuads(RenderObject*, const Vector<FloatQuad>&); |
static const AtomicString& roleName(AccessibilityRole); |
+ static bool isARIAWidget(const WebNode&); |
dmazzoni
2015/02/05 00:40:23
This should take a Node& instead
Donn Denman
2015/02/06 22:53:36
Done.
|
protected: |
AXID m_id; |
@@ -643,6 +646,10 @@ protected: |
// Updates the cached attribute values. This may be recursive, so to prevent deadlocks, |
// functions called here may only search up the tree (ancestors), not down. |
void updateCachedAttributeValuesIfNeeded() const; |
+ |
+private: |
+ static bool includesARIAWidgetRole(const String&); |
+ static bool hasInteractiveARIAAttribute(const WebElement&); |
}; |
#define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |