Index: Source/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
diff --git a/Source/core/scripts/templates/InternalRuntimeFlags.idl.tmpl b/Source/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..31a4bfd981b77a41572709c14717b19550815809 |
--- /dev/null |
+++ b/Source/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
@@ -0,0 +1,16 @@ |
+{% from "macros.tmpl" import license -%} |
+{{ license() }} |
+ |
+[ |
+ ImplementationLacksVTable |
+] interface InternalRuntimeFlags { |
+{%- for feature in features if not feature.custom %} |
+{#- |
+ Currently assuming that runtime flags cannot be changed after startup |
+ it's possible that some can be and should be conditionally readonly. |
+#} |
+ {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%} |
+ readonly attribute boolean {{feature.first_lowered_name}}Enabled; |
+{%- endfor %} |
+}; |
+ |