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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl

Issue 2829213002: Clean up ComputedStyle field templates. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
index 25c16018a46461948b364cedfcdb9b83e8a97a71..69259e97cd3699273544b43ceaccd3d77238b880 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
@@ -1,7 +1,12 @@
{% import 'fields/base.tmpl' as base %}
+
{% macro decl_public_methods(field) -%}
-{{ base.decl_public_methods(field) }}
+{{base.decl_initial_method(field)}}
+{{base.decl_getter_method(field)}}
+{{base.decl_setter_method(field)}}
+{{base.decl_resetter_method(field)}}
{# TODO(shend): Add special keyword methods like cardinality #}
{%- endmacro %}
+
{% macro decl_protected_methods(field) -%}
{%- endmacro %}

Powered by Google App Engine
This is Rietveld 408576698