summaryrefslogtreecommitdiffstats
path: root/WebCore/accessibility/AXObjectCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/accessibility/AXObjectCache.h')
-rw-r--r--WebCore/accessibility/AXObjectCache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/accessibility/AXObjectCache.h b/WebCore/accessibility/AXObjectCache.h
index f18d08a..6da6842 100644
--- a/WebCore/accessibility/AXObjectCache.h
+++ b/WebCore/accessibility/AXObjectCache.h
@@ -29,6 +29,7 @@
#include "AccessibilityObject.h"
#include "Timer.h"
#include <limits.h>
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
#include <wtf/HashSet.h>
#include <wtf/RefPtr.h>
@@ -45,7 +46,6 @@ class HTMLAreaElement;
class Node;
class Page;
class RenderObject;
-class String;
class VisiblePosition;
struct TextMarkerData {
@@ -124,8 +124,6 @@ public:
void postNotification(RenderObject*, AXNotification, bool postToElement, PostType = PostAsynchronously);
void postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType = PostAsynchronously);
- bool nodeHasRole(Node*, const AtomicString& role);
-
protected:
void postPlatformNotification(AccessibilityObject*, AXNotification);
@@ -146,6 +144,8 @@ private:
AXID getAXID(AccessibilityObject*);
};
+bool nodeHasRole(Node*, const String& role);
+
#if !HAVE(ACCESSIBILITY)
inline void AXObjectCache::handleActiveDescendantChanged(RenderObject*) { }
inline void AXObjectCache::handleAriaRoleChanged(RenderObject*) { }