diff options
Diffstat (limited to 'src/core/profile_adapter.h')
-rw-r--r-- | src/core/profile_adapter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h index 480ca61f6..1aff145b2 100644 --- a/src/core/profile_adapter.h +++ b/src/core/profile_adapter.h @@ -76,6 +76,7 @@ class ProfileAdapterClient; class ProfileQt; class UserResourceControllerHost; class VisitedLinksManagerQt; +class WebContentsAdapterClient; class QWEBENGINECORE_PRIVATE_EXPORT ProfileAdapter : public QObject { @@ -133,6 +134,9 @@ public: void setSpellCheckEnabled(bool enabled); bool isSpellCheckEnabled() const; + void addWebContentsAdapterClient(WebContentsAdapterClient *client); + void removeWebContentsAdapterClient(WebContentsAdapterClient *client); + // KEEP IN SYNC with API or add mapping layer enum HttpCacheType { MemoryHttpCache = 0, @@ -237,6 +241,7 @@ private: QHash<QByteArray, QSharedPointer<UserNotificationController>> m_persistentNotifications; QList<ProfileAdapterClient*> m_clients; + QVector<WebContentsAdapterClient *> m_webContentsAdapterClients; int m_httpCacheMaxSize; int m_pageRequestInterceptors; QrcUrlSchemeHandler m_qrcHandler; |