summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h')
-rw-r--r--Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h b/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
index 6732cb1f0..36065c82a 100644
--- a/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
+++ b/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
@@ -194,6 +194,14 @@ public:
#if ENABLE(SHADOW_DOM)
static bool shadowDOMEnabled() { return isShadowDOMEnabled; }
static void setShadowDOMEnabled(bool isEnabled) { isShadowDOMEnabled = isEnabled; }
+
+ static bool multipleShadowSubtreesEnabled() { return isMultipleShadowSubtreesEnabled; }
+ static void setMultipleShadowSubtreesEnabled(bool isEnabled) { isMultipleShadowSubtreesEnabled = isEnabled; }
+#endif
+
+#if ENABLE(STYLE_SCOPED)
+ static bool styleScopedEnabled() { return isStyleScopedEnabled; }
+ static void setStyleScopedEnabled(bool isEnabled) { isStyleScopedEnabled = isEnabled; }
#endif
private:
@@ -255,6 +263,11 @@ private:
#if ENABLE(SHADOW_DOM)
static bool isShadowDOMEnabled;
+ static bool isMultipleShadowSubtreesEnabled;
+#endif
+
+#if ENABLE(STYLE_SCOPED)
+ static bool isStyleScopedEnabled;
#endif
};