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

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

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 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
1 {% from 'macros.tmpl' import license %} 1 {% from 'macros.tmpl' import license %}
2 {{license()}} 2 {{license()}}
3 3
4 #ifndef StyleBuilderFunctions_h 4 #ifndef StyleBuilderFunctions_h
5 #define StyleBuilderFunctions_h 5 #define StyleBuilderFunctions_h
6 6
7 #include "core/css/resolver/StyleBuilderConverter.h" 7 #include "core/css/resolver/StyleBuilderConverter.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 class CSSValue; 11 class CSSValue;
12 class StyleResolverState; 12 class StyleResolverState;
13 13
14 class StyleBuilderFunctions { 14 class StyleBuilderFunctions {
15 public: 15 public:
16 16
17 {% for property_id, property in properties.items() 17 {% for property_id, property in properties.items()
18 if property.should_declare_functions %} 18 if property.should_declare_functions %}
19 static void applyInitial{{property_id}}(StyleResolverState&); 19 static void applyInitial{{property_id}}(StyleResolverState&);
20 static void applyInherit{{property_id}}(StyleResolverState&); 20 static void applyInherit{{property_id}}(StyleResolverState&);
21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); 21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue);
22 22
23 {% endfor %} 23 {% endfor %}
24 }; 24 };
25 25
26 } // namespace blink 26 } // namespace blink
27 27
28 #endif 28 #endif
OLDNEW
« no previous file with comments | « Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | Source/core/animation/AnimationInputHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698