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

Side by Side Diff: Source/core/svg/SVGFELightElement.h

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 17 matching lines...) Expand all
28 #include "core/svg/SVGElement.h" 28 #include "core/svg/SVGElement.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class SVGFELightElement : public SVGElement { 32 class SVGFELightElement : public SVGElement {
33 public: 33 public:
34 virtual PassRefPtr<LightSource> lightSource() const = 0; 34 virtual PassRefPtr<LightSource> lightSource() const = 0;
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 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi sitor); }
39
38 protected: 40 protected:
39 SVGFELightElement(const QualifiedName&, const Handle<Document>&); 41 SVGFELightElement(const QualifiedName&, const Handle<Document>&);
40 42
41 private: 43 private:
42 bool isSupportedAttribute(const QualifiedName&); 44 bool isSupportedAttribute(const QualifiedName&);
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
44 virtual void svgAttributeChanged(const QualifiedName&); 46 virtual void svgAttributeChanged(const QualifiedName&);
45 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0); 47 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
46 48
47 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement) 49 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement)
48 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth) 50 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth)
49 DECLARE_ANIMATED_NUMBER(Elevation, elevation) 51 DECLARE_ANIMATED_NUMBER(Elevation, elevation)
50 DECLARE_ANIMATED_NUMBER(X, x) 52 DECLARE_ANIMATED_NUMBER(X, x)
51 DECLARE_ANIMATED_NUMBER(Y, y) 53 DECLARE_ANIMATED_NUMBER(Y, y)
52 DECLARE_ANIMATED_NUMBER(Z, z) 54 DECLARE_ANIMATED_NUMBER(Z, z)
53 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX) 55 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX)
54 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY) 56 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY)
55 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ) 57 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ)
56 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) 58 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent)
57 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle) 59 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle)
58 END_DECLARE_ANIMATED_PROPERTIES 60 END_DECLARE_ANIMATED_PROPERTIES
59 }; 61 };
60 62
61 } // namespace WebCore 63 } // namespace WebCore
62 64
63 #endif // ENABLE(SVG) 65 #endif // ENABLE(SVG)
64 #endif 66 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698