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

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

Issue 23534036: Roll IDL files forward (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « core/scripts/make_token_matcher.py ('k') | core/svg/SVGElementInstance.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% from "macros.tmpl" import license -%} 1 {% from "macros.tmpl" import license -%}
2 {{ license() }} 2 {{ license() }}
3 3
4 [ 4 [
5 ] interface InternalRuntimeFlags { 5 ] interface InternalRuntimeFlags {
6 {%- for feature in features if not feature.custom %} 6 {%- for feature in features if not feature.custom %}
7 {#- 7 {#-
8 Currently assuming that runtime flags cannot be changed after startup 8 Currently assuming that runtime flags cannot be changed after startup
9 it's possible that some can be and should be conditionally readonly. 9 it's possible that some can be and should be conditionally readonly.
10 #} 10 #}
11 {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%} 11 {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%}
12 {% if feature.writeable %}
13 attribute boolean {{feature.first_lowered_name}}Enabled;
14 {% else %}
12 readonly attribute boolean {{feature.first_lowered_name}}Enabled; 15 readonly attribute boolean {{feature.first_lowered_name}}Enabled;
16 {% endif %}
13 {%- endfor %} 17 {%- endfor %}
14 }; 18 };
15
OLDNEW
« no previous file with comments | « core/scripts/make_token_matcher.py ('k') | core/svg/SVGElementInstance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698