summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-10-22 15:28:16 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-09 16:10:22 +0000
commit4a85e3dcca015b30dff457dc41712fb6d0b437e9 (patch)
tree2bca52844136e9791a6a861267be61b61eada244 /src/core/web_engine_context.h
parentcffba828bc53fab284f030b8131ea47913108618 (diff)
Make AccessiblityActivationObserver separate of RWHV
It is a global control anyway, and with future Chromium headers, there are conflicts with qaccessibility.h. Change-Id: Ife43340684b8b9498b1f4cd3f6fbe450d88794ec Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/web_engine_context.h')
-rw-r--r--src/core/web_engine_context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/web_engine_context.h b/src/core/web_engine_context.h
index 647f28f55..cf6834ec4 100644
--- a/src/core/web_engine_context.h
+++ b/src/core/web_engine_context.h
@@ -72,9 +72,10 @@ QT_FORWARD_DECLARE_CLASS(QObject)
namespace QtWebEngineCore {
-class ProfileAdapter;
+class AccessibilityActivationObserver;
class ContentMainDelegateQt;
class DevToolsServerQt;
+class ProfileAdapter;
bool usingSoftwareDynamicGL();
@@ -116,6 +117,9 @@ private:
std::unique_ptr<DevToolsServerQt> m_devtoolsServer;
std::unique_ptr<gpu::SyncPointManager> m_syncPointManager;
QVector<ProfileAdapter*> m_profileAdapters;
+#ifndef QT_NO_ACCESSIBILITY
+ std::unique_ptr<AccessibilityActivationObserver> m_accessibilityActivationObserver;
+#endif
#if QT_CONFIG(webengine_printing_and_pdf)
std::unique_ptr<printing::PrintJobManager> m_printJobManager;