diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2014-01-31 17:24:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-10 21:36:04 +0100 |
commit | 331b7fa11c84107e3300b14ece5fc5991cfc35e9 (patch) | |
tree | 6f47e11a32de6ef190667d0c12d92f9649e16b03 /src/core/web_contents_adapter_client.h | |
parent | 28acdd2ad14d3a5fecc51b5b4bc9d05b6f80dbb5 (diff) |
Add TakeFocus in WebContentsViewQt for passing on tab focus.
Chromium calls RenderViewHostDelegate::TakeFocus when the
last focusable item within the page was reached.
We then have to move the focus on to the next/previous
QQuickItem.
Change-Id: Id0128053602ff1220c1bced1b218050b66fef659
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r-- | src/core/web_contents_adapter_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h index 598840f1d..077e21500 100644 --- a/src/core/web_contents_adapter_client.h +++ b/src/core/web_contents_adapter_client.h @@ -132,6 +132,7 @@ public: virtual void didRunJavaScript(const QVariant& result, quint64 requestId) = 0; virtual void didFetchDocumentMarkup(const QString& result, quint64 requestId) = 0; virtual void didFetchDocumentInnerText(const QString& result, quint64 requestId) = 0; + virtual void passOnFocus(bool reverse) = 0; virtual void javaScriptConsoleMessage(int level, const QString& message, int lineNumber, const QString& sourceID) = 0; }; |