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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/fields/monotonic_flag.tmpl

Issue 2786883002: Generate subgroup StyleSurroundData in ComputedStyle. (Closed)
Patch Set: Rebase Created 3 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
1 {% import 'fields/base.tmpl' as base %} 1 {% import 'fields/base.tmpl' as base %}
2 {% from 'fields/field.tmpl' import encode %} 2 {% from 'fields/field.tmpl' import encode, setter_expression %}
3 3
4 {% macro decl_public_methods(field) %} 4 {% macro decl_public_methods(field) %}
5 {{base.decl_getter_method(field)}} 5 {{base.decl_getter_method(field)}}
6 void {{field.setter_method_name}}() { 6 void {{field.setter_method_name}}() {
7 {{field.name}} = {{encode(field, "true")}}; 7 {{setter_expression(field)}} = {{encode(field, "true")}};
8 } 8 }
9 {% endmacro %} 9 {% endmacro %}
10 10
11 {% macro decl_protected_methods(field) -%} 11 {% macro decl_protected_methods(field) -%}
12 {{base.decl_internal_setter_method(field)}} 12 {{base.decl_internal_setter_method(field)}}
13 {%- endmacro %} 13 {%- endmacro %}
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698