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_delegate_qt.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_delegate_qt.h')
-rw-r--r-- | src/core/web_contents_delegate_qt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h index 44be77190..ebdee4cde 100644 --- a/src/core/web_contents_delegate_qt.h +++ b/src/core/web_contents_delegate_qt.h @@ -55,6 +55,7 @@ namespace content { class JavaScriptDialogManager; class WebContents; } +struct WebPreferences; class WebContentsAdapterClient; class WebContentsDelegateQt : public content::WebContentsDelegate @@ -86,6 +87,8 @@ public: virtual void UpdateTargetURL(content::WebContents *source, int32 page_id, const GURL &url) Q_DECL_OVERRIDE; virtual void DidNavigateAnyFrame(const content::LoadCommittedDetails&, const content::FrameNavigateParams& params) Q_DECL_OVERRIDE; + void overrideWebPreferences(content::WebContents *, WebPreferences*); + private: WebContentsAdapterClient *m_viewClient; QString m_lastSearchedString; |