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

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

Issue 2008263002: Remove unnecessary includes from ComputedStyle.h and from its includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('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 license %} 1 {% from 'macros.tmpl' import license %}
2 {# 2 {#
3 This file is for property handlers which use the templating engine to 3 This file is for property handlers which use the templating engine to
4 reduce (handwritten) code duplication. 4 reduce (handwritten) code duplication.
5 5
6 The `properties' dict can be used to access a property's parameters in 6 The `properties' dict can be used to access a property's parameters in
7 jinja2 templates (i.e. setter, getter, initial, type_name) 7 jinja2 templates (i.e. setter, getter, initial, type_name)
8 #} 8 #}
9 #include "StyleBuilderFunctions.h" 9 #include "StyleBuilderFunctions.h"
10 10
11 #include "CSSValueKeywords.h" 11 #include "CSSValueKeywords.h"
12 #include "core/animation/css/CSSAnimationData.h"
12 #include "core/css/BasicShapeFunctions.h" 13 #include "core/css/BasicShapeFunctions.h"
13 #include "core/css/CSSContentDistributionValue.h" 14 #include "core/css/CSSContentDistributionValue.h"
14 #include "core/css/CSSCustomIdentValue.h" 15 #include "core/css/CSSCustomIdentValue.h"
15 #include "core/css/CSSPrimitiveValueMappings.h" 16 #include "core/css/CSSPrimitiveValueMappings.h"
16 #include "core/css/CSSURIValue.h" 17 #include "core/css/CSSURIValue.h"
17 #include "core/css/CSSValuePair.h" 18 #include "core/css/CSSValuePair.h"
18 #include "core/css/resolver/StyleResolverState.h" 19 #include "core/css/resolver/StyleResolverState.h"
19 20
20 {% macro declare_initial_function(property_id) %} 21 {% macro declare_initial_function(property_id) %}
21 void StyleBuilderFunctions::applyInitial{{property_id}}(StyleResolverState& stat e) 22 void StyleBuilderFunctions::applyInitial{{property_id}}(StyleResolverState& stat e)
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 paintType = url.isEmpty() ? SVG_PAINTTYPE_RGBCOLOR : SVG_PAINTTYPE_URI_R GBCOLOR; 532 paintType = url.isEmpty() ? SVG_PAINTTYPE_RGBCOLOR : SVG_PAINTTYPE_URI_R GBCOLOR;
532 } 533 }
533 {{set_value(property)}}(paintType, color, url, 534 {{set_value(property)}}(paintType, color, url,
534 state.applyPropertyToRegularStyle(), 535 state.applyPropertyToRegularStyle(),
535 state.applyPropertyToVisitedLinkStyle()); 536 state.applyPropertyToVisitedLinkStyle());
536 } 537 }
537 {% endmacro %} 538 {% endmacro %}
538 {{apply_svg_paint('CSSPropertyFill', 'FillPaint')}} 539 {{apply_svg_paint('CSSPropertyFill', 'FillPaint')}}
539 {{apply_svg_paint('CSSPropertyStroke', 'StrokePaint')}} 540 {{apply_svg_paint('CSSPropertyStroke', 'StrokePaint')}}
540 } // namespace blink 541 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698