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

Side by Side Diff: Source/core/scripts/templates/InternalRuntimeFlags.idl.tmpl

Issue 15095002: Use jinja2 for make_runtime_features and make_internal_runtime_flags (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Updated for Eric's suggestions Created 7 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 {% from "macros.tmpl" import license -%}
2 {{ license() }}
3
4 [
5 ImplementationLacksVTable
6 ] interface InternalRuntimeFlags {
7 {%- for feature in features if not feature.custom %}
8 {#-
9 Currently assuming that runtime flags cannot be changed after startup
10 it's possible that some can be and should be conditionally readonly.
11 #}
12 {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%}
13 readonly attribute boolean {{feature.first_lowered_name}}Enabled;
14 {%- endfor %}
15 };
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698