Changeset 73130 in webkit
- Timestamp:
- Dec 2, 2010 7:19:03 AM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 74 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r73129 r73130 1 2010-12-02 Nikolas Zimmermann <nzimmermann@rim.com> 2 3 Reviewed by Adam Roben. 4 5 Split DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for SVGAnimatedString/SVGAnimatedEnumeration 6 https://bugs.webkit.org/show_bug.cgi?id=50383 7 8 Continuing the work on bug 42025: Introduce DECLARE_ANIMATED_(STRING|ENUMERATION) / DEFINE_ANIMATED_(STRING|ENUMERATION). 9 The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers. 10 11 No functional changes, thus no new tests. 12 13 * svg/SVGAElement.cpp: 14 * svg/SVGAElement.h: 15 (WebCore::SVGAElement::isValid): 16 (WebCore::SVGAElement::target): 17 * svg/SVGAltGlyphElement.cpp: 18 * svg/SVGAltGlyphElement.h: 19 * svg/SVGAnimatedEnumeration.h: 20 * svg/SVGAnimatedString.h: 21 * svg/SVGClipPathElement.cpp: 22 * svg/SVGClipPathElement.h: 23 * svg/SVGComponentTransferFunctionElement.cpp: 24 * svg/SVGComponentTransferFunctionElement.h: 25 * svg/SVGCursorElement.cpp: 26 * svg/SVGCursorElement.h: 27 * svg/SVGFEBlendElement.cpp: 28 * svg/SVGFEBlendElement.h: 29 * svg/SVGFEColorMatrixElement.cpp: 30 * svg/SVGFEColorMatrixElement.h: 31 * svg/SVGFEComponentTransferElement.cpp: 32 * svg/SVGFEComponentTransferElement.h: 33 * svg/SVGFECompositeElement.cpp: 34 * svg/SVGFECompositeElement.h: 35 * svg/SVGFEConvolveMatrixElement.cpp: 36 * svg/SVGFEConvolveMatrixElement.h: 37 * svg/SVGFEDiffuseLightingElement.cpp: 38 * svg/SVGFEDiffuseLightingElement.h: 39 * svg/SVGFEDisplacementMapElement.cpp: 40 * svg/SVGFEDisplacementMapElement.h: 41 * svg/SVGFEGaussianBlurElement.cpp: 42 * svg/SVGFEGaussianBlurElement.h: 43 * svg/SVGFEImageElement.cpp: 44 * svg/SVGFEImageElement.h: 45 * svg/SVGFELightElement.cpp: 46 * svg/SVGFEMergeNodeElement.cpp: 47 * svg/SVGFEMergeNodeElement.h: 48 * svg/SVGFEMorphologyElement.cpp: 49 * svg/SVGFEMorphologyElement.h: 50 * svg/SVGFEOffsetElement.cpp: 51 * svg/SVGFEOffsetElement.h: 52 * svg/SVGFESpecularLightingElement.cpp: 53 * svg/SVGFESpecularLightingElement.h: 54 * svg/SVGFETileElement.cpp: 55 * svg/SVGFETileElement.h: 56 * svg/SVGFETurbulenceElement.cpp: 57 * svg/SVGFETurbulenceElement.h: 58 * svg/SVGFilterElement.cpp: 59 * svg/SVGFilterElement.h: 60 * svg/SVGFilterPrimitiveStandardAttributes.cpp: 61 * svg/SVGFilterPrimitiveStandardAttributes.h: 62 * svg/SVGForeignObjectElement.cpp: 63 * svg/SVGForeignObjectElement.h: 64 * svg/SVGGradientElement.cpp: 65 * svg/SVGGradientElement.h: 66 * svg/SVGImageElement.cpp: 67 * svg/SVGImageElement.h: 68 * svg/SVGMPathElement.cpp: 69 * svg/SVGMPathElement.h: 70 * svg/SVGMarkerElement.cpp: 71 * svg/SVGMarkerElement.h: 72 * svg/SVGMaskElement.cpp: 73 * svg/SVGMaskElement.h: 74 * svg/SVGPatternElement.cpp: 75 * svg/SVGPatternElement.h: 76 * svg/SVGScriptElement.cpp: 77 * svg/SVGScriptElement.h: 78 * svg/SVGStyledElement.cpp: 79 * svg/SVGStyledElement.h: 80 (WebCore::SVGStyledElement::hasRelativeLengths): 81 (WebCore::SVGStyledElement::supportsMarkers): 82 (WebCore::SVGStyledElement::style): 83 (WebCore::SVGStyledElement::updateRelativeLengthsInformation): 84 (WebCore::SVGStyledElement::selfHasRelativeLengths): 85 (WebCore::SVGStyledElement::isStyled): 86 * svg/SVGTRefElement.cpp: 87 * svg/SVGTRefElement.h: 88 * svg/SVGTextContentElement.cpp: 89 * svg/SVGTextContentElement.h: 90 * svg/SVGTextPathElement.cpp: 91 * svg/SVGTextPathElement.h: 92 * svg/SVGUseElement.cpp: 93 * svg/SVGUseElement.h: 94 1 95 2010-12-02 Patrick Gansterer <paroga@webkit.org> 2 96 -
trunk/WebCore/svg/SVGAElement.cpp
r72518 r73130 48 48 namespace WebCore { 49 49 50 // Animated property definitions 51 DEFINE_ANIMATED_STRING(SVGAElement, SVGNames::targetAttr, SVGTarget, svgTarget) 52 DEFINE_ANIMATED_STRING(SVGAElement, XLinkNames::hrefAttr, Href, href) 53 50 54 inline SVGAElement::SVGAElement(const QualifiedName& tagName, Document* document) 51 55 : SVGStyledTransformableElement(tagName, document) -
trunk/WebCore/svg/SVGAElement.h
r71227 r73130 24 24 25 25 #if ENABLE(SVG) 26 #include "SVGAnimatedPropertyMacros.h"27 26 #include "SVGExternalResourcesRequired.h" 28 27 #include "SVGLangSpace.h" … … 33 32 namespace WebCore { 34 33 35 36 37 38 39 40 41 34 class SVGAElement : public SVGStyledTransformableElement, 35 public SVGURIReference, 36 public SVGTests, 37 public SVGLangSpace, 38 public SVGExternalResourcesRequired { 39 public: 40 static PassRefPtr<SVGAElement> create(const QualifiedName&, Document*); 42 41 43 44 42 private: 43 SVGAElement(const QualifiedName&, Document*); 45 44 46 47 48 49 45 virtual bool isValid() const { return SVGTests::isValid(); } 46 47 virtual String title() const; 48 virtual String target() const { return svgTarget(); } 50 49 51 52 53 50 virtual void parseMappedAttribute(Attribute*); 51 virtual void svgAttributeChanged(const QualifiedName&); 52 virtual void synchronizeProperty(const QualifiedName&); 54 53 55 54 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 56 55 57 58 59 60 61 62 56 virtual void defaultEventHandler(Event*); 57 58 virtual bool supportsFocus() const; 59 virtual bool isMouseFocusable() const; 60 virtual bool isKeyboardFocusable(KeyboardEvent*) const; 61 virtual bool isFocusable() const; 63 62 64 63 virtual bool childShouldCreateRenderer(Node*) const; 65 64 66 // This defines a non-virtual "String& target() const" method before, that would clash with "virtual String target() const" 67 // in Element. That's why it's now named "String& svgTarget() const", to avoid the clash. The CodeGenerators take care 68 // of calling svgTargetAnimated() instead of targetAnimated(), see CodeGenerator.pm. 69 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGAElement, SVGNames::targetAttr, String, SVGTarget, svgTarget) 65 // Animated property declarations 70 66 71 // SVGURIReference 72 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGAElement, XLinkNames::hrefAttr, String, Href, href) 67 // This declaration used to define a non-virtual "String& target() const" method, that clashes with "virtual String Element::target() const". 68 // That's why it has been renamed to "svgTarget", the CodeGenerators take care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGenerator.pm. 69 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) 73 70 74 // SVGExternalResourcesRequired 75 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGAElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) 76 }; 71 // SVGURIReference 72 DECLARE_ANIMATED_STRING(Href, href) 73 74 // SVGExternalResourcesRequired 75 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGAElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) 76 }; 77 77 78 78 } // namespace WebCore 79 79 80 80 #endif // ENABLE(SVG) 81 82 81 #endif // SVGAElement_h -
trunk/WebCore/svg/SVGAltGlyphElement.cpp
r66498 r73130 33 33 34 34 namespace WebCore { 35 36 // Animated property declarations 37 DEFINE_ANIMATED_STRING(SVGAltGlyphElement, XLinkNames::hrefAttr, Href, href) 35 38 36 39 inline SVGAltGlyphElement::SVGAltGlyphElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGAltGlyphElement.h
r71227 r73130 26 26 #include "SVGTextPositioningElement.h" 27 27 #include "SVGURIReference.h" 28 #include <wtf/text/AtomicString.h>29 28 30 29 namespace WebCore { 31 30 32 31 class SVGGlyphElement; 33 32 34 35 36 37 33 class SVGAltGlyphElement : public SVGTextPositioningElement, 34 public SVGURIReference { 35 public: 36 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document*); 38 37 39 const AtomicString& glyphRef() const; 40 void setGlyphRef(const AtomicString&, ExceptionCode&); 41 const AtomicString& format() const; 42 void setFormat(const AtomicString&, ExceptionCode&); 43 44 SVGGlyphElement* glyphElement() const; 38 const AtomicString& glyphRef() const; 39 void setGlyphRef(const AtomicString&, ExceptionCode&); 40 const AtomicString& format() const; 41 void setFormat(const AtomicString&, ExceptionCode&); 45 42 46 private: 47 SVGAltGlyphElement(const QualifiedName&, Document*); 43 SVGGlyphElement* glyphElement() const; 48 44 49 virtual void synchronizeProperty(const QualifiedName&); 45 private: 46 SVGAltGlyphElement(const QualifiedName&, Document*); 50 47 51 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 52 virtual bool childShouldCreateRenderer(Node*) const; 48 virtual void synchronizeProperty(const QualifiedName&); 53 49 54 // SVGURIReference 55 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGAltGlyphElement, XLinkNames::hrefAttr, String, Href, href) 56 }; 50 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 51 virtual bool childShouldCreateRenderer(Node*) const; 52 53 // Animated property declarations 54 55 // SVGURIReference 56 DECLARE_ANIMATED_STRING(Href, href) 57 }; 57 58 58 59 } // namespace WebCore -
trunk/WebCore/svg/SVGAnimatedEnumeration.h
r70872 r73130 22 22 23 23 #if ENABLE(SVG) 24 #include "SVGAnimatedPropertyMacros.h" 24 25 #include "SVGAnimatedStaticPropertyTearOff.h" 25 26 … … 28 29 typedef SVGAnimatedStaticPropertyTearOff<int> SVGAnimatedEnumeration; 29 30 31 // Helper macros to declare/define a SVGAnimatedEnumeration object 32 #define DECLARE_ANIMATED_ENUMERATION(UpperProperty, LowerProperty) \ 33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedEnumeration, int, UpperProperty, LowerProperty) 34 35 #define DEFINE_ANIMATED_ENUMERATION(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \ 36 DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedEnumeration, int, UpperProperty, LowerProperty) 37 38 #define DEFINE_ANIMATED_ENUMERATION_MULTIPLE_WRAPPERS(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, UpperProperty, LowerProperty) \ 39 DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, SVGDOMAttributeIdentifier, SVGAnimatedEnumeration, int, UpperProperty, LowerProperty) 40 30 41 } // namespace WebCore 31 42 -
trunk/WebCore/svg/SVGAnimatedString.h
r71227 r73130 22 22 23 23 #if ENABLE(SVG) 24 #include "SVGAnimatedPropertyMacros.h" 24 25 #include "SVGAnimatedStaticPropertyTearOff.h" 25 #include <wtf/text/WTFString.h>26 26 27 27 namespace WebCore { … … 29 29 typedef SVGAnimatedStaticPropertyTearOff<String> SVGAnimatedString; 30 30 31 // Helper macros to declare/define a SVGAnimatedString object 32 #define DECLARE_ANIMATED_STRING(UpperProperty, LowerProperty) \ 33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedString, String, UpperProperty, LowerProperty) 34 35 #define DEFINE_ANIMATED_STRING(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \ 36 DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedString, String, UpperProperty, LowerProperty) 37 31 38 } // namespace WebCore 32 39 -
trunk/WebCore/svg/SVGClipPathElement.cpp
r72518 r73130 34 34 35 35 namespace WebCore { 36 37 // Animated property definitions 38 DEFINE_ANIMATED_ENUMERATION(SVGClipPathElement, SVGNames::clipPathUnitsAttr, ClipPathUnits, clipPathUnits) 36 39 37 40 inline SVGClipPathElement::SVGClipPathElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGClipPathElement.h
r70872 r73130 23 23 24 24 #if ENABLE(SVG) 25 #include "SVGAnimated PropertyMacros.h"25 #include "SVGAnimatedEnumeration.h" 26 26 #include "SVGExternalResourcesRequired.h" 27 27 #include "SVGLangSpace.h" … … 53 53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 54 54 55 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGClipPathElement, SVGNames::clipPathUnitsAttr, int, ClipPathUnits, clipPathUnits) 55 // Animated property declarations 56 DECLARE_ANIMATED_ENUMERATION(ClipPathUnits, clipPathUnits) 56 57 57 58 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGComponentTransferFunctionElement.cpp
r73024 r73130 32 32 33 33 // Animated property definitions 34 DEFINE_ANIMATED_ENUMERATION(SVGComponentTransferFunctionElement, SVGNames::typeAttr, Type, type) 34 35 DEFINE_ANIMATED_NUMBER_LIST(SVGComponentTransferFunctionElement, SVGNames::tableValuesAttr, TableValues, tableValues) 35 36 DEFINE_ANIMATED_NUMBER(SVGComponentTransferFunctionElement, SVGNames::slopeAttr, Slope, slope) -
trunk/WebCore/svg/SVGComponentTransferFunctionElement.h
r73024 r73130 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 25 #include "FEComponentTransfer.h" 26 #include "SVGAnimatedEnumeration.h" 26 27 #include "SVGAnimatedNumber.h" 27 28 #include "SVGAnimatedNumberList.h" … … 41 42 private: 42 43 // Animated property declarations 43 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::typeAttr, int,Type, type)44 DECLARE_ANIMATED_ENUMERATION(Type, type) 44 45 DECLARE_ANIMATED_NUMBER_LIST(TableValues, tableValues) 45 46 DECLARE_ANIMATED_NUMBER(Slope, slope) -
trunk/WebCore/svg/SVGCursorElement.cpp
r73016 r73130 26 26 #include "Attr.h" 27 27 #include "Document.h" 28 #include "SVGLength.h"29 28 #include "SVGNames.h" 30 29 … … 34 33 DEFINE_ANIMATED_LENGTH(SVGCursorElement, SVGNames::xAttr, X, x) 35 34 DEFINE_ANIMATED_LENGTH(SVGCursorElement, SVGNames::yAttr, Y, y) 35 DEFINE_ANIMATED_STRING(SVGCursorElement, XLinkNames::hrefAttr, Href, href) 36 36 37 37 inline SVGCursorElement::SVGCursorElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGCursorElement.h
r73016 r73130 24 24 #if ENABLE(SVG) 25 25 #include "SVGAnimatedLength.h" 26 #include "SVGAnimated PropertyMacros.h"26 #include "SVGAnimatedString.h" 27 27 #include "SVGElement.h" 28 28 #include "SVGTests.h" … … 60 60 61 61 // SVGURIReference 62 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGCursorElement, XLinkNames::hrefAttr, String,Href, href)62 DECLARE_ANIMATED_STRING(Href, href) 63 63 64 64 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGFEBlendElement.cpp
r72474 r73130 27 27 28 28 namespace WebCore { 29 30 // Animated property definitions 31 DEFINE_ANIMATED_STRING(SVGFEBlendElement, SVGNames::inAttr, In1, in1) 32 DEFINE_ANIMATED_STRING(SVGFEBlendElement, SVGNames::in2Attr, In2, in2) 33 DEFINE_ANIMATED_ENUMERATION(SVGFEBlendElement, SVGNames::modeAttr, Mode, mode) 29 34 30 35 inline SVGFEBlendElement::SVGFEBlendElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFEBlendElement.h
r72474 r73130 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 25 #include "FEBlend.h" 26 #include "SVGAnimatedEnumeration.h" 26 27 #include "SVGFilterPrimitiveStandardAttributes.h" 27 28 28 29 namespace WebCore { 30 29 31 class SVGFEBlendElement : public SVGFilterPrimitiveStandardAttributes { 30 32 public: … … 39 41 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 40 42 41 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEBlendElement, SVGNames::inAttr, String, In1, in1) 42 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEBlendElement, SVGNames::in2Attr, String, In2, in2) 43 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEBlendElement, SVGNames::modeAttr, int, Mode, mode) 43 // Animated property declarations 44 DECLARE_ANIMATED_STRING(In1, in1) 45 DECLARE_ANIMATED_STRING(In2, in2) 46 DECLARE_ANIMATED_ENUMERATION(Mode, mode) 44 47 }; 45 48 … … 48 51 #endif // ENABLE(SVG) 49 52 #endif 50 51 // vim:ts=4:noet -
trunk/WebCore/svg/SVGFEColorMatrixElement.cpp
r73020 r73130 26 26 #include "Attribute.h" 27 27 #include "SVGNames.h" 28 #include "SVGNumberList.h"29 28 30 29 namespace WebCore { 31 30 32 31 // Animated property definitions 32 DEFINE_ANIMATED_STRING(SVGFEColorMatrixElement, SVGNames::inAttr, In1, in1) 33 DEFINE_ANIMATED_ENUMERATION(SVGFEColorMatrixElement, SVGNames::typeAttr, Type, type) 33 34 DEFINE_ANIMATED_NUMBER_LIST(SVGFEColorMatrixElement, SVGNames::valuesAttr, Values, values) 34 35 -
trunk/WebCore/svg/SVGFEColorMatrixElement.h
r73020 r73130 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 25 #include "FEColorMatrix.h" 26 #include "SVGAnimatedEnumeration.h" 26 27 #include "SVGAnimatedNumberList.h" 27 28 #include "SVGFilterPrimitiveStandardAttributes.h" … … 42 43 43 44 // Animated property declarations 44 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEColorMatrixElement, SVGNames::inAttr, String,In1, in1)45 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFEColorMatrixElement, SVGNames::typeAttr, int,Type, type)45 DECLARE_ANIMATED_STRING(In1, in1) 46 DECLARE_ANIMATED_ENUMERATION(Type, type) 46 47 DECLARE_ANIMATED_NUMBER_LIST(Values, values) 47 48 }; -
trunk/WebCore/svg/SVGFEComponentTransferElement.cpp
r72474 r73130 30 30 #include "SVGFEFuncRElement.h" 31 31 #include "SVGNames.h" 32 #include "SVGRenderStyle.h"33 32 34 33 namespace WebCore { 34 35 // Animated property declarations 36 DEFINE_ANIMATED_STRING(SVGFEComponentTransferElement, SVGNames::inAttr, In1, in1) 35 37 36 38 inline SVGFEComponentTransferElement::SVGFEComponentTransferElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFEComponentTransferElement.h
r72474 r73130 23 23 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 #include "FEComponentTransfer.h" 25 26 #include "SVGFilterPrimitiveStandardAttributes.h" 26 #include "FEComponentTransfer.h"27 27 28 28 namespace WebCore { … … 39 39 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 40 40 41 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEComponentTransferElement, SVGNames::inAttr, String, In1, in1) 41 // Animated property declarations 42 DECLARE_ANIMATED_STRING(In1, in1) 42 43 }; 43 44 -
trunk/WebCore/svg/SVGFECompositeElement.cpp
r73024 r73130 30 30 31 31 // Animated property definitions 32 DEFINE_ANIMATED_STRING(SVGFECompositeElement, SVGNames::inAttr, In1, in1) 33 DEFINE_ANIMATED_STRING(SVGFECompositeElement, SVGNames::in2Attr, In2, in2) 34 DEFINE_ANIMATED_ENUMERATION(SVGFECompositeElement, SVGNames::operatorAttr, _operator, _operator) 32 35 DEFINE_ANIMATED_NUMBER(SVGFECompositeElement, SVGNames::k1Attr, K1, k1) 33 36 DEFINE_ANIMATED_NUMBER(SVGFECompositeElement, SVGNames::k2Attr, K2, k2) -
trunk/WebCore/svg/SVGFECompositeElement.h
r73024 r73130 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 25 #include "FEComposite.h" 26 #include "SVGAnimatedEnumeration.h" 26 27 #include "SVGAnimatedNumber.h" 27 28 #include "SVGFilterPrimitiveStandardAttributes.h" … … 42 43 43 44 // Animated property declarations 44 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFECompositeElement, SVGNames::inAttr, String,In1, in1)45 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFECompositeElement, SVGNames::in2Attr, String,In2, in2)46 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFECompositeElement, SVGNames::operatorAttr, int,_operator, _operator)45 DECLARE_ANIMATED_STRING(In1, in1) 46 DECLARE_ANIMATED_STRING(In2, in2) 47 DECLARE_ANIMATED_ENUMERATION(_operator, _operator) 47 48 DECLARE_ANIMATED_NUMBER(K1, k1) 48 49 DECLARE_ANIMATED_NUMBER(K2, k2) -
trunk/WebCore/svg/SVGFEConvolveMatrixElement.cpp
r73024 r73130 33 33 34 34 // Animated property definitions 35 DEFINE_ANIMATED_STRING(SVGFEConvolveMatrixElement, SVGNames::inAttr, In1, in1) 35 36 DEFINE_ANIMATED_NUMBER_LIST(SVGFEConvolveMatrixElement, SVGNames::kernelMatrixAttr, KernelMatrix, kernelMatrix) 36 37 DEFINE_ANIMATED_NUMBER(SVGFEConvolveMatrixElement, SVGNames::divisorAttr, Divisor, divisor) 37 38 DEFINE_ANIMATED_NUMBER(SVGFEConvolveMatrixElement, SVGNames::biasAttr, Bias, bias) 39 DEFINE_ANIMATED_ENUMERATION(SVGFEConvolveMatrixElement, SVGNames::operatorAttr, EdgeMode, edgeMode) 38 40 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEConvolveMatrixElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthXIdentifier(), KernelUnitLengthX, kernelUnitLengthX) 39 41 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEConvolveMatrixElement, SVGNames::kernelUnitLengthAttr, kernelUnitLengthYIdentifier(), KernelUnitLengthY, kernelUnitLengthY) -
trunk/WebCore/svg/SVGFEConvolveMatrixElement.h
r73024 r73130 23 23 #if ENABLE(SVG) && ENABLE(FILTERS) 24 24 #include "FEConvolveMatrix.h" 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedNumber.h" 26 27 #include "SVGAnimatedNumberList.h" … … 49 50 50 51 // Animated property declarations 51 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::inAttr, String,In1, in1)52 DECLARE_ANIMATED_STRING(In1, in1) 52 53 DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGFEConvolveMatrixElement, SVGNames::orderAttr, orderXIdentifier(), long, OrderX, orderX) 53 54 DECLARE_ANIMATED_STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGFEConvolveMatrixElement, SVGNames::orderAttr, orderYIdentifier(), long, OrderY, orderY) … … 57 58 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::targetXAttr, long, TargetX, targetX) 58 59 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::targetYAttr, long, TargetY, targetY) 59 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFEConvolveMatrixElement, SVGNames::operatorAttr, int,EdgeMode, edgeMode)60 DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode) 60 61 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) 61 62 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) -
trunk/WebCore/svg/SVGFEDiffuseLightingElement.cpp
r73024 r73130 25 25 #include "Attr.h" 26 26 #include "FEDiffuseLighting.h" 27 #include "RenderStyle.h" 27 28 #include "SVGColor.h" 28 29 #include "SVGFELightElement.h" 29 30 #include "SVGNames.h" 30 31 #include "SVGParserUtilities.h" 31 #include "SVGRenderStyle.h"32 32 33 33 namespace WebCore { 34 34 35 35 // Animated property definitions 36 DEFINE_ANIMATED_STRING(SVGFEDiffuseLightingElement, SVGNames::inAttr, In1, in1) 36 37 DEFINE_ANIMATED_NUMBER(SVGFEDiffuseLightingElement, SVGNames::diffuseConstantAttr, DiffuseConstant, diffuseConstant) 37 38 DEFINE_ANIMATED_NUMBER(SVGFEDiffuseLightingElement, SVGNames::surfaceScaleAttr, SurfaceScale, surfaceScale) -
trunk/WebCore/svg/SVGFEDiffuseLightingElement.h
r73024 r73130 48 48 49 49 // Animated property declarations 50 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEDiffuseLightingElement, SVGNames::inAttr, String,In1, in1)50 DECLARE_ANIMATED_STRING(In1, in1) 51 51 DECLARE_ANIMATED_NUMBER(DiffuseConstant, diffuseConstant) 52 52 DECLARE_ANIMATED_NUMBER(SurfaceScale, surfaceScale) -
trunk/WebCore/svg/SVGFEDisplacementMapElement.cpp
r73024 r73130 28 28 29 29 // Animated property definitions 30 DEFINE_ANIMATED_STRING(SVGFEDisplacementMapElement, SVGNames::inAttr, In1, in1) 31 DEFINE_ANIMATED_STRING(SVGFEDisplacementMapElement, SVGNames::in2Attr, In2, in2) 32 DEFINE_ANIMATED_ENUMERATION(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, XChannelSelector, xChannelSelector) 33 DEFINE_ANIMATED_ENUMERATION(SVGFEDisplacementMapElement, SVGNames::yChannelSelectorAttr, YChannelSelector, yChannelSelector) 30 34 DEFINE_ANIMATED_NUMBER(SVGFEDisplacementMapElement, SVGNames::scaleAttr, Scale, scale) 31 35 -
trunk/WebCore/svg/SVGFEDisplacementMapElement.h
r73024 r73130 23 23 #if ENABLE(SVG) && ENABLE(FILTERS) 24 24 #include "FEDisplacementMap.h" 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedNumber.h" 26 27 #include "SVGFilterPrimitiveStandardAttributes.h" … … 43 44 44 45 // Animated property declarations 45 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::inAttr, String,In1, in1)46 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::in2Attr, String,In2, in2)47 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, int,XChannelSelector, xChannelSelector)48 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::yChannelSelectorAttr, int,YChannelSelector, yChannelSelector)46 DECLARE_ANIMATED_STRING(In1, in1) 47 DECLARE_ANIMATED_STRING(In2, in2) 48 DECLARE_ANIMATED_ENUMERATION(XChannelSelector, xChannelSelector) 49 DECLARE_ANIMATED_ENUMERATION(YChannelSelector, yChannelSelector) 49 50 DECLARE_ANIMATED_NUMBER(Scale, scale) 50 51 }; -
trunk/WebCore/svg/SVGFEGaussianBlurElement.cpp
r73024 r73130 31 31 32 32 // Animated property definitions 33 DEFINE_ANIMATED_STRING(SVGFEGaussianBlurElement, SVGNames::inAttr, In1, in1) 33 34 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, stdDeviationXIdentifier(), StdDeviationX, stdDeviationX) 34 35 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEGaussianBlurElement, SVGNames::stdDeviationAttr, stdDeviationYIdentifier(), StdDeviationY, stdDeviationY) -
trunk/WebCore/svg/SVGFEGaussianBlurElement.h
r73024 r73130 47 47 48 48 // Animated property declarations 49 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEGaussianBlurElement, SVGNames::inAttr, String,In1, in1)49 DECLARE_ANIMATED_STRING(In1, in1) 50 50 DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX) 51 51 DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY) -
trunk/WebCore/svg/SVGFEImageElement.cpp
r72474 r73130 33 33 #include "RenderSVGResource.h" 34 34 #include "SVGImageBufferTools.h" 35 #include "SVGLength.h"36 35 #include "SVGNames.h" 37 36 #include "SVGPreserveAspectRatio.h" 38 37 39 38 namespace WebCore { 39 40 // Animated property definitions 41 DEFINE_ANIMATED_STRING(SVGFEImageElement, XLinkNames::hrefAttr, Href, href) 40 42 41 43 inline SVGFEImageElement::SVGFEImageElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFEImageElement.h
r72474 r73130 58 58 void requestImageResource(); 59 59 60 // Animated property declarations 60 61 DECLARE_ANIMATED_PROPERTY_NEW(SVGFEImageElement, SVGNames::preserveAspectRatioAttr, SVGPreserveAspectRatio, PreserveAspectRatio, preserveAspectRatio) 61 62 62 63 // SVGURIReference 63 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEImageElement, XLinkNames::hrefAttr, String,Href, href)64 DECLARE_ANIMATED_STRING(Href, href) 64 65 65 66 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGFELightElement.cpp
r73024 r73130 26 26 27 27 #include "Attribute.h" 28 #include "RenderObject.h" 28 29 #include "RenderSVGResource.h" 29 30 #include "SVGFilterElement.h" -
trunk/WebCore/svg/SVGFEMergeNodeElement.cpp
r72259 r73130 25 25 26 26 #include "Attribute.h" 27 #include "RenderObject.h" 27 28 #include "RenderSVGResource.h" 28 29 #include "SVGFilterElement.h" 29 30 30 31 namespace WebCore { 32 33 // Animated property definitions 34 DEFINE_ANIMATED_STRING(SVGFEMergeNodeElement, SVGNames::inAttr, In1, in1) 31 35 32 36 inline SVGFEMergeNodeElement::SVGFEMergeNodeElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFEMergeNodeElement.h
r71227 r73130 23 23 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 #include "SVGAnimated PropertyMacros.h"25 #include "SVGAnimatedString.h" 26 26 #include "SVGElement.h" 27 27 28 28 namespace WebCore { 29 29 30 31 32 30 class SVGFEMergeNodeElement : public SVGElement { 31 public: 32 static PassRefPtr<SVGFEMergeNodeElement> create(const QualifiedName&, Document*); 33 33 34 35 34 private: 35 SVGFEMergeNodeElement(const QualifiedName&, Document*); 36 36 37 38 39 37 virtual void parseMappedAttribute(Attribute*); 38 virtual void svgAttributeChanged(const QualifiedName&); 39 virtual void synchronizeProperty(const QualifiedName&); 40 40 41 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEMergeNodeElement, SVGNames::inAttr, String, In1, in1) 42 }; 41 // Animated property declarations 42 DECLARE_ANIMATED_STRING(In1, in1) 43 }; 43 44 44 45 } // namespace WebCore -
trunk/WebCore/svg/SVGFEMorphologyElement.cpp
r73024 r73130 30 30 31 31 // Animated property definitions 32 DEFINE_ANIMATED_STRING(SVGFEMorphologyElement, SVGNames::inAttr, In1, in1) 33 DEFINE_ANIMATED_ENUMERATION(SVGFEMorphologyElement, SVGNames::operatorAttr, _operator, _operator) 32 34 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEMorphologyElement, SVGNames::radiusAttr, radiusXIdentifier(), RadiusX, radiusX) 33 35 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFEMorphologyElement, SVGNames::radiusAttr, radiusYIdentifier(), RadiusY, radiusY) -
trunk/WebCore/svg/SVGFEMorphologyElement.h
r73024 r73130 23 23 #if ENABLE(SVG) && ENABLE(FILTERS) 24 24 #include "FEMorphology.h" 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedNumber.h" 26 27 #include "SVGFilterPrimitiveStandardAttributes.h" … … 46 47 47 48 // Animated property declarations 48 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEMorphologyElement, SVGNames::inAttr, String,In1, in1)49 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFEMorphologyElement, SVGNames::operatorAttr, int,_operator, _operator)49 DECLARE_ANIMATED_STRING(In1, in1) 50 DECLARE_ANIMATED_ENUMERATION(_operator, _operator) 50 51 DECLARE_ANIMATED_NUMBER(RadiusX, radiusX) 51 52 DECLARE_ANIMATED_NUMBER(RadiusY, radiusY) -
trunk/WebCore/svg/SVGFEOffsetElement.cpp
r73024 r73130 29 29 30 30 // Animated property definitions 31 DEFINE_ANIMATED_STRING(SVGFEOffsetElement, SVGNames::inAttr, In1, in1) 31 32 DEFINE_ANIMATED_NUMBER(SVGFEOffsetElement, SVGNames::dxAttr, Dx, dx) 32 33 DEFINE_ANIMATED_NUMBER(SVGFEOffsetElement, SVGNames::dyAttr, Dy, dy) -
trunk/WebCore/svg/SVGFEOffsetElement.h
r73024 r73130 42 42 43 43 // Animated property declarations 44 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFEOffsetElement, SVGNames::inAttr, String,In1, in1)44 DECLARE_ANIMATED_STRING(In1, in1) 45 45 DECLARE_ANIMATED_NUMBER(Dx, dx) 46 46 DECLARE_ANIMATED_NUMBER(Dy, dy) -
trunk/WebCore/svg/SVGFESpecularLightingElement.cpp
r73024 r73130 26 26 27 27 #include "Attribute.h" 28 #include "RenderStyle.h" 28 29 #include "SVGColor.h" 29 30 #include "SVGFELightElement.h" … … 34 35 35 36 // Animated property definitions 37 DEFINE_ANIMATED_STRING(SVGFESpecularLightingElement, SVGNames::inAttr, In1, in1) 36 38 DEFINE_ANIMATED_NUMBER(SVGFESpecularLightingElement, SVGNames::specularConstantAttr, SpecularConstant, specularConstant) 37 39 DEFINE_ANIMATED_NUMBER(SVGFESpecularLightingElement, SVGNames::specularExponentAttr, SpecularExponent, specularExponent) -
trunk/WebCore/svg/SVGFESpecularLightingElement.h
r73024 r73130 45 45 46 46 // Animated property declarations 47 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFESpecularLightingElement, SVGNames::inAttr, String,In1, in1)47 DECLARE_ANIMATED_STRING(In1, in1) 48 48 DECLARE_ANIMATED_NUMBER(SpecularConstant, specularConstant) 49 49 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) -
trunk/WebCore/svg/SVGFETileElement.cpp
r72474 r73130 28 28 29 29 namespace WebCore { 30 31 // Animated property definitions 32 DEFINE_ANIMATED_STRING(SVGFETileElement, SVGNames::inAttr, In1, in1) 30 33 31 34 inline SVGFETileElement::SVGFETileElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFETileElement.h
r72474 r73130 40 40 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 41 41 42 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFETileElement, SVGNames::inAttr, String, In1, in1) 42 // Animated property declarations 43 DECLARE_ANIMATED_STRING(In1, in1) 43 44 }; 44 45 -
trunk/WebCore/svg/SVGFETurbulenceElement.cpp
r73024 r73130 33 33 DEFINE_ANIMATED_NUMBER_MULTIPLE_WRAPPERS(SVGFETurbulenceElement, SVGNames::baseFrequencyAttr, baseFrequencyYIdentifier(), BaseFrequencyY, baseFrequencyY) 34 34 DEFINE_ANIMATED_NUMBER(SVGFETurbulenceElement, SVGNames::seedAttr, Seed, seed) 35 DEFINE_ANIMATED_ENUMERATION(SVGFETurbulenceElement, SVGNames::stitchTilesAttr, StitchTiles, stitchTiles) 36 DEFINE_ANIMATED_ENUMERATION(SVGFETurbulenceElement, SVGNames::typeAttr, Type, type) 35 37 36 38 inline SVGFETurbulenceElement::SVGFETurbulenceElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFETurbulenceElement.h
r73024 r73130 24 24 #if ENABLE(SVG) && ENABLE(FILTERS) 25 25 #include "FETurbulence.h" 26 #include "SVGAnimatedEnumeration.h" 26 27 #include "SVGAnimatedNumber.h" 27 28 #include "SVGFilterPrimitiveStandardAttributes.h" … … 55 56 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::numOctavesAttr, long, NumOctaves, numOctaves) 56 57 DECLARE_ANIMATED_NUMBER(Seed, seed) 57 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::stitchTilesAttr, int,StitchTiles, stitchTiles)58 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFETurbulenceElement, SVGNames::typeAttr, int,Type, type)58 DECLARE_ANIMATED_ENUMERATION(StitchTiles, stitchTiles) 59 DECLARE_ANIMATED_ENUMERATION(Type, type) 59 60 }; 60 61 -
trunk/WebCore/svg/SVGFilterElement.cpp
r73016 r73130 28 28 29 29 #include "Attr.h" 30 #include "FloatSize.h"31 #include "PlatformString.h"32 30 #include "RenderSVGResourceFilter.h" 33 31 #include "SVGFilterBuilder.h" 34 32 #include "SVGFilterPrimitiveStandardAttributes.h" 35 #include "SVGLength.h"36 33 #include "SVGNames.h" 37 34 #include "SVGParserUtilities.h" … … 41 38 42 39 // Animated property definitions 40 DEFINE_ANIMATED_ENUMERATION(SVGFilterElement, SVGNames::filterUnitsAttr, FilterUnits, filterUnits) 41 DEFINE_ANIMATED_ENUMERATION(SVGFilterElement, SVGNames::primitiveUnitsAttr, PrimitiveUnits, primitiveUnits) 43 42 DEFINE_ANIMATED_LENGTH(SVGFilterElement, SVGNames::xAttr, X, x) 44 43 DEFINE_ANIMATED_LENGTH(SVGFilterElement, SVGNames::yAttr, Y, y) 45 44 DEFINE_ANIMATED_LENGTH(SVGFilterElement, SVGNames::widthAttr, Width, width) 46 45 DEFINE_ANIMATED_LENGTH(SVGFilterElement, SVGNames::heightAttr, Height, height) 46 DEFINE_ANIMATED_STRING(SVGFilterElement, XLinkNames::hrefAttr, Href, href) 47 47 48 48 inline SVGFilterElement::SVGFilterElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFilterElement.h
r73016 r73130 25 25 26 26 #if ENABLE(SVG) && ENABLE(FILTERS) 27 #include "SVGAnimatedEnumeration.h" 27 28 #include "SVGAnimatedLength.h" 28 #include "SVGAnimatedPropertyMacros.h"29 #include "RenderObject.h"30 29 #include "SVGExternalResourcesRequired.h" 31 30 #include "SVGLangSpace.h" … … 63 62 64 63 // Animated property declarations 65 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFilterElement, SVGNames::filterUnitsAttr, int,FilterUnits, filterUnits)66 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGFilterElement, SVGNames::primitiveUnitsAttr, int,PrimitiveUnits, primitiveUnits)64 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits) 65 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits) 67 66 DECLARE_ANIMATED_LENGTH(X, x) 68 67 DECLARE_ANIMATED_LENGTH(Y, y) … … 74 73 75 74 // SVGURIReference 76 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFilterElement, XLinkNames::hrefAttr, String,Href, href)75 DECLARE_ANIMATED_STRING(Href, href) 77 76 78 77 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
r73016 r73130 40 40 DEFINE_ANIMATED_LENGTH(SVGFilterPrimitiveStandardAttributes, SVGNames::widthAttr, Width, width) 41 41 DEFINE_ANIMATED_LENGTH(SVGFilterPrimitiveStandardAttributes, SVGNames::heightAttr, Height, height) 42 DEFINE_ANIMATED_STRING(SVGFilterPrimitiveStandardAttributes, SVGNames::resultAttr, Result, result) 42 43 43 44 SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGFilterPrimitiveStandardAttributes.h
r73016 r73130 26 26 #include "RenderSVGResource.h" 27 27 #include "SVGAnimatedLength.h" 28 #include "SVGAnimatedPropertyMacros.h"29 28 #include "SVGFilterBuilder.h" 30 29 #include "SVGFilterElement.h" … … 68 67 DECLARE_ANIMATED_LENGTH(Width, width) 69 68 DECLARE_ANIMATED_LENGTH(Height, height) 70 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGFilterPrimitiveStandardAttributes, SVGNames::resultAttr, String,Result, result)69 DECLARE_ANIMATED_STRING(Result, result) 71 70 }; 72 71 -
trunk/WebCore/svg/SVGForeignObjectElement.cpp
r73016 r73130 39 39 DEFINE_ANIMATED_LENGTH(SVGForeignObjectElement, SVGNames::widthAttr, Width, width) 40 40 DEFINE_ANIMATED_LENGTH(SVGForeignObjectElement, SVGNames::heightAttr, Height, height) 41 DEFINE_ANIMATED_STRING(SVGForeignObjectElement, XLinkNames::hrefAttr, Href, href) 41 42 42 43 inline SVGForeignObjectElement::SVGForeignObjectElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGForeignObjectElement.h
r73016 r73130 59 59 60 60 // SVGURIReference 61 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGForeignObjectElement, XLinkNames::hrefAttr, String,Href, href)61 DECLARE_ANIMATED_STRING(Href, href) 62 62 63 63 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGGradientElement.cpp
r73020 r73130 40 40 41 41 // Animated property definitions 42 DEFINE_ANIMATED_ENUMERATION(SVGGradientElement, SVGNames::spreadMethodAttr, SpreadMethod, spreadMethod) 43 DEFINE_ANIMATED_ENUMERATION(SVGGradientElement, SVGNames::gradientUnitsAttr, GradientUnits, gradientUnits) 42 44 DEFINE_ANIMATED_TRANSFORM_LIST(SVGGradientElement, SVGNames::gradientTransformAttr, GradientTransform, gradientTransform) 45 DEFINE_ANIMATED_STRING(SVGGradientElement, XLinkNames::hrefAttr, Href, href) 43 46 44 47 SVGGradientElement::SVGGradientElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGGradientElement.h
r73020 r73130 24 24 #if ENABLE(SVG) 25 25 #include "Gradient.h" 26 #include "SVGAnimated PropertyMacros.h"26 #include "SVGAnimatedEnumeration.h" 27 27 #include "SVGAnimatedTransformList.h" 28 28 #include "SVGExternalResourcesRequired.h" … … 51 51 52 52 // Animated property declarations 53 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGGradientElement, SVGNames::spreadMethodAttr, int,SpreadMethod, spreadMethod)54 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGGradientElement, SVGNames::gradientUnitsAttr, int,GradientUnits, gradientUnits)53 DECLARE_ANIMATED_ENUMERATION(SpreadMethod, spreadMethod) 54 DECLARE_ANIMATED_ENUMERATION(GradientUnits, gradientUnits) 55 55 DECLARE_ANIMATED_TRANSFORM_LIST(GradientTransform, gradientTransform) 56 56 57 57 // SVGURIReference 58 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGGradientElement, XLinkNames::hrefAttr, String,Href, href)58 DECLARE_ANIMATED_STRING(Href, href) 59 59 60 60 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGImageElement.cpp
r73016 r73130 43 43 DEFINE_ANIMATED_LENGTH(SVGImageElement, SVGNames::widthAttr, Width, width) 44 44 DEFINE_ANIMATED_LENGTH(SVGImageElement, SVGNames::heightAttr, Height, height) 45 DEFINE_ANIMATED_STRING(SVGImageElement, XLinkNames::hrefAttr, Href, href) 45 46 46 47 inline SVGImageElement::SVGImageElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGImageElement.h
r73016 r73130 73 73 74 74 // SVGURIReference 75 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGImageElement, XLinkNames::hrefAttr, String,Href, href)75 DECLARE_ANIMATED_STRING(Href, href) 76 76 77 77 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGMPathElement.cpp
r66498 r73130 27 27 28 28 namespace WebCore { 29 30 // Animated property definitions 31 DEFINE_ANIMATED_STRING(SVGMPathElement, XLinkNames::hrefAttr, Href, href) 29 32 30 33 inline SVGMPathElement::SVGMPathElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGMPathElement.h
r71227 r73130 22 22 23 23 #if ENABLE(SVG) 24 #include "SVGAnimated PropertyMacros.h"24 #include "SVGAnimatedString.h" 25 25 #include "SVGExternalResourcesRequired.h" 26 26 #include "SVGURIReference.h" … … 28 28 namespace WebCore { 29 29 30 class SVGPathElement; 30 class SVGPathElement; 31 32 class SVGMPathElement : public SVGElement, 33 public SVGURIReference, 34 public SVGExternalResourcesRequired { 35 public: 36 static PassRefPtr<SVGMPathElement> create(const QualifiedName&, Document*); 37 38 SVGPathElement* pathElement(); 31 39 32 class SVGMPathElement : public SVGElement, 33 public SVGURIReference,34 public SVGExternalResourcesRequired {35 public:36 static PassRefPtr<SVGMPathElement> create(const QualifiedName&, Document*);40 private: 41 SVGMPathElement(const QualifiedName&, Document*); 42 43 virtual void parseMappedAttribute(Attribute*); 44 virtual void synchronizeProperty(const QualifiedName&); 37 45 38 SVGPathElement* pathElement(); 39 40 private: 41 SVGMPathElement(const QualifiedName&, Document*); 42 43 virtual void parseMappedAttribute(Attribute*); 44 virtual void synchronizeProperty(const QualifiedName&); 45 46 // SVGURIReference 47 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMPathElement, XLinkNames::hrefAttr, String, Href, href) 46 // Animated property declarations 48 47 49 // SVGExternalResourcesRequired 50 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMPathElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) 51 }; 48 // SVGURIReference 49 DECLARE_ANIMATED_STRING(Href, href) 50 51 // SVGExternalResourcesRequired 52 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGMPathElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) 53 }; 52 54 53 55 } // namespace WebCore -
trunk/WebCore/svg/SVGMarkerElement.cpp
r73016 r73130 41 41 DEFINE_ANIMATED_LENGTH(SVGMarkerElement, SVGNames::markerWidthAttr, MarkerWidth, markerWidth) 42 42 DEFINE_ANIMATED_LENGTH(SVGMarkerElement, SVGNames::markerHeightAttr, MarkerHeight, markerHeight) 43 43 DEFINE_ANIMATED_ENUMERATION(SVGMarkerElement, SVGNames::markerUnitsAttr, MarkerUnits, markerUnits) 44 DEFINE_ANIMATED_ENUMERATION_MULTIPLE_WRAPPERS(SVGMarkerElement, SVGNames::orientAttr, orientTypeIdentifier(), OrientType, orientType) 45 44 46 inline SVGMarkerElement::SVGMarkerElement(const QualifiedName& tagName, Document* document) 45 47 : SVGStyledElement(tagName, document) -
trunk/WebCore/svg/SVGMarkerElement.h
r73016 r73130 25 25 #include "RenderObject.h" 26 26 #include "SVGAngle.h" 27 #include "SVGAnimatedEnumeration.h" 27 28 #include "SVGAnimatedLength.h" 28 #include "SVGAnimatedPropertyMacros.h"29 29 #include "SVGExternalResourcesRequired.h" 30 30 #include "SVGFitToViewBox.h" … … 84 84 DECLARE_ANIMATED_LENGTH(MarkerWidth, markerWidth) 85 85 DECLARE_ANIMATED_LENGTH(MarkerHeight, markerHeight) 86 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGMarkerElement, SVGNames::markerUnitsAttr, int,MarkerUnits, markerUnits)87 DECLARE_ANIMATED_ STATIC_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGMarkerElement, SVGNames::orientAttr, orientTypeIdentifier(), int,OrientType, orientType)86 DECLARE_ANIMATED_ENUMERATION(MarkerUnits, markerUnits) 87 DECLARE_ANIMATED_ENUMERATION(OrientType, orientType) 88 88 DECLARE_ANIMATED_PROPERTY_MULTIPLE_WRAPPERS_NEW(SVGMarkerElement, SVGNames::orientAttr, orientAngleIdentifier(), SVGAngle, OrientAngle, orientAngle) 89 89 -
trunk/WebCore/svg/SVGMaskElement.cpp
r73016 r73130 37 37 38 38 // Animated property definitions 39 DEFINE_ANIMATED_ENUMERATION(SVGMaskElement, SVGNames::maskUnitsAttr, MaskUnits, maskUnits) 40 DEFINE_ANIMATED_ENUMERATION(SVGMaskElement, SVGNames::maskContentUnitsAttr, MaskContentUnits, maskContentUnits) 39 41 DEFINE_ANIMATED_LENGTH(SVGMaskElement, SVGNames::xAttr, X, x) 40 42 DEFINE_ANIMATED_LENGTH(SVGMaskElement, SVGNames::yAttr, Y, y) -
trunk/WebCore/svg/SVGMaskElement.h
r73016 r73130 23 23 #if ENABLE(SVG) 24 24 #include "RenderObject.h" 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedLength.h" 26 #include "SVGAnimatedPropertyMacros.h"27 27 #include "SVGExternalResourcesRequired.h" 28 28 #include "SVGLangSpace.h" … … 57 57 58 58 // Animated property declarations 59 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGMaskElement, SVGNames::maskUnitsAttr, int,MaskUnits, maskUnits)60 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGMaskElement, SVGNames::maskContentUnitsAttr, int,MaskContentUnits, maskContentUnits)59 DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits) 60 DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits) 61 61 DECLARE_ANIMATED_LENGTH(X, x) 62 62 DECLARE_ANIMATED_LENGTH(Y, y) -
trunk/WebCore/svg/SVGPatternElement.cpp
r73020 r73130 48 48 DEFINE_ANIMATED_LENGTH(SVGPatternElement, SVGNames::widthAttr, Width, width) 49 49 DEFINE_ANIMATED_LENGTH(SVGPatternElement, SVGNames::heightAttr, Height, height) 50 DEFINE_ANIMATED_ENUMERATION(SVGPatternElement, SVGNames::patternUnitsAttr, PatternUnits, patternUnits) 51 DEFINE_ANIMATED_ENUMERATION(SVGPatternElement, SVGNames::patternContentUnitsAttr, PatternContentUnits, patternContentUnits) 50 52 DEFINE_ANIMATED_TRANSFORM_LIST(SVGPatternElement, SVGNames::patternTransformAttr, PatternTransform, patternTransform) 53 DEFINE_ANIMATED_STRING(SVGPatternElement, XLinkNames::hrefAttr, Href, href) 51 54 52 55 inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGPatternElement.h
r73020 r73130 23 23 24 24 #if ENABLE(SVG) 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedLength.h" 26 #include "SVGAnimatedPropertyMacros.h"27 27 #include "SVGAnimatedTransformList.h" 28 28 #include "SVGExternalResourcesRequired.h" … … 70 70 DECLARE_ANIMATED_LENGTH(Width, width) 71 71 DECLARE_ANIMATED_LENGTH(Height, height) 72 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGPatternElement, SVGNames::patternUnitsAttr, int,PatternUnits, patternUnits)73 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGPatternElement, SVGNames::patternContentUnitsAttr, int,PatternContentUnits, patternContentUnits)72 DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits) 73 DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits) 74 74 DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform) 75 75 76 76 // SVGURIReference 77 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGPatternElement, XLinkNames::hrefAttr, String,Href, href)77 DECLARE_ANIMATED_STRING(Href, href) 78 78 79 79 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGScriptElement.cpp
r72995 r73130 32 32 namespace WebCore { 33 33 34 // Animated property definitions 35 DEFINE_ANIMATED_STRING(SVGScriptElement, XLinkNames::hrefAttr, Href, href) 36 34 37 inline SVGScriptElement::SVGScriptElement(const QualifiedName& tagName, Document* document, bool wasInsertedByParser, bool wasAlreadyStarted) 35 38 : SVGElement(tagName, document) -
trunk/WebCore/svg/SVGScriptElement.h
r72995 r73130 23 23 24 24 #if ENABLE(SVG) 25 #include "SVGAnimated PropertyMacros.h"25 #include "SVGAnimatedString.h" 26 26 #include "SVGElement.h" 27 27 #include "SVGExternalResourcesRequired.h" … … 31 31 namespace WebCore { 32 32 33 34 35 36 37 38 33 class SVGScriptElement : public SVGElement 34 , public SVGURIReference 35 , public SVGExternalResourcesRequired 36 , public ScriptElement { 37 public: 38 static PassRefPtr<SVGScriptElement> create(const QualifiedName&, Document*, bool wasInsertedByParser); 39 39 40 41 40 String type() const; 41 void setType(const String&); 42 42 43 44 43 private: 44 SVGScriptElement(const QualifiedName&, Document*, bool wasInsertedByParser, bool wasAlreadyStarted); 45 45 46 47 48 49 46 virtual void parseMappedAttribute(Attribute*); 47 virtual void insertedIntoDocument(); 48 virtual void removedFromDocument(); 49 virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); 50 50 51 52 53 54 51 virtual void svgAttributeChanged(const QualifiedName&); 52 virtual void synchronizeProperty(const QualifiedName&); 53 virtual bool isURLAttribute(Attribute*) const; 54 virtual void finishParsingChildren(); 55 55 56 56 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; 57 57 58 58 virtual bool haveLoadedRequiredResources(); 59 59 60 61 62 63 64 65 66 67 60 virtual String sourceAttributeValue() const; 61 virtual String charsetAttributeValue() const; 62 virtual String typeAttributeValue() const; 63 virtual String languageAttributeValue() const; 64 virtual String forAttributeValue() const; 65 virtual String eventAttributeValue() const; 66 virtual bool asyncAttributeValue() const; 67 virtual bool deferAttributeValue() const; 68 68 69 70 69 virtual void dispatchLoadEvent(); 70 virtual void dispatchErrorEvent(); 71 71 72 72 PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() const; 73 73 74 // SVGURIReference 75 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGScriptElement, XLinkNames::hrefAttr, String, Href, href) 74 // Animated property declarations 76 75 77 // SVGExternalResourcesRequired78 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGScriptElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired)76 // SVGURIReference 77 DECLARE_ANIMATED_STRING(Href, href) 79 78 80 String m_type; 81 }; 79 // SVGExternalResourcesRequired 80 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGScriptElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) 81 82 String m_type; 83 }; 82 84 83 85 } // namespace WebCore -
trunk/WebCore/svg/SVGStyledElement.cpp
r72259 r73130 46 46 47 47 namespace WebCore { 48 49 // Animated property definitions 50 DEFINE_ANIMATED_STRING(SVGStyledElement, HTMLNames::classAttr, ClassName, className) 48 51 49 52 using namespace SVGNames; -
trunk/WebCore/svg/SVGStyledElement.h
r71227 r73130 23 23 24 24 #if ENABLE(SVG) 25 #include "SVGAnimatedPropertyMacros.h" 26 #include "HTMLNames.h" 25 #include "SVGAnimatedString.h" 27 26 #include "SVGLocatable.h" 28 27 #include "SVGStylable.h" … … 31 30 namespace WebCore { 32 31 33 32 void mapAttributeToCSSProperty(HashMap<AtomicStringImpl*, int>* propertyNameToIdMap, const QualifiedName& attrName); 34 33 35 36 37 38 34 class SVGStyledElement : public SVGElement, 35 public SVGStylable { 36 public: 37 virtual ~SVGStyledElement(); 39 38 40 39 virtual String title() const; 41 40 42 41 bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEmpty(); } 43 42 44 43 virtual bool supportsMarkers() const { return false; } 45 44 46 45 virtual PassRefPtr<CSSValue> getPresentationAttribute(const String& name); 47 46 48 47 bool isKnownAttribute(const QualifiedName&); 49 48 50 51 49 // Centralized place to force a manual style resolution. Hacky but needed for now. 50 PassRefPtr<RenderStyle> resolveStyle(RenderStyle* parentStyle); 52 51 53 54 52 bool instanceUpdatesBlocked() const; 53 void setInstanceUpdatesBlocked(bool); 55 54 56 55 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope) const; 57 56 58 57 virtual CSSStyleDeclaration* style() { return StyledElement::style(); } 59 58 60 61 59 protected: 60 SVGStyledElement(const QualifiedName&, Document*); 62 61 63 62 virtual bool rendererIsNeeded(RenderStyle*); 64 63 65 66 67 68 64 virtual bool mapToEntry(const QualifiedName&, MappedAttributeEntry&) const; 65 virtual void parseMappedAttribute(Attribute*); 66 virtual void svgAttributeChanged(const QualifiedName&); 67 virtual void synchronizeProperty(const QualifiedName&); 69 68 70 71 72 73 69 virtual void attach(); 70 virtual void insertedIntoDocument(); 71 virtual void removedFromDocument(); 72 virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); 74 73 75 76 77 74 static int cssPropertyIdForSVGAttributeName(const QualifiedName&); 75 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(selfHasRelativeLengths(), this); } 76 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGStyledElement*); 78 77 79 78 virtual bool selfHasRelativeLengths() const { return false; } 80 79 81 82 80 private: 81 virtual bool isStyled() const { return true; } 83 82 84 83 HashSet<SVGStyledElement*> m_elementsWithRelativeLengths; 85 84 86 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGStyledElement, HTMLNames::classAttr, String, ClassName, className) 87 }; 85 // Animated property declarations 86 DECLARE_ANIMATED_STRING(ClassName, className) 87 }; 88 88 89 89 } // namespace WebCore -
trunk/WebCore/svg/SVGTRefElement.cpp
r66498 r73130 32 32 33 33 namespace WebCore { 34 35 // Animated property definitions 36 DEFINE_ANIMATED_STRING(SVGTRefElement, XLinkNames::hrefAttr, Href, href) 34 37 35 38 inline SVGTRefElement::SVGTRefElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGTRefElement.h
r71227 r73130 28 28 namespace WebCore { 29 29 30 31 32 33 30 class SVGTRefElement : public SVGTextPositioningElement, 31 public SVGURIReference { 32 public: 33 static PassRefPtr<SVGTRefElement> create(const QualifiedName&, Document*); 34 34 35 36 35 private: 36 SVGTRefElement(const QualifiedName&, Document*); 37 37 38 39 40 38 virtual void parseMappedAttribute(Attribute*); 39 virtual void svgAttributeChanged(const QualifiedName&); 40 virtual void synchronizeProperty(const QualifiedName&); 41 41 42 43 42 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 43 virtual bool childShouldCreateRenderer(Node*) const; 44 44 45 45 void updateReferencedText(); 46 46 47 // SVGURIReference 48 DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGTRefElement, XLinkNames::hrefAttr, String, Href, href) 49 }; 47 // Animated property declarations 48 49 // SVGURIReference 50 DECLARE_ANIMATED_STRING(Href, href) 51 }; 50 52 51 53 } // namespace WebCore -
trunk/WebCore/svg/SVGTextContentElement.cpp
r73016 r73130 36 36 // Animated property definitions 37 37 DEFINE_ANIMATED_LENGTH(SVGTextContentElement, SVGNames::textLengthAttr, TextLength, textLength) 38 DEFINE_ANIMATED_ENUMERATION(SVGTextContentElement, SVGNames::lengthAdjustAttr, LengthAdjust, lengthAdjust) 38 39 39 40 SVGTextContentElement::SVGTextContentElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGTextContentElement.h
r73016 r73130 23 23 24 24 #if ENABLE(SVG) 25 #include "SVGAnimatedEnumeration.h" 25 26 #include "SVGAnimatedLength.h" 26 #include "SVGAnimatedPropertyMacros.h"27 27 #include "SVGExternalResourcesRequired.h" 28 28 #include "SVGLangSpace.h" … … 73 73 // Animated property declarations 74 74 DECLARE_ANIMATED_LENGTH(TextLength, textLength) 75 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGTextContentElement, SVGNames::lengthAdjustAttr, int,LengthAdjust, lengthAdjust)75 DECLARE_ANIMATED_ENUMERATION(LengthAdjust, lengthAdjust) 76 76 77 77 // SVGExternalResourcesRequired -
trunk/WebCore/svg/SVGTextPathElement.cpp
r73016 r73130 32 32 // Animated property definitions 33 33 DEFINE_ANIMATED_LENGTH(SVGTextPathElement, SVGNames::startOffsetAttr, StartOffset, startOffset) 34 DEFINE_ANIMATED_ENUMERATION(SVGTextPathElement, SVGNames::methodAttr, Method, method) 35 DEFINE_ANIMATED_ENUMERATION(SVGTextPathElement, SVGNames::spacingAttr, Spacing, spacing) 36 DEFINE_ANIMATED_STRING(SVGTextPathElement, XLinkNames::hrefAttr, Href, href) 34 37 35 38 inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGTextPathElement.h
r73016 r73130 71 71 // Animated property declarations 72 72 DECLARE_ANIMATED_LENGTH(StartOffset, startOffset) 73 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGTextPathElement, SVGNames::methodAttr, int,Method, method)74 DECLARE_ANIMATED_ STATIC_PROPERTY_NEW(SVGTextPathElement, SVGNames::spacingAttr, int,Spacing, spacing)73 DECLARE_ANIMATED_ENUMERATION(Method, method) 74 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing) 75 75 76 76 // SVGURIReference 77 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGTextPathElement, XLinkNames::hrefAttr, String,Href, href)77 DECLARE_ANIMATED_STRING(Href, href) 78 78 }; 79 79 -
trunk/WebCore/svg/SVGUseElement.cpp
r73016 r73130 63 63 DEFINE_ANIMATED_LENGTH(SVGUseElement, SVGNames::widthAttr, Width, width) 64 64 DEFINE_ANIMATED_LENGTH(SVGUseElement, SVGNames::heightAttr, Height, height) 65 DEFINE_ANIMATED_STRING(SVGUseElement, XLinkNames::hrefAttr, Href, href) 65 66 66 67 inline SVGUseElement::SVGUseElement(const QualifiedName& tagName, Document* document) -
trunk/WebCore/svg/SVGUseElement.h
r73016 r73130 110 110 111 111 // SVGURIReference 112 DECLARE_ANIMATED_ST ATIC_PROPERTY_NEW(SVGUseElement, XLinkNames::hrefAttr, String,Href, href)112 DECLARE_ANIMATED_STRING(Href, href) 113 113 114 114 // SVGExternalResourcesRequired
Note: See TracChangeset
for help on using the changeset viewer.