OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> | 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 24 matching lines...) Expand all Loading... |
35 static SVGFELightElement* findLightElement(const SVGElement*); | 35 static SVGFELightElement* findLightElement(const SVGElement*); |
36 static PassRefPtr<LightSource> findLightSource(const SVGElement*); | 36 static PassRefPtr<LightSource> findLightSource(const SVGElement*); |
37 | 37 |
38 protected: | 38 protected: |
39 SVGFELightElement(const QualifiedName&, Handle<Document>); | 39 SVGFELightElement(const QualifiedName&, Handle<Document>); |
40 | 40 |
41 private: | 41 private: |
42 bool isSupportedAttribute(const QualifiedName&); | 42 bool isSupportedAttribute(const QualifiedName&); |
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
44 virtual void svgAttributeChanged(const QualifiedName&); | 44 virtual void svgAttributeChanged(const QualifiedName&); |
45 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 45 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
46 | 46 |
47 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement) | 47 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement) |
48 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth) | 48 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth) |
49 DECLARE_ANIMATED_NUMBER(Elevation, elevation) | 49 DECLARE_ANIMATED_NUMBER(Elevation, elevation) |
50 DECLARE_ANIMATED_NUMBER(X, x) | 50 DECLARE_ANIMATED_NUMBER(X, x) |
51 DECLARE_ANIMATED_NUMBER(Y, y) | 51 DECLARE_ANIMATED_NUMBER(Y, y) |
52 DECLARE_ANIMATED_NUMBER(Z, z) | 52 DECLARE_ANIMATED_NUMBER(Z, z) |
53 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX) | 53 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX) |
54 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY) | 54 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY) |
55 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ) | 55 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ) |
56 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) | 56 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) |
57 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle) | 57 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle) |
58 END_DECLARE_ANIMATED_PROPERTIES | 58 END_DECLARE_ANIMATED_PROPERTIES |
59 }; | 59 }; |
60 | 60 |
61 } // namespace WebCore | 61 } // namespace WebCore |
62 | 62 |
63 #endif // ENABLE(SVG) | 63 #endif // ENABLE(SVG) |
64 #endif | 64 #endif |
OLD | NEW |