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

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

Issue 61753010: Move CSSAnimationData and CSSAnimationDataList to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | Source/core/animation/AnimatableVisibility.h » ('j') | 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 lower_first -%} 1 {% from "macros.tmpl" import lower_first -%}
2 2
3 {# 3 {#
4 This file is for property handlers which use the templating engine to 4 This file is for property handlers which use the templating engine to
5 reduce (handwritten) code duplication. 5 reduce (handwritten) code duplication.
6 6
7 The `properties' dict can be used to access a property's parameters in 7 The `properties' dict can be used to access a property's parameters in
8 jinja2 templates (i.e. setter, getter, initial, type_name) 8 jinja2 templates (i.e. setter, getter, initial, type_name)
9 -#} 9 -#}
10 10
11 #include "config.h" 11 #include "config.h"
12 #include "StyleBuilderFunctions.h" 12 #include "StyleBuilderFunctions.h"
13 13
14 #include "CSSValueKeywords.h" 14 #include "CSSValueKeywords.h"
15 #include "core/css/BasicShapeFunctions.h" 15 #include "core/css/BasicShapeFunctions.h"
16 #include "core/css/CSSPrimitiveValueMappings.h" 16 #include "core/css/CSSPrimitiveValueMappings.h"
17 #include "core/css/Pair.h" 17 #include "core/css/Pair.h"
18 #include "core/css/resolver/StyleResolverState.h" 18 #include "core/css/resolver/StyleResolverState.h"
19 #include "core/platform/animation/CSSAnimationDataList.h" 19 #include "platform/animation/CSSAnimationDataList.h"
20 20
21 21
22 {%- macro declare_initial_function(property_id) -%} 22 {%- macro declare_initial_function(property_id) -%}
23 void StyleBuilderFunctions::applyInitial{{property_id}}(StyleResolverState& stat e) 23 void StyleBuilderFunctions::applyInitial{{property_id}}(StyleResolverState& stat e)
24 {%- endmacro %} 24 {%- endmacro %}
25 25
26 {%- macro declare_inherit_function(property_id) -%} 26 {%- macro declare_inherit_function(property_id) -%}
27 void StyleBuilderFunctions::applyInherit{{property_id}}(StyleResolverState& stat e) 27 void StyleBuilderFunctions::applyInherit{{property_id}}(StyleResolverState& stat e)
28 {%- endmacro %} 28 {%- endmacro %}
29 29
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 } else if (value->isImageValue()) { 510 } else if (value->isImageValue()) {
511 {{ set_value(property) }}(ShapeValue::createImageValue(state.styleImage( {{property_id}}, value))); 511 {{ set_value(property) }}(ShapeValue::createImageValue(state.styleImage( {{property_id}}, value)));
512 } 512 }
513 } 513 }
514 {%- endmacro %} 514 {%- endmacro %}
515 515
516 {{ apply_value_shape("CSSPropertyShapeInside") }} 516 {{ apply_value_shape("CSSPropertyShapeInside") }}
517 {{ apply_value_shape("CSSPropertyShapeOutside") }} 517 {{ apply_value_shape("CSSPropertyShapeOutside") }}
518 518
519 } // namespace WebCore 519 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/animation/AnimatableVisibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698