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

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

Issue 2826653002: Generate getters/setters for some fields on groups in ComputedStyle (Closed)
Patch Set: Add new macro argument_type to be used in setter macros 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 3d6cb3292972713ae601c82a4cc74dc77b9d3a77..25c16018a46461948b364cedfcdb9b83e8a97a71 100644
--- a/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/keyword.tmpl
@@ -1,5 +1,7 @@
{% import 'fields/base.tmpl' as base %}
-{% macro decl_methods(field) -%}
-{{ base.decl_methods(field) }}
+{% macro decl_public_methods(field) -%}
+{{ base.decl_public_methods(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