diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-10-15 13:53:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-12-02 15:01:47 +0000 |
commit | 03301c0fbdf034fb987e1c1ed1bec7c206dcd27e (patch) | |
tree | deb25e6e6389f6237fac50ad2cd5e17da8501edf /src/core/web_engine_settings.h | |
parent | 11756734c84038b407bddc8524cdf488efbe846c (diff) |
Add WebGL, WebAudio and Accelerated2dCanvas settings
These settings were in QtWebKit and are easily added in QtWebEngine.
Without the preferences the same could be achieved using command line
flags.
The defaults are calculated to match what is set in RenderViewHostImpl.
Change-Id: I0c80507574ebc3898fc409e47194246fb00abc75
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/web_engine_settings.h')
-rw-r--r-- | src/core/web_engine_settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/web_engine_settings.h b/src/core/web_engine_settings.h index 4104ec67c..86f8762cb 100644 --- a/src/core/web_engine_settings.h +++ b/src/core/web_engine_settings.h @@ -73,7 +73,10 @@ public: ErrorPageEnabled, PluginsEnabled, FullScreenSupportEnabled, - ScreenCaptureEnabled + ScreenCaptureEnabled, + WebGLEnabled, + WebAudioEnabled, + Accelerated2dCanvasEnabled }; // Must match the values from the public API in qwebenginesettings.h. |