summaryrefslogtreecommitdiffstats
path: root/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp')
-rw-r--r--Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp b/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
index 510b0465e..ea322093c 100644
--- a/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
+++ b/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
@@ -30,12 +30,12 @@
#include "qquickwebpage_p.h"
#include "qquickwebview_p.h"
-#include <QCoreApplication>
+#include <QApplication>
#include <QEventLoop>
#include <QQmlProperty>
#include <QtQuick/QQuickView>
#include <QtQuick/private/qquickwindow_p.h>
-#include <WebKit2/WKImageQt.h>
+#include <WebKit/WKImageQt.h>
#include <qpa/qwindowsysteminterface.h>
namespace WTR {
@@ -107,6 +107,11 @@ PlatformWebView::~PlatformWebView()
m_modalEventLoop->exit();
}
+void PlatformWebView::setWindowIsKey(bool isKey)
+{
+ m_windowIsKey = isKey;
+}
+
void PlatformWebView::resizeTo(unsigned width, unsigned height)
{
// If we do not have a platform window we will never get the necessary