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

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

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/svg/SVGFEImageElement.h ('k') | Source/core/svg/SVGFEMergeElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21 matching lines...) Expand all
32 public: 32 public:
33 virtual PassRefPtr<LightSource> lightSource() const = 0; 33 virtual PassRefPtr<LightSource> lightSource() const = 0;
34 static SVGFELightElement* findLightElement(const SVGElement*); 34 static SVGFELightElement* findLightElement(const SVGElement*);
35 static PassRefPtr<LightSource> findLightSource(const SVGElement*); 35 static PassRefPtr<LightSource> findLightSource(const SVGElement*);
36 36
37 protected: 37 protected:
38 SVGFELightElement(const QualifiedName&, Document&); 38 SVGFELightElement(const QualifiedName&, Document&);
39 39
40 private: 40 private:
41 bool isSupportedAttribute(const QualifiedName&); 41 bool isSupportedAttribute(const QualifiedName&);
42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE FINAL;
43 virtual void svgAttributeChanged(const QualifiedName&); 43 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE FINAL;
44 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 44 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE FINAL;
45 45
46 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 46 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
47 47
48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement) 48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement)
49 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth) 49 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth)
50 DECLARE_ANIMATED_NUMBER(Elevation, elevation) 50 DECLARE_ANIMATED_NUMBER(Elevation, elevation)
51 DECLARE_ANIMATED_NUMBER(X, x) 51 DECLARE_ANIMATED_NUMBER(X, x)
52 DECLARE_ANIMATED_NUMBER(Y, y) 52 DECLARE_ANIMATED_NUMBER(Y, y)
53 DECLARE_ANIMATED_NUMBER(Z, z) 53 DECLARE_ANIMATED_NUMBER(Z, z)
54 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX) 54 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX)
55 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY) 55 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY)
56 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ) 56 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ)
57 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) 57 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent)
58 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle) 58 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle)
59 END_DECLARE_ANIMATED_PROPERTIES 59 END_DECLARE_ANIMATED_PROPERTIES
60 }; 60 };
61 61
62 } // namespace WebCore 62 } // namespace WebCore
63 63
64 #endif 64 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEImageElement.h ('k') | Source/core/svg/SVGFEMergeElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698