Changeset 70872 in webkit
- Timestamp:
- Oct 29, 2010 6:50:03 AM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 added
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70870 r70872 1 2010-10-29 Nikolas Zimmermann <nzimmermann@rim.com> 2 3 Reviewed by Dirk Schulze. 4 5 Convert SVGAnimatedEnumeration/Integer to the new SVGAnimatedPropertyTearOff concept 6 https://bugs.webkit.org/show_bug.cgi?id=48623 7 8 Besides converting SVGAnimatedEnumeration/Integer to the new animated property tear off concept, fix support 9 for multiple wrappers within the new concept, which was broken - covered by existing svg/dynamic-updates/ tests. 10 11 Replace all 'extern char[]' usage when using the multiple wrappers macro, by static AtomicStrings. 12 13 * GNUmakefile.am: Add SVGAnimatedEnumeration.h / SVGAnimatedInteger.h to build. 14 * WebCore.gypi: Ditto. 15 * WebCore.pro: Ditto. 16 * WebCore.vcproj/WebCore.vcproj: Ditto. 17 * WebCore.xcodeproj/project.pbxproj: Ditto. 18 * bindings/scripts/CodeGenerator.pm: Recognize SVGAnimatedEnumeration / SVGAnimatedInteger as animated types using the new concept. 19 * bindings/scripts/CodeGeneratorObjC.pm: Touched, to force regenerating ObjC bindings, dependency tracking is obviously broken. 20 * svg/DeprecatedSVGAnimatedPropertyTraits.h: Remove SVGAnimatedBoolean/Enumeration/Integer handling. 21 * svg/DeprecatedSVGAnimatedTemplate.h: Ditto. 22 * svg/SVGAnimatedEnumeration.h: Added. 23 * svg/SVGAnimatedEnumeration.idl: 24 * svg/SVGAnimatedInteger.h: Added. 25 * svg/SVGClipPathElement.h: Adapted all code to create new style animated property tear offs for long & int types. 26 * svg/SVGComponentTransferFunctionElement.h: 27 * svg/SVGFEBlendElement.h: 28 * svg/SVGFEColorMatrixElement.h: 29 * svg/SVGFECompositeElement.h: 30 * svg/SVGFEConvolveMatrixElement.h: 31 * svg/SVGFEDiffuseLightingElement.cpp: 32 (WebCore::SVGFEDiffuseLightingElement::kernelUnitLengthXIdentifier): Replaced extern[] char hack using a static AtomicString. 33 (WebCore::SVGFEDiffuseLightingElement::kernelUnitLengthYIdentifier): Ditto. 34 * svg/SVGFEDiffuseLightingElement.h: 35 * svg/SVGFEDisplacementMapElement.h: 36 * svg/SVGFEGaussianBlurElement.cpp: 37 (WebCore::SVGFEGaussianBlurElement::stdDeviationXIdentifier): Ditto. 38 (WebCore::SVGFEGaussianBlurElement::stdDeviationYIdentifier): Ditto. 39 * svg/SVGFEGaussianBlurElement.h: 40 * svg/SVGFEMorphologyElement.h: 41 * svg/SVGFESpecularLightingElement.cpp: 42 (WebCore::SVGFESpecularLightingElement::kernelUnitLengthXIdentifier): Ditto. 43 (WebCore::SVGFESpecularLightingElement::kernelUnitLengthYIdentifier): Ditto. 44 * svg/SVGFESpecularLightingElement.h: 45 * svg/SVGFETurbulenceElement.cpp: 46 (WebCore::SVGFETurbulenceElement::baseFrequencyXIdentifier): Ditto. 47 (WebCore::SVGFETurbulenceElement::baseFrequencyYIdentifier): Ditto. 48 * svg/SVGFETurbulenceElement.h: 49 * svg/SVGFilterElement.cpp: 50 (WebCore::SVGFilterElement::filterResXIdentifier): Ditto. 51 (WebCore::SVGFilterElement::filterResYIdentifier): Ditto. 52 * svg/SVGFilterElement.h: 53 * svg/SVGGradientElement.h: 54 * svg/SVGMarkerElement.cpp: 55 (WebCore::SVGMarkerElement::orientTypeIdentifier): Ditto. 56 (WebCore::SVGMarkerElement::orientAngleIdentifier): Ditto. 57 * svg/SVGMarkerElement.h: 58 * svg/SVGMaskElement.h: 59 * svg/SVGPatternElement.h: 60 * svg/SVGTextContentElement.h: 61 * svg/SVGTextPathElement.h: 62 * svg/properties/SVGAnimatedPropertyMacros.h: Add new macro for multiple wrappers using static properties. 63 1 64 2010-10-29 Andreas Kling <kling@webkit.org> 2 65 -
trunk/WebCore/GNUmakefile.am
r70857 r70872 3047 3047 WebCore/svg/SVGAnimatedAngle.h \ 3048 3048 WebCore/svg/SVGAnimatedBoolean.h \ 3049 WebCore/svg/SVGAnimatedEnumeration.h \ 3050 WebCore/svg/SVGAnimatedInteger.h \ 3049 3051 WebCore/svg/SVGAnimatedLength.h \ 3050 3052 WebCore/svg/SVGAnimatedLengthList.h \ -
trunk/WebCore/WebCore.gypi
r70857 r70872 3980 3980 'svg/SVGAnimatedAngle.h', 3981 3981 'svg/SVGAnimatedBoolean.h', 3982 'svg/SVGAnimatedEnumeration.h', 3983 'svg/SVGAnimatedInteger.h', 3982 3984 'svg/SVGAnimatedLength.h', 3983 3985 'svg/SVGAnimatedLengthList.h', -
trunk/WebCore/WebCore.pro
r70857 r70872 2370 2370 svg/SVGAnimatedAngle.h \ 2371 2371 svg/SVGAnimatedBoolean.h \ 2372 svg/SVGAnimatedEnumeration.h \ 2373 svg/SVGAnimatedInteger.h \ 2372 2374 svg/SVGAnimatedLength.h \ 2373 2375 svg/SVGAnimatedLengthList.h \ -
trunk/WebCore/WebCore.vcproj/WebCore.vcproj
r70857 r70872 61617 61617 </File> 61618 61618 <File 61619 RelativePath="..\svg\SVGAnimatedEnumeration.h" 61620 > 61621 </File> 61622 <File 61623 RelativePath="..\svg\SVGAnimatedInteger.h" 61624 > 61625 </File> 61626 <File 61619 61627 RelativePath="..\svg\SVGAnimatedLength.h" 61620 61628 > -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r70857 r70872 92 92 082341C50FCF3A9500D75BD6 /* WMLSelectElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 082341C30FCF3A9400D75BD6 /* WMLSelectElement.cpp */; }; 93 93 082341C60FCF3A9500D75BD6 /* WMLSelectElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 082341C40FCF3A9400D75BD6 /* WMLSelectElement.h */; }; 94 0823D159127AD6AC000EBC95 /* SVGAnimatedInteger.h in Headers */ = {isa = PBXBuildFile; fileRef = 0823D158127AD6AC000EBC95 /* SVGAnimatedInteger.h */; settings = {ATTRIBUTES = (Private, ); }; }; 94 95 082FCAC4110927CE00CC4821 /* JSSVGContextCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 082FCAC3110927CE00CC4821 /* JSSVGContextCache.h */; settings = {ATTRIBUTES = (Private, ); }; }; 95 96 083192AA112B43050083C3B9 /* RenderSVGResource.h in Headers */ = {isa = PBXBuildFile; fileRef = 083192A7112B43050083C3B9 /* RenderSVGResource.h */; }; … … 233 234 08CD61BC0ED3929C002DDF51 /* WMLTaskElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08CD61B80ED3929C002DDF51 /* WMLTaskElement.cpp */; }; 234 235 08CD61BD0ED3929C002DDF51 /* WMLTaskElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 08CD61B90ED3929C002DDF51 /* WMLTaskElement.h */; }; 236 08D46CE3127AD5FC0089694B /* SVGAnimatedEnumeration.h in Headers */ = {isa = PBXBuildFile; fileRef = 08D46CE2127AD5FC0089694B /* SVGAnimatedEnumeration.h */; settings = {ATTRIBUTES = (Private, ); }; }; 235 237 08DAB9BA1103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08DAB9B81103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.cpp */; }; 236 238 08DAB9BB1103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08DAB9B91103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.h */; }; … … 1494 1496 75793ED50D0CE85B007FC0AC /* DOMMessageEventInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 75793ED20D0CE85B007FC0AC /* DOMMessageEventInternal.h */; }; 1495 1497 758978EC127090D60076D5A9 /* SpeechInputResult.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 758978EA127090D60076D5A9 /* SpeechInputResult.cpp */; }; 1496 758978ED127090D60076D5A9 /* SpeechInputResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 758978EB127090D60076D5A9 /* SpeechInputResult.h */; };1497 1498 7637C541112E7B74003D6CDC /* WebSocketHandshakeRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7637C540112E7B74003D6CDC /* WebSocketHandshakeRequest.cpp */; }; 1498 1499 7637C543112E7B7E003D6CDC /* WebSocketHandshakeRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7637C542112E7B7E003D6CDC /* WebSocketHandshakeRequest.h */; }; … … 6112 6113 082341C30FCF3A9400D75BD6 /* WMLSelectElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLSelectElement.cpp; sourceTree = "<group>"; }; 6113 6114 082341C40FCF3A9400D75BD6 /* WMLSelectElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLSelectElement.h; sourceTree = "<group>"; }; 6115 0823D158127AD6AC000EBC95 /* SVGAnimatedInteger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedInteger.h; sourceTree = "<group>"; }; 6114 6116 082FCAC3110927CE00CC4821 /* JSSVGContextCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGContextCache.h; sourceTree = "<group>"; }; 6115 6117 083192A7112B43050083C3B9 /* RenderSVGResource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderSVGResource.h; sourceTree = "<group>"; }; … … 6238 6240 08CD61B80ED3929C002DDF51 /* WMLTaskElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WMLTaskElement.cpp; sourceTree = "<group>"; }; 6239 6241 08CD61B90ED3929C002DDF51 /* WMLTaskElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMLTaskElement.h; sourceTree = "<group>"; }; 6242 08D46CE2127AD5FC0089694B /* SVGAnimatedEnumeration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedEnumeration.h; sourceTree = "<group>"; }; 6240 6243 08DAB9B81103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderSVGShadowTreeRootContainer.cpp; sourceTree = "<group>"; }; 6241 6244 08DAB9B91103D9A5003E7ABA /* RenderSVGShadowTreeRootContainer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderSVGShadowTreeRootContainer.h; sourceTree = "<group>"; }; … … 16002 16005 085797081278394C00A8EC5F /* SVGAnimatedBoolean.h */, 16003 16006 B22277E70D00BF1F0071B782 /* SVGAnimatedBoolean.idl */, 16007 08D46CE2127AD5FC0089694B /* SVGAnimatedEnumeration.h */, 16004 16008 B22277E80D00BF1F0071B782 /* SVGAnimatedEnumeration.idl */, 16009 0823D158127AD6AC000EBC95 /* SVGAnimatedInteger.h */, 16005 16010 B22277E90D00BF1F0071B782 /* SVGAnimatedInteger.idl */, 16006 16011 089021A8126EF5DE0092D5EA /* SVGAnimatedLength.h */, … … 21222 21227 085797091278394C00A8EC5F /* SVGAnimatedBoolean.h in Headers */, 21223 21228 08525E631278C00100A84778 /* SVGAnimatedStaticPropertyTearOff.h in Headers */, 21229 08D46CE3127AD5FC0089694B /* SVGAnimatedEnumeration.h in Headers */, 21230 0823D159127AD6AC000EBC95 /* SVGAnimatedInteger.h in Headers */, 21224 21231 ); 21225 21232 runOnlyForDeploymentPostprocessing = 0; … … 21281 21288 buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */; 21282 21289 compatibilityVersion = "Xcode 2.4"; 21283 developmentRegion = English;21284 21290 hasScannedForEncodings = 1; 21285 21291 knownRegions = ( -
trunk/WebCore/bindings/scripts/CodeGenerator.pm
r70857 r70872 57 57 my %nonPointerTypeHash = ("DOMTimeStamp" => 1, "CompareHow" => 1, "SVGPaintType" => 1); 58 58 59 my %svgNewStyleAnimatedTypeHash = ("SVGAnimatedAngle" => 1, "SVGAnimatedBoolean" => 1, "SVGAnimatedLength" => 1, "SVGAnimatedLengthList" => 1, "SVGAnimatedRect" => 1); 59 my %svgNewStyleAnimatedTypeHash = ("SVGAnimatedAngle" => 1, "SVGAnimatedBoolean" => 1, 60 "SVGAnimatedEnumeration" => 1, "SVGAnimatedInteger" => 1, 61 "SVGAnimatedLength" => 1, "SVGAnimatedLengthList" => 1, 62 "SVGAnimatedRect" => 1); 60 63 61 64 my %svgAnimatedTypeHash = ("SVGAnimatedAngle" => 1, "SVGAnimatedBoolean" => 1, -
trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm
r70857 r70872 1 # 1 # 2 2 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 3 3 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> -
trunk/WebCore/svg/DeprecatedSVGAnimatedPropertyTraits.h
r70631 r70872 23 23 24 24 #if ENABLE(SVG) 25 #include "FloatRect.h"26 25 #include "PlatformString.h" 27 26 #include "SVGNumberList.h" … … 33 32 template<typename Type> 34 33 struct DeprecatedSVGAnimatedPropertyTraits : public Noncopyable { }; 35 36 // SVGAnimatedBoolean37 template<>38 struct DeprecatedSVGAnimatedPropertyTraits<bool> : public Noncopyable {39 typedef const bool& PassType;40 typedef bool ReturnType;41 typedef bool StoredType;42 43 static ReturnType null() { return false; }44 static ReturnType toReturnType(const StoredType& type) { return type; }45 static String toString(PassType type) { return type ? "true" : "false"; }46 };47 48 // SVGAnimatedEnumeration49 template<>50 struct DeprecatedSVGAnimatedPropertyTraits<int> : public Noncopyable {51 typedef const int& PassType;52 typedef int ReturnType;53 typedef int StoredType;54 55 static ReturnType null() { return 0; }56 static ReturnType toReturnType(const StoredType& type) { return type; }57 static String toString(PassType type) { return String::number(type); }58 };59 60 // SVGAnimatedInteger61 template<>62 struct DeprecatedSVGAnimatedPropertyTraits<long> : public Noncopyable {63 typedef const long& PassType;64 typedef long ReturnType;65 typedef long StoredType;66 67 static ReturnType null() { return 0l; }68 static ReturnType toReturnType(const StoredType& type) { return type; }69 static String toString(PassType type) { return String::number(type); }70 };71 34 72 35 // SVGAnimatedNumber -
trunk/WebCore/svg/DeprecatedSVGAnimatedTemplate.h
r70857 r70872 155 155 156 156 // Common type definitions, to ease IDL generation. 157 typedef DeprecatedSVGAnimatedTemplate<int> SVGAnimatedEnumeration;158 typedef DeprecatedSVGAnimatedTemplate<long> SVGAnimatedInteger;159 157 typedef DeprecatedSVGAnimatedTemplate<float> SVGAnimatedNumber; 160 158 typedef DeprecatedSVGAnimatedTemplate<SVGNumberList*> SVGAnimatedNumberList; -
trunk/WebCore/svg/SVGAnimatedEnumeration.idl
r64579 r70872 27 27 28 28 interface [Conditional=SVG] SVGAnimatedEnumeration { 29 attribute unsigned short baseVal 30 /*setter raises(DOMException)*/; 29 attribute unsigned short baseVal; 31 30 readonly attribute unsigned short animVal; 32 31 }; -
trunk/WebCore/svg/SVGClipPathElement.h
r70857 r70872 23 23 24 24 #if ENABLE(SVG) 25 #include "RenderObject.h"26 25 #include "SVGAnimatedPropertyMacros.h" 27 26 #include "SVGExternalResourcesRequired.h" … … 31 30 32 31 namespace WebCore { 32 33 class RenderObject; 33 34 34 35 class SVGClipPathElement : public SVGStyledTransformableElement, … … 52 53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 53 54 54 DECLARE_ANIMATED_ PROPERTY(SVGClipPathElement, SVGNames::clipPathUnitsAttr, int, ClipPathUnits, clipPathUnits)55 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGClipPathElement, SVGNames::clipPathUnitsAttr, int, ClipPathUnits, clipPathUnits) 55 56 56 57 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGComponentTransferFunctionElement.h
r66397 r70872 23 23 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 #include "SVGElement.h" 26 #include "SVGNames.h" 25 #include "SVGAnimatedPropertyMacros.h" 27 26 #include "SVGNumberList.h" 28 27 #include "FEComponentTransfer.h" … … 41 40 42 41 private: 43 DECLARE_ANIMATED_ PROPERTY(SVGComponentTransferFunctionElement, SVGNames::typeAttr, int, Type, type)42 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::typeAttr, int, Type, type) 44 43 DECLARE_ANIMATED_PROPERTY(SVGComponentTransferFunctionElement, SVGNames::tableValuesAttr, SVGNumberList*, TableValues, tableValues) 45 44 DECLARE_ANIMATED_PROPERTY(SVGComponentTransferFunctionElement, SVGNames::slopeAttr, float, Slope, slope) -
trunk/WebCore/svg/SVGFEBlendElement.h
r68344 r70872 41 41 DECLARE_ANIMATED_PROPERTY(SVGFEBlendElement, SVGNames::inAttr, String, In1, in1) 42 42 DECLARE_ANIMATED_PROPERTY(SVGFEBlendElement, SVGNames::in2Attr, String, In2, in2) 43 DECLARE_ANIMATED_ PROPERTY(SVGFEBlendElement, SVGNames::modeAttr, int, Mode, mode)43 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEBlendElement, SVGNames::modeAttr, int, Mode, mode) 44 44 }; 45 45 -
trunk/WebCore/svg/SVGFEColorMatrixElement.h
r69409 r70872 42 42 43 43 DECLARE_ANIMATED_PROPERTY(SVGFEColorMatrixElement, SVGNames::inAttr, String, In1, in1) 44 DECLARE_ANIMATED_ PROPERTY(SVGFEColorMatrixElement, SVGNames::typeAttr, int, Type, type)44 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEColorMatrixElement, SVGNames::typeAttr, int, Type, type) 45 45 DECLARE_ANIMATED_PROPERTY(SVGFEColorMatrixElement, SVGNames::valuesAttr, SVGNumberList*, Values, values) 46 46 }; -
trunk/WebCore/svg/SVGFECompositeElement.h
r68797 r70872 42 42 DECLARE_ANIMATED_PROPERTY(SVGFECompositeElement, SVGNames::inAttr, String, In1, in1) 43 43 DECLARE_ANIMATED_PROPERTY(SVGFECompositeElement, SVGNames::in2Attr, String, In2, in2) 44 DECLARE_ANIMATED_ PROPERTY(SVGFECompositeElement, SVGNames::operatorAttr, int, _operator, _operator)44 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFECompositeElement, SVGNames::operatorAttr, int, _operator, _operator) 45 45 DECLARE_ANIMATED_PROPERTY(SVGFECompositeElement, SVGNames::k1Attr, float, K1, k1) 46 46 DECLARE_ANIMATED_PROPERTY(SVGFECompositeElement, SVGNames::k2Attr, float, K2, k2) -
trunk/WebCore/svg/SVGFEConvolveMatrixElement.h
r70857 r70872 43 43 44 44 DECLARE_ANIMATED_PROPERTY(SVGFEConvolveMatrixElement, SVGNames::inAttr, String, In1, in1) 45 DECLARE_ANIMATED_ PROPERTY(SVGFEConvolveMatrixElement, SVGNames::orderXAttr, long, OrderX, orderX)46 DECLARE_ANIMATED_ PROPERTY(SVGFEConvolveMatrixElement, SVGNames::orderYAttr, long, OrderY, orderY)45 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::orderXAttr, long, OrderX, orderX) 46 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::orderYAttr, long, OrderY, orderY) 47 47 DECLARE_ANIMATED_PROPERTY(SVGFEConvolveMatrixElement, SVGNames::kernelMatrixAttr, SVGNumberList*, KernelMatrix, kernelMatrix) 48 48 DECLARE_ANIMATED_PROPERTY(SVGFEConvolveMatrixElement, SVGNames::divisorAttr, float, Divisor, divisor) 49 49 DECLARE_ANIMATED_PROPERTY(SVGFEConvolveMatrixElement, SVGNames::biasAttr, float, Bias, bias) 50 DECLARE_ANIMATED_ PROPERTY(SVGFEConvolveMatrixElement, SVGNames::targetXAttr, long, TargetX, targetX)51 DECLARE_ANIMATED_ PROPERTY(SVGFEConvolveMatrixElement, SVGNames::targetYAttr, long, TargetY, targetY)52 DECLARE_ANIMATED_ PROPERTY(SVGFEConvolveMatrixElement, SVGNames::operatorAttr, int, EdgeMode, edgeMode)50 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::targetXAttr, long, TargetX, targetX) 51 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::targetYAttr, long, TargetY, targetY) 52 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::operatorAttr, int, EdgeMode, edgeMode) 53 53 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEConvolveMatrixElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthXIdentifier, float, KernelUnitLengthX, kernelUnitLengthX) 54 54 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEConvolveMatrixElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthYIdentifier, float, KernelUnitLengthY, kernelUnitLengthY) -
trunk/WebCore/svg/SVGFEDiffuseLightingElement.cpp
r68022 r70872 33 33 namespace WebCore { 34 34 35 char SVGKernelUnitLengthXIdentifier[] = "SVGKernelUnitLengthX";36 char SVGKernelUnitLengthYIdentifier[] = "SVGKernelUnitLengthY";37 38 35 inline SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement(const QualifiedName& tagName, Document* document) 39 36 : SVGFilterPrimitiveStandardAttributes(tagName, document) … … 46 43 { 47 44 return adoptRef(new SVGFEDiffuseLightingElement(tagName, document)); 45 } 46 47 const AtomicString& SVGFEDiffuseLightingElement::kernelUnitLengthXIdentifier() 48 { 49 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGKernelUnitLengthX")); 50 return s_identifier; 51 } 52 53 const AtomicString& SVGFEDiffuseLightingElement::kernelUnitLengthYIdentifier() 54 { 55 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGKernelUnitLengthY")); 56 return s_identifier; 48 57 } 49 58 -
trunk/WebCore/svg/SVGFEDiffuseLightingElement.h
r66397 r70872 29 29 namespace WebCore { 30 30 31 extern char SVGKernelUnitLengthXIdentifier[];32 extern char SVGKernelUnitLengthYIdentifier[];33 34 31 class FEDiffuseLighting; 35 32 class SVGColor; … … 47 44 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); 48 45 46 static const AtomicString& kernelUnitLengthXIdentifier(); 47 static const AtomicString& kernelUnitLengthYIdentifier(); 48 49 49 DECLARE_ANIMATED_PROPERTY(SVGFEDiffuseLightingElement, SVGNames::inAttr, String, In1, in1) 50 50 DECLARE_ANIMATED_PROPERTY(SVGFEDiffuseLightingElement, SVGNames::diffuseConstantAttr, float, DiffuseConstant, diffuseConstant) 51 51 DECLARE_ANIMATED_PROPERTY(SVGFEDiffuseLightingElement, SVGNames::surfaceScaleAttr, float, SurfaceScale, surfaceScale) 52 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEDiffuseLightingElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthXIdentifier, float, KernelUnitLengthX, kernelUnitLengthX)53 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEDiffuseLightingElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthYIdentifier, float, KernelUnitLengthY, kernelUnitLengthY)52 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEDiffuseLightingElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthXIdentifier(), float, KernelUnitLengthX, kernelUnitLengthX) 53 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEDiffuseLightingElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthYIdentifier(), float, KernelUnitLengthY, kernelUnitLengthY) 54 54 55 55 PassRefPtr<LightSource> findLights() const; -
trunk/WebCore/svg/SVGFEDisplacementMapElement.h
r68022 r70872 42 42 DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::inAttr, String, In1, in1) 43 43 DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::in2Attr, String, In2, in2) 44 DECLARE_ANIMATED_ PROPERTY(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, int, XChannelSelector, xChannelSelector)45 DECLARE_ANIMATED_ PROPERTY(SVGFEDisplacementMapElement, SVGNames::yChannelSelectorAttr, int, YChannelSelector, yChannelSelector)44 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, int, XChannelSelector, xChannelSelector) 45 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::yChannelSelectorAttr, int, YChannelSelector, yChannelSelector) 46 46 DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::scaleAttr, float, Scale, scale) 47 47 }; -
trunk/WebCore/svg/SVGFEGaussianBlurElement.cpp
r69077 r70872 30 30 namespace WebCore { 31 31 32 char SVGStdDeviationXAttrIdentifier[] = "SVGStdDeviationXAttr";33 char SVGStdDeviationYAttrIdentifier[] = "SVGStdDeviationYAttr";34 35 32 inline SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(const QualifiedName& tagName, Document* document) 36 33 : SVGFilterPrimitiveStandardAttributes(tagName, document) … … 41 38 { 42 39 return adoptRef(new SVGFEGaussianBlurElement(tagName, document)); 40 } 41 42 const AtomicString& SVGFEGaussianBlurElement::stdDeviationXIdentifier() 43 { 44 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGStdDeviationX")); 45 return s_identifier; 46 } 47 48 const AtomicString& SVGFEGaussianBlurElement::stdDeviationYIdentifier() 49 { 50 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGStdDeviationY")); 51 return s_identifier; 43 52 } 44 53 -
trunk/WebCore/svg/SVGFEGaussianBlurElement.h
r69077 r70872 28 28 namespace WebCore { 29 29 30 extern char SVGStdDeviationXAttrIdentifier[];31 extern char SVGStdDeviationYAttrIdentifier[];32 33 30 class SVGFEGaussianBlurElement : public SVGFilterPrimitiveStandardAttributes { 34 31 public: … … 45 42 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); 46 43 44 static const AtomicString& stdDeviationXIdentifier(); 45 static const AtomicString& stdDeviationYIdentifier(); 46 47 47 DECLARE_ANIMATED_PROPERTY(SVGFEGaussianBlurElement, SVGNames::inAttr, String, In1, in1) 48 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, SVGStdDeviationXAttrIdentifier, float, StdDeviationX, stdDeviationX)49 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, SVGStdDeviationYAttrIdentifier, float, StdDeviationY, stdDeviationY)48 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, stdDeviationXIdentifier(), float, StdDeviationX, stdDeviationX) 49 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, stdDeviationYIdentifier(), float, StdDeviationY, stdDeviationY) 50 50 }; 51 51 -
trunk/WebCore/svg/SVGFEMorphologyElement.h
r68168 r70872 44 44 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); 45 45 46 static const AtomicString& radiusXIdentifier(); 47 static const AtomicString& radiusYIdentifier(); 48 46 49 DECLARE_ANIMATED_PROPERTY(SVGFEMorphologyElement, SVGNames::inAttr, String, In1, in1) 47 DECLARE_ANIMATED_ PROPERTY(SVGFEMorphologyElement, SVGNames::operatorAttr, int, _operator, _operator)50 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEMorphologyElement, SVGNames::operatorAttr, int, _operator, _operator) 48 51 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEMorphologyElement, SVGNames::radiusAttr, SVGRadiusXAttrIdentifier, float, RadiusX, radiusX) 49 52 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFEMorphologyElement, SVGNames::radiusAttr, SVGRadiusYAttrIdentifier, float, RadiusY, radiusY) -
trunk/WebCore/svg/SVGFESpecularLightingElement.cpp
r67847 r70872 44 44 { 45 45 return adoptRef(new SVGFESpecularLightingElement(tagName, document)); 46 } 47 48 const AtomicString& SVGFESpecularLightingElement::kernelUnitLengthXIdentifier() 49 { 50 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGKernelUnitLengthX")); 51 return s_identifier; 52 } 53 54 const AtomicString& SVGFESpecularLightingElement::kernelUnitLengthYIdentifier() 55 { 56 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGKernelUnitLengthY")); 57 return s_identifier; 46 58 } 47 59 -
trunk/WebCore/svg/SVGFESpecularLightingElement.h
r68022 r70872 29 29 namespace WebCore { 30 30 31 extern char SVGKernelUnitLengthXIdentifier[];32 extern char SVGKernelUnitLengthYIdentifier[];33 34 31 class SVGFESpecularLightingElement : public SVGFilterPrimitiveStandardAttributes { 35 32 public: … … 43 40 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); 44 41 42 static const AtomicString& kernelUnitLengthXIdentifier(); 43 static const AtomicString& kernelUnitLengthYIdentifier(); 44 45 45 DECLARE_ANIMATED_PROPERTY(SVGFESpecularLightingElement, SVGNames::inAttr, String, In1, in1) 46 46 DECLARE_ANIMATED_PROPERTY(SVGFESpecularLightingElement, SVGNames::specularConstantAttr, float, SpecularConstant, specularConstant) 47 47 DECLARE_ANIMATED_PROPERTY(SVGFESpecularLightingElement, SVGNames::specularExponentAttr, float, SpecularExponent, specularExponent) 48 48 DECLARE_ANIMATED_PROPERTY(SVGFESpecularLightingElement, SVGNames::surfaceScaleAttr, float, SurfaceScale, surfaceScale) 49 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFESpecularLightingElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthXIdentifier, float, KernelUnitLengthX, kernelUnitLengthX)50 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFESpecularLightingElement, SVGNames::kernelUnitLengthAttr, SVGKernelUnitLengthYIdentifier, float, KernelUnitLengthY, kernelUnitLengthY)49 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFESpecularLightingElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthXIdentifier(), float, KernelUnitLengthX, kernelUnitLengthX) 50 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFESpecularLightingElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthYIdentifier(), float, KernelUnitLengthY, kernelUnitLengthY) 51 51 52 52 PassRefPtr<LightSource> findLights() const; -
trunk/WebCore/svg/SVGFETurbulenceElement.cpp
r67544 r70872 29 29 namespace WebCore { 30 30 31 char SVGBaseFrequencyXIdentifier[] = "SVGBaseFrequencyX";32 char SVGBaseFrequencyYIdentifier[] = "SVGBaseFrequencyY";33 34 31 inline SVGFETurbulenceElement::SVGFETurbulenceElement(const QualifiedName& tagName, Document* document) 35 32 : SVGFilterPrimitiveStandardAttributes(tagName, document) … … 43 40 { 44 41 return adoptRef(new SVGFETurbulenceElement(tagName, document)); 42 } 43 44 const AtomicString& SVGFETurbulenceElement::baseFrequencyXIdentifier() 45 { 46 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGBaseFrequencyX")); 47 return s_identifier; 48 } 49 50 const AtomicString& SVGFETurbulenceElement::baseFrequencyYIdentifier() 51 { 52 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGBaseFrequencyY")); 53 return s_identifier; 45 54 } 46 55 -
trunk/WebCore/svg/SVGFETurbulenceElement.h
r68022 r70872 28 28 namespace WebCore { 29 29 30 extern char SVGBaseFrequencyXIdentifier[];31 extern char SVGBaseFrequencyYIdentifier[];32 33 30 enum SVGStitchOptions { 34 31 SVG_STITCHTYPE_UNKNOWN = 0, … … 49 46 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); 50 47 51 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFETurbulenceElement, SVGNames::baseFrequencyAttr, SVGBaseFrequencyXIdentifier, float, BaseFrequencyX, baseFrequencyX) 52 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFETurbulenceElement, SVGNames::baseFrequencyAttr, SVGBaseFrequencyYIdentifier, float, BaseFrequencyY, baseFrequencyY) 53 DECLARE_ANIMATED_PROPERTY(SVGFETurbulenceElement, SVGNames::numOctavesAttr, long, NumOctaves, numOctaves) 48 static const AtomicString& baseFrequencyXIdentifier(); 49 static const AtomicString& baseFrequencyYIdentifier(); 50 51 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFETurbulenceElement, SVGNames::baseFrequencyAttr, baseFrequencyXIdentifier(), float, BaseFrequencyX, baseFrequencyX) 52 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFETurbulenceElement, SVGNames::baseFrequencyAttr, baseFrequencyYIdentifier(), float, BaseFrequencyY, baseFrequencyY) 53 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::numOctavesAttr, long, NumOctaves, numOctaves) 54 54 DECLARE_ANIMATED_PROPERTY(SVGFETurbulenceElement, SVGNames::seedAttr, float, Seed, seed) 55 DECLARE_ANIMATED_ PROPERTY(SVGFETurbulenceElement, SVGNames::stitchTilesAttr, int, StitchTiles, stitchTiles)56 DECLARE_ANIMATED_ PROPERTY(SVGFETurbulenceElement, SVGNames::typeAttr, int, Type, type)55 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::stitchTilesAttr, int, StitchTiles, stitchTiles) 56 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::typeAttr, int, Type, type) 57 57 }; 58 58 -
trunk/WebCore/svg/SVGFilterElement.cpp
r66498 r70872 40 40 namespace WebCore { 41 41 42 char SVGFilterResXIdentifier[] = "SVGFilterResX";43 char SVGFilterResYIdentifier[] = "SVGFilterResY";44 45 42 inline SVGFilterElement::SVGFilterElement(const QualifiedName& tagName, Document* document) 46 43 : SVGStyledElement(tagName, document) … … 62 59 { 63 60 return adoptRef(new SVGFilterElement(tagName, document)); 61 } 62 63 const AtomicString& SVGFilterElement::filterResXIdentifier() 64 { 65 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGFilterResX")); 66 return s_identifier; 67 } 68 69 const AtomicString& SVGFilterElement::filterResYIdentifier() 70 { 71 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGFilterResY")); 72 return s_identifier; 64 73 } 65 74 -
trunk/WebCore/svg/SVGFilterElement.h
r70857 r70872 35 35 namespace WebCore { 36 36 37 extern char SVGFilterResXIdentifier[];38 extern char SVGFilterResYIdentifier[];39 40 37 class SVGFilterElement : public SVGStyledElement, 41 38 public SVGURIReference, … … 62 59 virtual bool selfHasRelativeLengths() const; 63 60 64 DECLARE_ANIMATED_PROPERTY(SVGFilterElement, SVGNames::filterUnitsAttr, int, FilterUnits, filterUnits) 65 DECLARE_ANIMATED_PROPERTY(SVGFilterElement, SVGNames::primitiveUnitsAttr, int, PrimitiveUnits, primitiveUnits) 61 static const AtomicString& filterResXIdentifier(); 62 static const AtomicString& filterResYIdentifier(); 63 64 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFilterElement, SVGNames::filterUnitsAttr, int, FilterUnits, filterUnits) 65 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFilterElement, SVGNames::primitiveUnitsAttr, int, PrimitiveUnits, primitiveUnits) 66 66 DECLARE_ANIMATED_PROPERTY_NEW(SVGFilterElement, SVGNames::xAttr, SVGLength, X, x) 67 67 DECLARE_ANIMATED_PROPERTY_NEW(SVGFilterElement, SVGNames::yAttr, SVGLength, Y, y) 68 68 DECLARE_ANIMATED_PROPERTY_NEW(SVGFilterElement, SVGNames::widthAttr, SVGLength, Width, width) 69 69 DECLARE_ANIMATED_PROPERTY_NEW(SVGFilterElement, SVGNames::heightAttr, SVGLength, Height, height) 70 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFilterElement, SVGNames::filterResAttr, SVGFilterResXIdentifier, long, FilterResX, filterResX) 71 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS(SVGFilterElement, SVGNames::filterResAttr, SVGFilterResYIdentifier, long, FilterResY, filterResY) 70 71 DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGFilterElement, SVGNames::filterResAttr, filterResXIdentifier(), long, FilterResX, filterResX) 72 DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGFilterElement, SVGNames::filterResAttr, filterResYIdentifier(), long, FilterResY, filterResY) 72 73 73 74 // SVGURIReference -
trunk/WebCore/svg/SVGGradientElement.h
r70857 r70872 50 50 virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); 51 51 52 DECLARE_ANIMATED_ PROPERTY(SVGGradientElement, SVGNames::spreadMethodAttr, int, SpreadMethod, spreadMethod)53 DECLARE_ANIMATED_ PROPERTY(SVGGradientElement, SVGNames::gradientUnitsAttr, int, GradientUnits, gradientUnits)52 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGGradientElement, SVGNames::spreadMethodAttr, int, SpreadMethod, spreadMethod) 53 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGGradientElement, SVGNames::gradientUnitsAttr, int, GradientUnits, gradientUnits) 54 54 DECLARE_ANIMATED_PROPERTY(SVGGradientElement, SVGNames::gradientTransformAttr, SVGTransformList*, GradientTransform, gradientTransform) 55 55 -
trunk/WebCore/svg/SVGMarkerElement.cpp
r70410 r70872 36 36 namespace WebCore { 37 37 38 char SVGOrientTypeAttrIdentifier[] = "SVGOrientTypeAttr";39 char SVGOrientAngleAttrIdentifier[] = "SVGOrientAngleAttr";40 41 38 SVGMarkerElement::SVGMarkerElement(const QualifiedName& tagName, Document* document) 42 39 : SVGStyledElement(tagName, document) … … 54 51 { 55 52 return adoptRef(new SVGMarkerElement(tagName, document)); 53 } 54 55 const AtomicString& SVGMarkerElement::orientTypeIdentifier() 56 { 57 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGOrientType")); 58 return s_identifier; 59 } 60 61 const AtomicString& SVGMarkerElement::orientAngleIdentifier() 62 { 63 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGOrientAngle")); 64 return s_identifier; 56 65 } 57 66 -
trunk/WebCore/svg/SVGMarkerElement.h
r70857 r70872 35 35 36 36 class Document; 37 38 extern char SVGOrientTypeAttrIdentifier[];39 extern char SVGOrientAngleAttrIdentifier[];40 37 41 38 class SVGMarkerElement : public SVGStyledElement, … … 77 74 virtual bool selfHasRelativeLengths() const; 78 75 76 static const AtomicString& orientTypeIdentifier(); 77 static const AtomicString& orientAngleIdentifier(); 78 79 79 DECLARE_ANIMATED_PROPERTY_NEW(SVGMarkerElement, SVGNames::refXAttr, SVGLength, RefX, refX) 80 80 DECLARE_ANIMATED_PROPERTY_NEW(SVGMarkerElement, SVGNames::refYAttr, SVGLength, RefY, refY) 81 81 DECLARE_ANIMATED_PROPERTY_NEW(SVGMarkerElement, SVGNames::markerWidthAttr, SVGLength, MarkerWidth, markerWidth) 82 82 DECLARE_ANIMATED_PROPERTY_NEW(SVGMarkerElement, SVGNames::markerHeightAttr, SVGLength, MarkerHeight, markerHeight) 83 DECLARE_ANIMATED_ PROPERTY(SVGMarkerElement, SVGNames::markerUnitsAttr, int, MarkerUnits, markerUnits)84 DECLARE_ANIMATED_ PROPERTY_MULTIPLE_WRAPPERS(SVGMarkerElement, SVGNames::orientAttr, SVGOrientTypeAttrIdentifier, int, OrientType, orientType)85 DECLARE_ANIMATED_PROPERTY_ NEW_MULTIPLE_WRAPPERS(SVGMarkerElement, SVGNames::orientAttr, SVGOrientAngleAttrIdentifier, SVGAngle, OrientAngle, orientAngle)83 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMarkerElement, SVGNames::markerUnitsAttr, int, MarkerUnits, markerUnits) 84 DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGMarkerElement, SVGNames::orientAttr, orientTypeIdentifier(), int, OrientType, orientType) 85 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGMarkerElement, SVGNames::orientAttr, orientAngleIdentifier(), SVGAngle, OrientAngle, orientAngle) 86 86 87 87 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGMaskElement.h
r70857 r70872 58 58 virtual bool selfHasRelativeLengths() const; 59 59 60 DECLARE_ANIMATED_ PROPERTY(SVGMaskElement, SVGNames::maskUnitsAttr, int, MaskUnits, maskUnits)61 DECLARE_ANIMATED_ PROPERTY(SVGMaskElement, SVGNames::maskContentUnitsAttr, int, MaskContentUnits, maskContentUnits)60 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMaskElement, SVGNames::maskUnitsAttr, int, MaskUnits, maskUnits) 61 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMaskElement, SVGNames::maskContentUnitsAttr, int, MaskContentUnits, maskContentUnits) 62 62 DECLARE_ANIMATED_PROPERTY_NEW(SVGMaskElement, SVGNames::xAttr, SVGLength, X, x) 63 63 DECLARE_ANIMATED_PROPERTY_NEW(SVGMaskElement, SVGNames::yAttr, SVGLength, Y, y) -
trunk/WebCore/svg/SVGPatternElement.h
r70857 r70872 69 69 DECLARE_ANIMATED_PROPERTY_NEW(SVGPatternElement, SVGNames::widthAttr, SVGLength, Width, width) 70 70 DECLARE_ANIMATED_PROPERTY_NEW(SVGPatternElement, SVGNames::heightAttr, SVGLength, Height, height) 71 DECLARE_ANIMATED_ PROPERTY(SVGPatternElement, SVGNames::patternUnitsAttr, int, PatternUnits, patternUnits)72 DECLARE_ANIMATED_ PROPERTY(SVGPatternElement, SVGNames::patternContentUnitsAttr, int, PatternContentUnits, patternContentUnits)71 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGPatternElement, SVGNames::patternUnitsAttr, int, PatternUnits, patternUnits) 72 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGPatternElement, SVGNames::patternContentUnitsAttr, int, PatternContentUnits, patternContentUnits) 73 73 DECLARE_ANIMATED_PROPERTY(SVGPatternElement, SVGNames::patternTransformAttr, SVGTransformList*, PatternTransform, patternTransform) 74 74 -
trunk/WebCore/svg/SVGTextContentElement.h
r70857 r70872 73 73 74 74 DECLARE_ANIMATED_PROPERTY_NEW(SVGTextContentElement, SVGNames::textLengthAttr, SVGLength, TextLength, textLength) 75 DECLARE_ANIMATED_ PROPERTY(SVGTextContentElement, SVGNames::lengthAdjustAttr, int, LengthAdjust, lengthAdjust)75 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGTextContentElement, SVGNames::lengthAdjustAttr, int, LengthAdjust, lengthAdjust) 76 76 77 77 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGTextPathElement.h
r70223 r70872 69 69 70 70 DECLARE_ANIMATED_PROPERTY_NEW(SVGTextPathElement, SVGNames::startOffsetAttr, SVGLength, StartOffset, startOffset) 71 DECLARE_ANIMATED_ PROPERTY(SVGTextPathElement, SVGNames::methodAttr, int, Method, method)72 DECLARE_ANIMATED_ PROPERTY(SVGTextPathElement, SVGNames::spacingAttr, int, Spacing, spacing)71 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGTextPathElement, SVGNames::methodAttr, int, Method, method) 72 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGTextPathElement, SVGNames::spacingAttr, int, Spacing, spacing) 73 73 74 74 // SVGURIReference -
trunk/WebCore/svg/properties/SVGAnimatedPropertyMacros.h
r70857 r70872 100 100 DECLARE_ANIMATED_PROPERTY_NEW_SHARED(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedPropertyTearOff<PropertyType>, PropertyType, UpperProperty, LowerProperty) 101 101 102 #define DECLARE_ANIMATED_PROPERTY_ NEW_MULTIPLE_WRAPPERS(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, PropertyType, UpperProperty, LowerProperty) \102 #define DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS_NEW(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, PropertyType, UpperProperty, LowerProperty) \ 103 103 DECLARE_ANIMATED_PROPERTY_NEW_SHARED(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, SVGAnimatedPropertyTearOff<PropertyType>, PropertyType, UpperProperty, LowerProperty) 104 105 #define DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, PropertyType, UpperProperty, LowerProperty) \ 106 DECLARE_ANIMATED_PROPERTY_NEW_SHARED(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, SVGAnimatedStaticPropertyTearOff<PropertyType>, PropertyType, UpperProperty, LowerProperty) 104 107 105 108 #define DECLARE_ANIMATED_STATIC_PROPERTY_NEW(OwnerType, DOMAttribute, PropertyType, UpperProperty, LowerProperty) \
Note: See TracChangeset
for help on using the changeset viewer.