Changeset View
Changeset View
Standalone View
Standalone View
src/articleviewer-ng/webengine/articleviewerwebengine.h
Show All 20 Lines | |||||
21 | #define ARTICLEVIEWERWEBENGINE_H | 21 | #define ARTICLEVIEWERWEBENGINE_H | ||
22 | 22 | | |||
23 | #include <WebEngineViewer/WebEngineView> | 23 | #include <WebEngineViewer/WebEngineView> | ||
24 | #include <openurlrequest.h> | 24 | #include <openurlrequest.h> | ||
25 | #include <shareserviceurlmanager.h> | 25 | #include <shareserviceurlmanager.h> | ||
26 | #include <MessageViewer/ViewerPluginInterface> | 26 | #include <MessageViewer/ViewerPluginInterface> | ||
27 | #include <WebEngineViewer/CheckPhishingUrlJob> | 27 | #include <WebEngineViewer/CheckPhishingUrlJob> | ||
28 | 28 | | |||
29 | class QWebEngineUrlRequestInterceptor; | ||||
29 | class KActionCollection; | 30 | class KActionCollection; | ||
30 | namespace WebEngineViewer { | 31 | namespace WebEngineViewer { | ||
31 | class WebHitTestResult; | 32 | class WebHitTestResult; | ||
32 | class WebEngineAccessKey; | 33 | class WebEngineAccessKey; | ||
33 | class InterceptorManager; | 34 | class InterceptorManager; | ||
34 | } | 35 | } | ||
35 | namespace MessageViewer { | 36 | namespace MessageViewer { | ||
36 | class ViewerPluginToolManager; | 37 | class ViewerPluginToolManager; | ||
▲ Show 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 128 | protected: | |||
133 | QList<QAction *> viewerPluginActionList(MessageViewer::ViewerPluginInterface::SpecificFeatureTypes features); | 134 | QList<QAction *> viewerPluginActionList(MessageViewer::ViewerPluginInterface::SpecificFeatureTypes features); | ||
134 | WebEngineViewer::InterceptorManager *mNetworkAccessManager = nullptr; | 135 | WebEngineViewer::InterceptorManager *mNetworkAccessManager = nullptr; | ||
135 | private: | 136 | private: | ||
136 | void openSafeUrl(const QUrl &url); | 137 | void openSafeUrl(const QUrl &url); | ||
137 | bool urlIsAMalwareButContinue(); | 138 | bool urlIsAMalwareButContinue(); | ||
138 | MousePressedButtonType mLastButtonClicked; | 139 | MousePressedButtonType mLastButtonClicked; | ||
139 | MessageViewer::ViewerPluginToolManager *mViewerPluginToolManager = nullptr; | 140 | MessageViewer::ViewerPluginToolManager *mViewerPluginToolManager = nullptr; | ||
140 | WebEngineViewer::WebEngineAccessKey *mWebEngineViewAccessKey = nullptr; | 141 | WebEngineViewer::WebEngineAccessKey *mWebEngineViewAccessKey = nullptr; | ||
142 | QWebEngineUrlRequestInterceptor *mWebEngineUrlInterceptor = nullptr; | ||||
141 | }; | 143 | }; | ||
142 | } | 144 | } | ||
143 | 145 | | |||
144 | #endif // ARTICLEVIEWERWEBENGINE_H | 146 | #endif // ARTICLEVIEWERWEBENGINE_H |