Diff
Modified: trunk/Source/WTF/ChangeLog (288167 => 288168)
--- trunk/Source/WTF/ChangeLog 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Source/WTF/ChangeLog 2022-01-19 01:18:17 UTC (rev 288168)
@@ -1,3 +1,15 @@
+2022-01-18 Don Olmstead <[email protected]>
+
+ Replace all uses of HAVE_ACCESSIBILITY with ENABLE_ACCESSIBILITY
+ https://bugs.webkit.org/show_bug.cgi?id=235335
+
+ Reviewed by Ross Kirsling.
+
+ Remove the setting of HAVE_ACCESSIBILITY. All code is now using ENABLE_ACCESSIBILITY
+ instead.
+
+ * wtf/PlatformHave.h:
+
2022-01-18 Yusuke Suzuki <[email protected]>
Unreviewed, disable jit-heap on non Darwin
Modified: trunk/Source/WTF/wtf/PlatformHave.h (288167 => 288168)
--- trunk/Source/WTF/wtf/PlatformHave.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -89,10 +89,6 @@
#define HAVE_AVSTREAMSESSION 1
#endif
-#if !defined(HAVE_ACCESSIBILITY) && (PLATFORM(COCOA) || PLATFORM(WIN) || PLATFORM(GTK) || PLATFORM(WPE))
-#define HAVE_ACCESSIBILITY 1
-#endif
-
#if !defined(HAVE_TIMINGSAFE_BCMP) && (PLATFORM(COCOA) || OS(OPENBSD) || OS(FREEBSD))
#define HAVE_TIMINGSAFE_BCMP 1
#endif
Modified: trunk/Tools/ChangeLog (288167 => 288168)
--- trunk/Tools/ChangeLog 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/ChangeLog 2022-01-19 01:18:17 UTC (rev 288168)
@@ -1,3 +1,47 @@
+2022-01-18 Don Olmstead <[email protected]>
+
+ Replace all uses of HAVE_ACCESSIBILITY with ENABLE_ACCESSIBILITY
+ https://bugs.webkit.org/show_bug.cgi?id=235335
+
+ Reviewed by Ross Kirsling.
+
+ Does a find/replace in Tools to move from HAVE_ACCESSIBILITY to ENABLE_ACCESSIBILITY. The
+ same is done with HAVE(ACCESSIBILITY) with instances replaced by ENABLE(ACCESSIBILITY).
+
+ * DumpRenderTree/AccessibilityController.cpp:
+ * DumpRenderTree/AccessibilityController.h:
+ * DumpRenderTree/AccessibilityUIElement.cpp:
+ * DumpRenderTree/AccessibilityUIElement.h:
+ * MiniBrowser/wpe/main.cpp:
+ (main):
+ * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
+ * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
+ * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
+ * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
+ (WTR::InjectedBundle::beginTesting):
+ (WTR::InjectedBundle::done):
+ * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
+ * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+ (WTR::InjectedBundlePage::didClearWindowForFrame):
+ * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
+ * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
+ * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h:
+ * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
+ * WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp:
+ * WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp:
+ * WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.h:
+ * WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp:
+ * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
+ * WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp:
+ * WebKitTestRunner/InjectedBundle/win/AccessibilityUIElementWin.cpp:
+ * wpe/backends/PlatformWPE.cmake:
+ * wpe/backends/ViewBackend.cpp:
+ (WPEToolingBackends::ViewBackend::dispatchInputKeyboardEvent):
+ * wpe/backends/ViewBackend.h:
+ * wpe/backends/atk/ViewBackendAtk.cpp:
+ * wpe/backends/atk/WebKitAccessibleApplication.cpp:
+ * wpe/backends/atk/WebKitAccessibleApplication.h:
+
2022-01-18 Alex Christensen <[email protected]>
Build WebKitSwift when building with make or build-webkit
Modified: trunk/Tools/DumpRenderTree/AccessibilityController.cpp (288167 => 288168)
--- trunk/Tools/DumpRenderTree/AccessibilityController.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/DumpRenderTree/AccessibilityController.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -25,7 +25,7 @@
#include "config.h"
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#include "AccessibilityController.h"
@@ -183,4 +183,4 @@
setLogAccessibilityEvents(false);
platformResetToConsistentState();
}
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/DumpRenderTree/AccessibilityController.h (288167 => 288168)
--- trunk/Tools/DumpRenderTree/AccessibilityController.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/DumpRenderTree/AccessibilityController.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -36,7 +36,7 @@
#include <windows.h>
#endif
-#if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
+#if ENABLE(ACCESSIBILITY) && PLATFORM(GTK)
#include "AccessibilityNotificationHandlerAtk.h"
#include <atk/atk.h>
#endif
@@ -78,7 +78,7 @@
void winNotificationReceived(PlatformUIElement, const std::string& eventName);
#endif
-#if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
+#if ENABLE(ACCESSIBILITY) && PLATFORM(GTK)
AtkObject* childElementById(AtkObject* parent, const char* id);
#endif
@@ -99,7 +99,7 @@
RetainPtr<id> m_globalNotificationHandler;
#endif
-#if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
+#if ENABLE(ACCESSIBILITY) && PLATFORM(GTK)
RefPtr<AccessibilityNotificationHandler> m_globalNotificationHandler;
#endif
Modified: trunk/Tools/DumpRenderTree/AccessibilityUIElement.cpp (288167 => 288168)
--- trunk/Tools/DumpRenderTree/AccessibilityUIElement.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/DumpRenderTree/AccessibilityUIElement.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -25,7 +25,7 @@
#include "config.h"
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#include "AccessibilityUIElement.h"
Modified: trunk/Tools/DumpRenderTree/AccessibilityUIElement.h (288167 => 288168)
--- trunk/Tools/DumpRenderTree/AccessibilityUIElement.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/DumpRenderTree/AccessibilityUIElement.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -43,7 +43,7 @@
#include <WebCore/COMPtr.h>
#include <oleacc.h>
typedef COMPtr<IAccessible> PlatformUIElement;
-#elif HAVE(ACCESSIBILITY) && PLATFORM(GTK)
+#elif ENABLE(ACCESSIBILITY) && PLATFORM(GTK)
#include "AccessibilityNotificationHandlerAtk.h"
#include <atk/atk.h>
typedef AtkObject* PlatformUIElement;
@@ -358,7 +358,7 @@
RetainPtr<id> m_notificationHandler;
#endif
-#if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
+#if ENABLE(ACCESSIBILITY) && PLATFORM(GTK)
RefPtr<AccessibilityNotificationHandler> m_notificationHandler;
#endif
};
Modified: trunk/Tools/MiniBrowser/wpe/main.cpp (288167 => 288168)
--- trunk/Tools/MiniBrowser/wpe/main.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/MiniBrowser/wpe/main.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -31,7 +31,7 @@
#include <memory>
#include <wpe/webkit.h>
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
#include <atk/atk.h>
#endif
@@ -299,7 +299,7 @@
g_object_unref(settings);
backendPtr->setInputClient(std::make_unique<InputClient>(loop, webView));
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
auto* accessible = wpe_view_backend_dispatch_get_accessible(wpeBackend);
if (ATK_IS_OBJECT(accessible))
backendPtr->setAccessibleChild(ATK_OBJECT(accessible));
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -65,7 +65,7 @@
JSRetainPtr<JSStringRef> platformName();
// Controller Methods - platform-independent implementations.
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
Ref<AccessibilityUIElement> rootElement();
RefPtr<AccessibilityUIElement> focusedElement();
#endif
@@ -90,7 +90,7 @@
void resetToConsistentState();
-#if !HAVE(ACCESSIBILITY) && (PLATFORM(GTK) || PLATFORM(WPE))
+#if !ENABLE(ACCESSIBILITY) && (PLATFORM(GTK) || PLATFORM(WPE))
RefPtr<AccessibilityUIElement> rootElement() { return nullptr; }
RefPtr<AccessibilityUIElement> focusedElement() { return nullptr; }
#endif
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -92,7 +92,7 @@
#endif
// Unsupported methods on various platforms. As they're implemented on other platforms this list should be modified.
-#if PLATFORM(COCOA) || !HAVE(ACCESSIBILITY)
+#if PLATFORM(COCOA) || !ENABLE(ACCESSIBILITY)
JSRetainPtr<JSStringRef> AccessibilityUIElement::characterAtOffset(int) { return nullptr; }
JSRetainPtr<JSStringRef> AccessibilityUIElement::wordAtOffset(int) { return nullptr; }
JSRetainPtr<JSStringRef> AccessibilityUIElement::lineAtOffset(int) { return nullptr; }
@@ -99,7 +99,7 @@
JSRetainPtr<JSStringRef> AccessibilityUIElement::sentenceAtOffset(int) { return nullptr; }
#endif
-#if !PLATFORM(MAC) || !HAVE(ACCESSIBILITY)
+#if !PLATFORM(MAC) || !ENABLE(ACCESSIBILITY)
int AccessibilityUIElement::lineIndexForTextMarker(AccessibilityTextMarker*) const { return -1; }
RefPtr<AccessibilityTextMarkerRange> AccessibilityUIElement::textMarkerRangeForRange(unsigned, unsigned) { return nullptr; }
RefPtr<AccessibilityTextMarkerRange> AccessibilityUIElement::selectedTextMarkerRange() { return nullptr; }
@@ -111,7 +111,7 @@
JSValueRef AccessibilityUIElement::mathRootRadicand() const { return { }; }
#endif
-#if !PLATFORM(COCOA) || !HAVE(ACCESSIBILITY)
+#if !PLATFORM(COCOA) || !ENABLE(ACCESSIBILITY)
RefPtr<AccessibilityUIElement> AccessibilityUIElement::focusedElement() const { return nullptr; }
bool AccessibilityUIElement::hasDocumentRoleAncestor() const { return false; }
@@ -140,7 +140,7 @@
JSValueRef AccessibilityUIElement::errorMessageElements() const { return { }; }
JSValueRef AccessibilityUIElement::imageOverlayElements() const { return { }; }
JSRetainPtr<JSStringRef> AccessibilityUIElement::embeddedImageDescription() const { return nullptr; }
-#endif // !PLATFORM(COCOA) || !HAVE(ACCESSIBILITY)
+#endif // !PLATFORM(COCOA) || !ENABLE(ACCESSIBILITY)
} // namespace WTR
#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -42,12 +42,12 @@
OBJC_CLASS NSString;
#include <wtf/RetainPtr.h>
using PlatformUIElement = id;
-#elif HAVE(ACCESSIBILITY) && USE(ATK)
+#elif ENABLE(ACCESSIBILITY) && USE(ATK)
#include "AccessibilityNotificationHandlerAtk.h"
#include <atk/atk.h>
#include <wtf/glib/GRefPtr.h>
typedef GRefPtr<AtkObject> PlatformUIElement;
-#elif HAVE(ACCESSIBILITY) && USE(ATSPI)
+#elif ENABLE(ACCESSIBILITY) && USE(ATSPI)
namespace WebCore {
class AccessibilityObjectAtspi;
}
@@ -78,7 +78,7 @@
#if PLATFORM(COCOA)
id platformUIElement() { return m_element.get(); }
-#elif HAVE(ACCESSIBILITY) && USE(ATSPI)
+#elif ENABLE(ACCESSIBILITY) && USE(ATSPI)
PlatformUIElement platformUIElement() { return m_element.get(); }
#else
PlatformUIElement platformUIElement() { return m_element; }
@@ -417,7 +417,7 @@
#endif
// A retained, platform specific object used to help manage notifications for this object.
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#if PLATFORM(COCOA)
RetainPtr<id> m_element;
RetainPtr<id> m_notificationHandler;
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -511,7 +511,7 @@
m_gcController = GCController::create();
m_eventSendingController = EventSendingController::create();
m_textInputController = TextInputController::create();
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
m_accessibilityController = AccessibilityController::create();
#if ENABLE(ACCESSIBILITY_ISOLATED_TREE)
m_accessibilityController->setIsolatedTreeMode(m_accessibilityIsolatedTreeMode);
@@ -559,7 +559,7 @@
page()->stopLoading();
setTopLoadingFrame(0);
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
m_accessibilityController->resetToConsistentState();
#endif
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -36,7 +36,7 @@
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#include "AccessibilityController.h"
#endif
@@ -57,7 +57,7 @@
GCController* gcController() { return m_gcController.get(); }
EventSendingController* eventSendingController() { return m_eventSendingController.get(); }
TextInputController* textInputController() { return m_textInputController.get(); }
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
AccessibilityController* accessibilityController() { return m_accessibilityController.get(); }
#endif
@@ -172,7 +172,7 @@
WKRetainPtr<WKBundleRef> m_bundle;
Vector<std::unique_ptr<InjectedBundlePage>> m_pages;
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
RefPtr<AccessibilityController> m_accessibilityController;
#endif
RefPtr<TestRunner> m_testRunner;
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -916,7 +916,7 @@
injectedBundle.gcController()->makeWindowObject(context);
injectedBundle.eventSendingController()->makeWindowObject(context);
injectedBundle.textInputController()->makeWindowObject(context);
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
injectedBundle.accessibilityController()->makeWindowObject(context);
#endif
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -28,7 +28,7 @@
#include "config.h"
#include "AccessibilityController.h"
-#if HAVE(ACCESSIBILITY) && USE(ATK)
+#if ENABLE(ACCESSIBILITY) && USE(ATK)
#include "AccessibilityUIElement.h"
#include "InjectedBundle.h"
@@ -147,4 +147,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATK)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATK)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -20,7 +20,7 @@
#include "config.h"
#include "AccessibilityNotificationHandlerAtk.h"
-#if HAVE(ACCESSIBILITY) && USE(ATK)
+#if ENABLE(ACCESSIBILITY) && USE(ATK)
#include "AccessibilityUIElement.h"
#include "InjectedBundle.h"
@@ -278,4 +278,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATK)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATK)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -19,7 +19,7 @@
#pragma once
-#if HAVE(ACCESSIBILITY) && USE(ATK)
+#if ENABLE(ACCESSIBILITY) && USE(ATK)
#include <_javascript_Core/JSObjectRef.h>
#include <atk/atk.h>
@@ -53,4 +53,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATK)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATK)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -28,7 +28,7 @@
#include "config.h"
#include "AccessibilityUIElement.h"
-#if HAVE(ACCESSIBILITY) && USE(ATK)
+#if ENABLE(ACCESSIBILITY) && USE(ATK)
#include "InjectedBundle.h"
#include "InjectedBundlePage.h"
@@ -2321,4 +2321,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATK)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATK)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -28,7 +28,7 @@
#include "config.h"
#include "AccessibilityController.h"
-#if HAVE(ACCESSIBILITY) && USE(ATSPI)
+#if ENABLE(ACCESSIBILITY) && USE(ATSPI)
#include "AccessibilityNotificationHandler.h"
#include "AccessibilityUIElement.h"
#include "InjectedBundle.h"
@@ -125,4 +125,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATSPI)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATSPI)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -28,7 +28,7 @@
#include "config.h"
#include "AccessibilityNotificationHandler.h"
-#if HAVE(ACCESSIBILITY) && USE(ATSPI)
+#if ENABLE(ACCESSIBILITY) && USE(ATSPI)
#include "InjectedBundlePage.h"
#include "JSWrapper.h"
#include <_javascript_Core/OpaqueJSString.h>
@@ -101,4 +101,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATSPI)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATSPI)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.h (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityNotificationHandler.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -27,7 +27,7 @@
#pragma once
-#if HAVE(ACCESSIBILITY) && USE(ATSPI)
+#if ENABLE(ACCESSIBILITY) && USE(ATSPI)
#include "AccessibilityUIElement.h"
#include <_javascript_Core/JSObjectRef.h>
@@ -48,4 +48,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATSPI)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATSPI)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -26,7 +26,7 @@
#include "config.h"
#include "AccessibilityUIElement.h"
-#if HAVE(ACCESSIBILITY) && USE(ATSPI)
+#if ENABLE(ACCESSIBILITY) && USE(ATSPI)
#include "AccessibilityNotificationHandler.h"
#include "InjectedBundle.h"
#include "InjectedBundlePage.h"
@@ -1706,4 +1706,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY) && USE(ATSPI)
+#endif // ENABLE(ACCESSIBILITY) && USE(ATSPI)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm 2022-01-19 01:18:17 UTC (rev 288168)
@@ -26,7 +26,7 @@
#import "config.h"
#import "AccessibilityCommonMac.h"
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#import "AccessibilityNotificationHandler.h"
#import "AccessibilityUIElement.h"
@@ -2367,4 +2367,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -26,7 +26,7 @@
#include "config.h"
#include "AccessibilityController.h"
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#include "AccessibilityUIElement.h"
#include <WebCore/NotImplemented.h>
@@ -81,4 +81,4 @@
} // namespace WTR
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityUIElementWin.cpp (288167 => 288168)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityUIElementWin.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityUIElementWin.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -26,7 +26,7 @@
#include "config.h"
#include "AccessibilityUIElement.h"
-#if HAVE(ACCESSIBILITY)
+#if ENABLE(ACCESSIBILITY)
#include <WebCore/NotImplemented.h>
@@ -1011,4 +1011,4 @@
} // namespace WTF
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/wpe/backends/PlatformWPE.cmake (288167 => 288168)
--- trunk/Tools/wpe/backends/PlatformWPE.cmake 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/PlatformWPE.cmake 2022-01-19 01:18:17 UTC (rev 288168)
@@ -50,8 +50,8 @@
if (ENABLE_ACCESSIBILITY)
list(APPEND WPEToolingBackends_PRIVATE_DEFINITIONS
+ ENABLE_ACCESSIBILITY=1
GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
- HAVE_ACCESSIBILITY=1
)
list(APPEND WPEToolingBackends_LIBRARIES ATK::Bridge)
endif ()
Modified: trunk/Tools/wpe/backends/ViewBackend.cpp (288167 => 288168)
--- trunk/Tools/wpe/backends/ViewBackend.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/ViewBackend.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -36,7 +36,7 @@
ViewBackend::~ViewBackend() = default;
-#if !(defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY)
+#if !(defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY)
void ViewBackend::initializeAccessibility()
{
}
@@ -44,7 +44,7 @@
void ViewBackend::updateAccessibilityState(uint32_t previousFlags)
{
}
-#endif // !HAVE(ACCESSIBILITY)
+#endif // !ENABLE(ACCESSIBILITY)
void ViewBackend::setInputClient(std::unique_ptr<InputClient>&& client)
{
@@ -81,7 +81,7 @@
void ViewBackend::dispatchInputKeyboardEvent(struct wpe_input_keyboard_event* event)
{
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
notifyAccessibilityKeyEventListeners(event);
#endif
Modified: trunk/Tools/wpe/backends/ViewBackend.h (288167 => 288168)
--- trunk/Tools/wpe/backends/ViewBackend.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/ViewBackend.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -28,7 +28,7 @@
#include <memory>
#include <wpe/fdo.h>
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
typedef struct _AtkObject AtkObject;
#endif
@@ -64,7 +64,7 @@
virtual bool dispatchTouchEvent(struct wpe_input_touch_event*) { return false; }
};
void setInputClient(std::unique_ptr<InputClient>&&);
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
void setAccessibleChild(AtkObject*);
#endif
@@ -76,7 +76,7 @@
void initializeAccessibility();
void updateAccessibilityState(uint32_t);
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
static void notifyAccessibilityKeyEventListeners(struct wpe_input_keyboard_event* event);
#endif
Modified: trunk/Tools/wpe/backends/atk/ViewBackendAtk.cpp (288167 => 288168)
--- trunk/Tools/wpe/backends/atk/ViewBackendAtk.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/atk/ViewBackendAtk.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -25,7 +25,7 @@
#include "ViewBackend.h"
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
#include "WebKitAccessibleApplication.h"
#include <atk-bridge.h>
@@ -185,4 +185,4 @@
} // namespace WPEToolingBackends
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.cpp (288167 => 288168)
--- trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.cpp 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.cpp 2022-01-19 01:18:17 UTC (rev 288168)
@@ -25,7 +25,7 @@
#include "WebKitAccessibleApplication.h"
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
struct _WebKitAccessibleApplicationPrivate {
AtkObject* child;
@@ -119,4 +119,4 @@
}
}
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)
Modified: trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.h (288167 => 288168)
--- trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.h 2022-01-19 01:18:14 UTC (rev 288167)
+++ trunk/Tools/wpe/backends/atk/WebKitAccessibleApplication.h 2022-01-19 01:18:17 UTC (rev 288168)
@@ -25,7 +25,7 @@
#pragma once
-#if defined(HAVE_ACCESSIBILITY) && HAVE_ACCESSIBILITY
+#if defined(ENABLE_ACCESSIBILITY) && ENABLE_ACCESSIBILITY
#include <atk/atk.h>
@@ -59,4 +59,4 @@
G_END_DECLS
-#endif // HAVE(ACCESSIBILITY)
+#endif // ENABLE(ACCESSIBILITY)