RADLib
RADical C++ application framework
RADWeb::RADWebSettings Struct Reference

Browser settings that can be applied at runtime. More...

#include <RADWeb.h>

Public Attributes

bool javaScriptEnabled = true
 Enable JavaScript execution. More...
 
bool imagesEnabled = true
 Enable image loading. More...
 
bool developerExtrasEnabled = true
 Enable WebKit developer extras. More...
 
bool webGlEnabled = true
 Enable WebGL where supported. More...
 
bool hardwareAccelerationEnabled = true
 Request hardware acceleration where supported. More...
 
bool mediaPlaybackRequiresUserGesture = false
 Require a user gesture before media playback. More...
 
bool sessionRestoreEnabled = true
 Restore prior tabs on startup when available. More...
 
RADWebCookiePolicy cookiePolicy = RADWebCookiePolicy::AcceptNoThirdParty
 Cookie policy for the WebKit cookie manager. More...
 
RADWebPermissionPolicy permissionPolicy = RADWebPermissionPolicy::Ask
 Default permission policy. More...
 
std::string downloadsDirectory
 Directory used for downloads. More...
 

Detailed Description

Browser settings that can be applied at runtime.

Member Data Documentation

◆ cookiePolicy

RADWebCookiePolicy RADWeb::RADWebSettings::cookiePolicy = RADWebCookiePolicy::AcceptNoThirdParty

Cookie policy for the WebKit cookie manager.

◆ developerExtrasEnabled

bool RADWeb::RADWebSettings::developerExtrasEnabled = true

Enable WebKit developer extras.

◆ downloadsDirectory

std::string RADWeb::RADWebSettings::downloadsDirectory

Directory used for downloads.

◆ hardwareAccelerationEnabled

bool RADWeb::RADWebSettings::hardwareAccelerationEnabled = true

Request hardware acceleration where supported.

◆ imagesEnabled

bool RADWeb::RADWebSettings::imagesEnabled = true

Enable image loading.

◆ javaScriptEnabled

bool RADWeb::RADWebSettings::javaScriptEnabled = true

Enable JavaScript execution.

◆ mediaPlaybackRequiresUserGesture

bool RADWeb::RADWebSettings::mediaPlaybackRequiresUserGesture = false

Require a user gesture before media playback.

◆ permissionPolicy

RADWebPermissionPolicy RADWeb::RADWebSettings::permissionPolicy = RADWebPermissionPolicy::Ask

Default permission policy.

◆ sessionRestoreEnabled

bool RADWeb::RADWebSettings::sessionRestoreEnabled = true

Restore prior tabs on startup when available.

◆ webGlEnabled

bool RADWeb::RADWebSettings::webGlEnabled = true

Enable WebGL where supported.


The documentation for this struct was generated from the following file: