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

Side by Side Diff: Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl

Issue 16530002: Move Color and FillLayer properties to new StyleBuilder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 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
« no previous file with comments | « Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% from "macros.tmpl" import wrap_with_condition, license -%} 1 {% from "macros.tmpl" import wrap_with_condition, license -%}
2 {{ license() }} 2 {{ license() }}
3 3
4 namespace WebCore { 4 namespace WebCore {
5 5
6 class CSSValue; 6 class CSSValue;
7 class StyleResolver; 7 class StyleResolver;
8 8
9 class StyleBuilderFunctions { 9 class StyleBuilderFunctions {
10 public: 10 public:
11 11
12 {%- for property_id, property in properties.items() %} 12 {%- for property_id, property in properties.items() if not property.use_handlers _for %}
13 {% call wrap_with_condition(property.condition) %} 13 {% call wrap_with_condition(property.condition) %}
14 static void applyInitial{{property_id}}(StyleResolver* styleResolver); 14 static void applyInitial{{property_id}}(StyleResolver* styleResolver);
15 static void applyInherit{{property_id}}(StyleResolver* styleResolver); 15 static void applyInherit{{property_id}}(StyleResolver* styleResolver);
16 static void applyValue{{property_id}}(StyleResolver* styleResolver, CSSValue * value); 16 static void applyValue{{property_id}}(StyleResolver* styleResolver, CSSValue * value);
17 {%- endcall %} 17 {%- endcall %}
18 {%- endfor %} 18 {%- endfor %}
19 19
20 }; 20 };
21 21
22 } // namespace WebCore 22 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698