diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-05-15 16:46:38 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-08-09 12:01:37 +0200 |
commit | 37fcb1517cf41066215a3c552c2021773bb1fd63 (patch) | |
tree | 59183ce5ca3c2436cbf299e897c528746adaec75 /src/core/web_contents_adapter_client.h | |
parent | 3860d79c0b0d1c623746e40b1d0234674535cc90 (diff) |
Ground work for Settings/Preferences
Core interface to expose toggling some of the WebPreferences
for now and most probably some of the WebRuntimeFeatures soon.
The whole dummy settings business is meant to keep things
from breaking too much when bisecting, because it is assumed
that there are always valid settings for a given adapterClient.
Change-Id: Ic0a62bcb5af8c0254436dc770b43cde5016c3bbd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r-- | src/core/web_contents_adapter_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h index 2dffb8fb5..e0ff25124 100644 --- a/src/core/web_contents_adapter_client.h +++ b/src/core/web_contents_adapter_client.h @@ -58,6 +58,7 @@ class RenderWidgetHostViewQtDelegate; class RenderWidgetHostViewQtDelegateClient; class WebContentsAdapter; class WebContentsDelegateQt; +class WebEngineSettings; // FIXME: make this ref-counted and implicitely shared and expose as public API maybe ? class WebEngineContextMenuData { @@ -175,6 +176,7 @@ public: virtual void javaScriptConsoleMessage(JavaScriptConsoleMessageLevel level, const QString& message, int lineNumber, const QString& sourceID) = 0; virtual void authenticationRequired(const QUrl &requestUrl, const QString &realm, bool isProxy, const QString &challengingHost, QString *outUser, QString *outPassword) = 0; virtual void runMediaAccessPermissionRequest(const QUrl &securityOrigin, MediaRequestFlags requestFlags) = 0; + virtual WebEngineSettings *webEngineSettings() const = 0; }; #endif // WEB_CONTENTS_ADAPTER_CLIENT_H |