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

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

Issue 21625003: StyleBuilder should not know about StyleResolver. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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;
8 class StyleResolverState; 7 class StyleResolverState;
9 8
10 class StyleBuilderFunctions { 9 class StyleBuilderFunctions {
11 public: 10 public:
12 11
13 {%- for property_id, property in properties.items() if not property.use_handlers _for %} 12 {%- for property_id, property in properties.items() if not property.use_handlers _for %}
14 {% call wrap_with_condition(property.condition) %} 13 {% call wrap_with_condition(property.condition) %}
15 static void applyInitial{{property_id}}(StyleResolver*, StyleResolverState&) ; 14 static void applyInitial{{property_id}}(StyleResolverState&);
16 static void applyInherit{{property_id}}(StyleResolver*, StyleResolverState&) ; 15 static void applyInherit{{property_id}}(StyleResolverState&);
17 static void applyValue{{property_id}}(StyleResolver*, StyleResolverState&, C SSValue*); 16 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*);
18 {%- endcall %} 17 {%- endcall %}
19 {%- endfor %} 18 {%- endfor %}
20 19
21 }; 20 };
22 21
23 } // namespace WebCore 22 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698