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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2755053002: Generate the storage of pseudoBits and styleType in ComputedStyleBase. (Closed)
Patch Set: Rebase Created 3 years, 9 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 'macros.tmpl' import license, print_if %} 1 {% from 'macros.tmpl' import license, print_if %}
2 {{license()}} 2 {{license()}}
3 3
4 #ifndef ComputedStyleBase_h 4 #ifndef ComputedStyleBase_h
5 #define ComputedStyleBase_h 5 #define ComputedStyleBase_h
6 6
7 #include "core/ComputedStyleBaseConstants.h" 7 #include "core/style/ComputedStyleConstants.h"
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 {% for path in include_paths %} 9 {% for path in include_paths %}
10 #include "{{path}}" 10 #include "{{path}}"
11 {% endfor %} 11 {% endfor %}
12 12
13 {# Each field template has macros that we can call to generate specific 13 {# Each field template has macros that we can call to generate specific
14 aspects of the field (e.g. getters, setters). 14 aspects of the field (e.g. getters, setters).
15 #} 15 #}
16 {% import 'fields/keyword.tmpl' as keyword %} 16 {% import 'fields/keyword.tmpl' as keyword %}
17 {% import 'fields/flag.tmpl' as flag %} 17 {% import 'fields/flag.tmpl' as flag %}
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // Storage. 90 // Storage.
91 {% for field in fields %} 91 {% for field in fields %}
92 unsigned {{field.name}} : {{field.size}}; // {{field.type_name}} 92 unsigned {{field.name}} : {{field.size}}; // {{field.type_name}}
93 {% endfor %} 93 {% endfor %}
94 }; 94 };
95 95
96 } // namespace blink 96 } // namespace blink
97 97
98 #endif // ComputedStyleBase_h 98 #endif // ComputedStyleBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698