diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-26 11:37:00 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-26 11:36:36 +0100 |
commit | f474b2b60ec57205facd4eec2181ebe69b686772 (patch) | |
tree | 42a132541a82c97039ea8a98b40e5012187ede28 /Tools/WebKitTestRunner | |
parent | 061d58bc0fa016cfeed744fd3e4663460635d69b (diff) | |
download | qtwebkit-f474b2b60ec57205facd4eec2181ebe69b686772.tar.gz |
Imported WebKit commit 76dac539db7ece7079963adfcfe878d8e2f7d861 (http://svn.webkit.org/repository/webkit/trunk@135696)
New snapshot that fixes build after QMacStyle removal
Change-Id: Idea95c96c73b49158d52861db2a4b8d2c51766b0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Tools/WebKitTestRunner')
6 files changed, 11 insertions, 9 deletions
diff --git a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp index c6f7d75cc..0964064f1 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp +++ b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp @@ -44,7 +44,7 @@ PassRefPtr<AccessibilityController> AccessibilityController::create() } AccessibilityController::AccessibilityController() -#if PLATFORM(GTK) +#if PLATFORM(GTK) || PLATFORM(EFL) : m_stateChangeListenerId(0) , m_focusEventListenerId(0) , m_activeDescendantChangedListenerId(0) @@ -109,7 +109,7 @@ bool AccessibilityController::removeNotificationListener() { return false; } PassRefPtr<AccessibilityUIElement> AccessibilityController::accessibleElementById(JSStringRef attribute) { return 0; } #endif -#if !PLATFORM(GTK) +#if !PLATFORM(GTK) && !PLATFORM(EFL) void AccessibilityController::logAccessibilityEvents() { } void AccessibilityController::resetToConsistentState() { } #endif diff --git a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h index f02feac05..247de3420 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h +++ b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h @@ -68,7 +68,7 @@ private: RetainPtr<NotificationHandler> m_globalNotificationHandler; #endif -#if PLATFORM(GTK) +#if PLATFORM(GTK) || PLATFORM(EFL) unsigned m_stateChangeListenerId; unsigned m_focusEventListenerId; unsigned m_activeDescendantChangedListenerId; diff --git a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp index 42e25711c..edec732a2 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp +++ b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp @@ -52,9 +52,9 @@ bool AccessibilityUIElement::isValid() const { return m_element; } - + // Unsupported methods on various platforms. As they're implemented on other platforms this list should be modified. -#if !PLATFORM(MAC) && !PLATFORM(GTK) +#if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL) AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement) { } AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement&) { } AccessibilityUIElement::~AccessibilityUIElement() { } diff --git a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h index 551f59174..2da56c3d8 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h +++ b/Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h @@ -49,7 +49,7 @@ typedef struct objc_object* PlatformUIElement; #include <oleacc.h> typedef COMPtr<IAccessible> PlatformUIElement; -#elif PLATFORM(GTK) +#elif PLATFORM(GTK) || PLATFORM(EFL) #include <atk/atk.h> typedef AtkObject* PlatformUIElement; #else @@ -245,7 +245,7 @@ private: void getDocumentLinks(Vector<RefPtr<AccessibilityUIElement> >&); #endif -#if PLATFORM(MAC) || PLATFORM(GTK) +#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(EFL) void getChildren(Vector<RefPtr<AccessibilityUIElement> >&); void getChildrenWithRange(Vector<RefPtr<AccessibilityUIElement> >&, unsigned location, unsigned length); #endif diff --git a/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp b/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp index 0bfe9ac96..0083e3544 100644 --- a/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp +++ b/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp @@ -31,7 +31,6 @@ #include "InjectedBundlePage.h" #include <JavaScriptCore/JSStringRef.h> #include <atk/atk.h> -#include <gtk/gtk.h> #include <wtf/Assertions.h> #include <wtf/gobject/GOwnPtr.h> #include <wtf/gobject/GRefPtr.h> diff --git a/Tools/WebKitTestRunner/PlatformEfl.cmake b/Tools/WebKitTestRunner/PlatformEfl.cmake index 1c6947258..39c68a975 100644 --- a/Tools/WebKitTestRunner/PlatformEfl.cmake +++ b/Tools/WebKitTestRunner/PlatformEfl.cmake @@ -21,7 +21,7 @@ LIST(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES ${TOOLS_DIR}/DumpRenderTree/efl/ ${WEBKIT2_DIR}/UIProcess/API/efl "${WTF_DIR}/wtf/gobject" - + ${ATK_INCLUDE_DIRS} ${CAIRO_INCLUDE_DIRS} ${ECORE_INCLUDE_DIRS} ${ECORE_EVAS_INCLUDE_DIRS} @@ -31,6 +31,7 @@ LIST(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES ) LIST(APPEND WebKitTestRunner_LIBRARIES + ${ATK_LIBRARIES} ${CAIRO_LIBRARIES} ${ECORE_LIBRARIES} ${ECORE_EVAS_LIBRARIES} @@ -55,6 +56,8 @@ ENDIF () LIST(APPEND WebKitTestRunnerInjectedBundle_SOURCES ${TOOLS_DIR}/DumpRenderTree/efl/FontManagement.cpp + ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityControllerAtk.cpp + ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityUIElementAtk.cpp ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/ActivateFontsEfl.cpp ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/InjectedBundleEfl.cpp ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/TestRunnerEfl.cpp |