summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/web_engine_settings.h')
-rw-r--r--src/core/web_engine_settings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/web_engine_settings.h b/src/core/web_engine_settings.h
index ea647a61f..5881303a2 100644
--- a/src/core/web_engine_settings.h
+++ b/src/core/web_engine_settings.h
@@ -85,7 +85,8 @@ public:
AllowRunningInsecureContent,
AllowGeolocationOnInsecureOrigins,
AllowWindowActivationFromJavaScript,
- ShowScrollBars
+ ShowScrollBars,
+ PlaybackRequiresUserGesture,
};
// Must match the values from the public API in qwebenginesettings.h.
@@ -125,6 +126,7 @@ public:
void setAttribute(Attribute, bool on);
bool testAttribute(Attribute) const;
void resetAttribute(Attribute);
+ bool isAttributeExplicitlySet(Attribute) const;
void setFontFamily(FontFamily, const QString &);
QString fontFamily(FontFamily);