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

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

Issue 2697953004: Add support for generating external types in ComputedStyleBase. (Closed)
Patch Set: remove unused macro Created 3 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 unified diff | Download patch
OLDNEW
1 {% from 'fields/field.tmpl' import encode %}
1 {% macro decl_methods(field) %} 2 {% macro decl_methods(field) %}
2 bool {{field.getter_method_name}}() const { 3 bool {{field.getter_method_name}}() const {
3 return {{field.name}}; 4 return {{field.name}};
4 } 5 }
5 void {{field.setter_method_name}}() { 6 void {{field.setter_method_name}}() {
6 {{field.name}} = static_cast<unsigned>(true); 7 {{field.name}} = {{encode(field, "true")}};
7 } 8 }
8 {% endmacro %} 9 {% endmacro %}
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698