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

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

Issue 2187493004: Add a generated ComputedStyleBase class that ComputedStyle extends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_visibility_enum_class_rebase
Patch Set: Created 4 years, 4 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
(Empty)
1 {% from 'macros.tmpl' import license %}
2 {{license()}}
3
4 #ifndef BaseComputedStyleConstants_h
5 #define BaseComputedStyleConstants_h
6
7 namespace blink {
8
9 {% for enum_name, enum_values in enums.items() %}
10 enum class {{enum_name}} {
11 {% for enum_value in enum_values %}
12 {{enum_value}},
13 {% endfor %}
14 };
15
16 // TODO(sashab): Remove this and update callsites to use a boolean.
17 enum IsAtShadowBoundary {
18 AtShadowBoundary,
19 NotAtShadowBoundary,
20 };
21
22 {% endfor %}
23 } // namespace blink
24
25 #endif // BaseComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698