Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl

Issue 1895293002: Test fragment scrolling and history restoration interaction w/ scroll anchoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove .cpp.tmpl and other review comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl b/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
index cfdd2c0d057bb5a66446f65b52a0ef0b1421cd29..16e4693ea7fd77427af2fa39fcba3c0bcf5f734b 100644
--- a/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
@@ -5,11 +5,11 @@
GarbageCollected,
] interface InternalRuntimeFlags {
{% for feature in standard_features %}
-{#
- 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 -%}
+ {% if feature.settable_from_internals %}
+ attribute boolean {{feature.first_lowered_name}}Enabled;
+ {% else %}
readonly attribute boolean {{feature.first_lowered_name}}Enabled;
+ {% endif %}
{% endfor %}
};

Powered by Google App Engine
This is Rietveld 408576698