Changeset 51901 in webkit
- Timestamp:
- Dec 9, 2009 9:28:21 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51892 r51901 1 2009-12-09 Stephen White <senorblanco@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Enable SVG filters in Chromium build. 6 https://bugs.webkit.org/show_bug.cgi?id=32323 7 8 Covered by SVG filter layout tests. 9 10 * WebCore.gyp/WebCore.gyp: 11 * WebCore.gypi: 12 * bindings/scripts/CodeGeneratorV8.pm: 13 * bindings/v8/DerivedSourcesAllInOne.cpp: 14 * bindings/v8/V8DOMWrapper.cpp: 15 * bindings/v8/V8Index.cpp: 16 * bindings/v8/V8Index.h: 17 1 18 2009-12-09 Oliver Hunt <oliver@apple.com> 2 19 -
trunk/WebCore/WebCore.gyp/WebCore.gyp
r51623 r51901 131 131 '../platform/graphics', 132 132 '../platform/graphics/chromium', 133 '../platform/graphics/filters', 133 134 '../platform/graphics/opentype', 134 135 '../platform/graphics/skia', … … 157 158 '../svg/animation', 158 159 '../svg/graphics', 160 '../svg/graphics/filters', 159 161 '../websockets', 160 162 '../workers', … … 215 217 '<@(webcore_bindings_idl_files)', 216 218 ], 217 'sources/': [218 # SVG_FILTERS only.219 ['exclude', 'svg/SVG(FE|Filter)[^/]*\\.idl$'],220 221 ],222 219 'sources!': [ 223 220 # Custom bindings in bindings/v8/custom exist for these. … … 236 233 '../svg/ElementTimeControl.idl', 237 234 '../svg/SVGAnimatedPathData.idl', 238 '../svg/SVGComponentTransferFunctionElement.idl',239 235 '../svg/SVGExternalResourcesRequired.idl', 240 236 '../svg/SVGFitToViewBox.idl', … … 661 657 ['include', 'loader/appcache/ApplicationCacheHost\.h$'], 662 658 ['include', 'loader/appcache/DOMApplicationCache\.(h|cpp)$'], 663 664 # SVG_FILTERS only.665 ['exclude', '(platform|svg)/graphics/filters/'],666 ['exclude', 'svg/Filter[^/]*\\.cpp$'],667 ['exclude', 'svg/SVG(FE|Filter)[^/]*\\.cpp$'],668 659 669 660 # Exclude some DB-related files. -
trunk/WebCore/WebCore.gypi
r51884 r51901 1976 1976 'platform/graphics/filters/FEGaussianBlur.cpp', 1977 1977 'platform/graphics/filters/FEGaussianBlur.h', 1978 'platform/graphics/filters/Filter.h', 1979 'platform/graphics/filters/FilterEffect.cpp', 1980 'platform/graphics/filters/FilterEffect.h', 1981 'platform/graphics/filters/ImageBufferFilter.cpp', 1982 'platform/graphics/filters/ImageBufferFilter.h', 1978 1983 'platform/graphics/filters/SourceAlpha.cpp', 1979 1984 'platform/graphics/filters/SourceAlpha.h', … … 3220 3225 'svg/graphics/filters/SVGFETurbulence.cpp', 3221 3226 'svg/graphics/filters/SVGFETurbulence.h', 3222 'svg/graphics/filters/SVGFilterEffect.cpp', 3223 'svg/graphics/filters/SVGFilterEffect.h', 3227 'svg/graphics/filters/SVGFilter.cpp', 3228 'svg/graphics/filters/SVGFilter.h', 3229 'svg/graphics/filters/SVGFilterBuilder.cpp', 3230 'svg/graphics/filters/SVGFilterBuilder.h', 3224 3231 'svg/graphics/filters/SVGLightSource.cpp', 3225 3232 'svg/graphics/filters/SVGLightSource.h', … … 3254 3261 'svg/ColorDistance.h', 3255 3262 'svg/ElementTimeControl.h', 3256 'svg/Filter.cpp',3257 'svg/Filter.h',3258 'svg/FilterBuilder.h',3259 'svg/FilterBuilder.cpp',3260 'svg/FilterEffect.cpp',3261 'svg/FilterEffect.h',3262 3263 'svg/GradientAttributes.h', 3263 3264 'svg/LinearGradientAttributes.h', -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r51884 r51901 565 565 566 566 my $getterFunc = $codeGenerator->WK_lcfirst($attrName); 567 $getterFunc .= "Animated" if $codeGenerator->IsSVGAnimatedType($attribute->signature->type); 567 568 if ($codeGenerator->IsSVGAnimatedType($attribute->signature->type)) { 569 # Some SVGFE*Element.idl use 'operator' as attribute name; rewrite as '_operator' to avoid clashes with C/C++ 570 $getterFunc = "_" . $getterFunc if ($attrName =~ /operator/); 571 $getterFunc .= "Animated"; 572 } 568 573 569 574 my $returnType = GetTypeFromSignature($attribute->signature); -
trunk/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp
r51884 r51901 293 293 #include "bindings/V8SVGClipPathElement.cpp" 294 294 #include "bindings/V8SVGColor.cpp" 295 #include "bindings/V8SVGComponentTransferFunctionElement.cpp" 295 296 #include "bindings/V8SVGCursorElement.cpp" 296 297 #include "bindings/V8SVGDefsElement.cpp" … … 302 303 #include "bindings/V8SVGEllipseElement.cpp" 303 304 #include "bindings/V8SVGException.cpp" 305 #include "bindings/V8SVGFEBlendElement.cpp" 306 #include "bindings/V8SVGFEColorMatrixElement.cpp" 307 #include "bindings/V8SVGFEComponentTransferElement.cpp" 308 #include "bindings/V8SVGFECompositeElement.cpp" 309 #include "bindings/V8SVGFEDiffuseLightingElement.cpp" 310 #include "bindings/V8SVGFEDisplacementMapElement.cpp" 311 #include "bindings/V8SVGFEDistantLightElement.cpp" 312 #include "bindings/V8SVGFEFloodElement.cpp" 313 #include "bindings/V8SVGFEFuncAElement.cpp" 314 #include "bindings/V8SVGFEFuncBElement.cpp" 315 #include "bindings/V8SVGFEFuncGElement.cpp" 316 #include "bindings/V8SVGFEFuncRElement.cpp" 317 #include "bindings/V8SVGFEGaussianBlurElement.cpp" 318 #include "bindings/V8SVGFEImageElement.cpp" 319 #include "bindings/V8SVGFEMergeElement.cpp" 320 #include "bindings/V8SVGFEMergeNodeElement.cpp" 321 #include "bindings/V8SVGFEMorphologyElement.cpp" 322 #include "bindings/V8SVGFEOffsetElement.cpp" 323 #include "bindings/V8SVGFEPointLightElement.cpp" 324 #include "bindings/V8SVGFESpecularLightingElement.cpp" 325 #include "bindings/V8SVGFESpotLightElement.cpp" 326 #include "bindings/V8SVGFETileElement.cpp" 327 #include "bindings/V8SVGFETurbulenceElement.cpp" 328 #include "bindings/V8SVGFilterElement.cpp" 304 329 #include "bindings/V8SVGFontElement.cpp" 305 330 #include "bindings/V8SVGFontFaceElement.cpp" -
trunk/WebCore/bindings/v8/V8DOMWrapper.cpp
r51638 r51901 1106 1106 #endif 1107 1107 1108 #if ENABLE(SVG _FILTERS)1108 #if ENABLE(SVG) && ENABLE(FILTERS) 1109 1109 #define FOR_EACH_FILTERS_TAG(macro) \ 1110 1110 macro(feBlend, FEBLEND) \ -
trunk/WebCore/bindings/v8/V8Index.cpp
r51884 r51901 221 221 #endif 222 222 223 #if ENABLE(SVG _FILTERS)223 #if ENABLE(SVG) && ENABLE(FILTERS) 224 224 #include "V8SVGComponentTransferFunctionElement.h" 225 225 #include "V8SVGFEBlendElement.h" … … 239 239 #include "V8SVGFEMergeElement.h" 240 240 #include "V8SVGFEMergeNodeElement.h" 241 #include "V8SVGFEMorphologyElement.h" 241 242 #include "V8SVGFEOffsetElement.h" 242 243 #include "V8SVGFEPointLightElement.h" -
trunk/WebCore/bindings/v8/V8Index.h
r51884 r51901 198 198 #endif 199 199 200 #if ENABLE(SVG _FILTERS)200 #if ENABLE(SVG) && ENABLE(FILTERS) 201 201 #define SVG_FILTERS_ELEMENT_TYPES(V) \ 202 202 V(SVGCOMPONENTTRANSFERFUNCTIONELEMENT, SVGComponentTransferFunctionElement)\ … … 217 217 V(SVGFEMERGEELEMENT, SVGFEMergeElement) \ 218 218 V(SVGFEMERGENODEELEMENT, SVGFEMergeNodeElement) \ 219 V(SVGFEMORPHOLOGYELEMENT, SVGFEMorphologyElement) \ 219 220 V(SVGFEOFFSETELEMENT, SVGFEOffsetElement) \ 220 221 V(SVGFEPOINTLIGHTELEMENT, SVGFEPointLightElement) \
Note: See TracChangeset
for help on using the changeset viewer.