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

Unified 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, 4 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
« no previous file with comments | « core/scripts/make_token_matcher.py ('k') | core/svg/SVGElementInstance.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/scripts/templates/InternalRuntimeFlags.idl.tmpl
diff --git a/core/scripts/templates/InternalRuntimeFlags.idl.tmpl b/core/scripts/templates/InternalRuntimeFlags.idl.tmpl
index c73ce7a8f9bf2037e36166d98d5acb48654c1d11..f0161f97e55b763e88190080cdacbd89f99c2924 100644
--- a/core/scripts/templates/InternalRuntimeFlags.idl.tmpl
+++ b/core/scripts/templates/InternalRuntimeFlags.idl.tmpl
@@ -9,7 +9,10 @@
it's possible that some can be and should be conditionally readonly.
#}
{% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%}
+ {% if feature.writeable %}
+ attribute boolean {{feature.first_lowered_name}}Enabled;
+ {% else %}
readonly attribute boolean {{feature.first_lowered_name}}Enabled;
+ {% endif %}
{%- endfor %}
};
-
« 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