[ATK] Missing WTR AccessibilityUIElement::addNotificationListener implementation
[WebKit-https.git] / Tools / WebKitTestRunner / InjectedBundle / AccessibilityController.h
index 247de342061eaabef3807b25d02667872992abb3..330287d1ad149b99d2a52c05118cd144b73f7c23 100644 (file)
@@ -33,6 +33,9 @@
 #if PLATFORM(WIN)
 #include <windows.h>
 #endif
+#if PLATFORM(GTK) || (PLATFORM(EFL) && HAVE(ACCESSIBILITY))
+#include "AccessibilityNotificationHandlerAtk.h"
+#endif
 
 namespace WTR {
     
@@ -68,13 +71,8 @@ private:
     RetainPtr<NotificationHandler> m_globalNotificationHandler;
 #endif
 
-#if PLATFORM(GTK) || PLATFORM(EFL)
-    unsigned m_stateChangeListenerId;
-    unsigned m_focusEventListenerId;
-    unsigned m_activeDescendantChangedListenerId;
-    unsigned m_childrenChangedListenerId;
-    unsigned m_propertyChangedListenerId;
-    unsigned m_visibleDataChangedListenerId;
+#if PLATFORM(GTK) || (PLATFORM(EFL) && HAVE(ACCESSIBILITY))
+    RefPtr<AccessibilityNotificationHandler> m_globalNotificationHandler;
 #endif
 };