diff options
| author | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-24 13:09:44 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-24 13:09:44 +0200 |
| commit | dc6262b587c71c14e30d93e57ed812e36a79a33e (patch) | |
| tree | 03ff986e7aa38bba0c0ef374f44fda52aff93f01 /Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp | |
| parent | 02e1fbbefd49229b102ef107bd70ce974a2d85fb (diff) | |
| download | qtwebkit-dc6262b587c71c14e30d93e57ed812e36a79a33e.tar.gz | |
Imported WebKit commit 6339232fec7f5d9984a33388aecfd2cbc7832053 (http://svn.webkit.org/repository/webkit/trunk@129343)
New snapshot with build fixes for latest qtbase
Diffstat (limited to 'Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp')
| -rw-r--r-- | Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp b/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp index afe4a569c..f1615d4ac 100644 --- a/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp +++ b/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp @@ -28,6 +28,7 @@ #include "config.h" #include "PlatformWebView.h" +#include <WebKit2/WKViewPrivate.h> #include <gtk/gtk.h> namespace WTR { @@ -70,6 +71,8 @@ WKPageRef PlatformWebView::page() void PlatformWebView::focus() { + WKViewSetFocus(m_view, true); + setWindowIsKey(true); } WKRect PlatformWebView::windowFrame() |
