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

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

Issue 26414004: Move core/scripts to build/scripts so that platform can use them. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
(Empty)
1 {% from "macros.tmpl" import wrap_with_condition, license -%}
2 {{ license() }}
3
4 #ifndef StyleBuilderFunctions_h
5 #define StyleBuilderFunctions_h
6
7 #include "core/css/resolver/StyleBuilderCustom.h"
8
9 namespace WebCore {
10
11 class CSSValue;
12 class StyleResolverState;
13
14 class StyleBuilderFunctions {
15 public:
16
17 {%- for property_id, property in properties.items() if not property.use_handlers _for %}
18 {% call wrap_with_condition(property.condition) %}
19 static void applyInitial{{property_id}}(StyleResolverState&);
20 static void applyInherit{{property_id}}(StyleResolverState&);
21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*);
22 {%- endcall %}
23 {%- endfor %}
24
25 };
26
27 } // namespace WebCore
28
29 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698