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

Side by Side Diff: Source/core/svg/SVGFETurbulenceElement.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/SVGFETileElement.h ('k') | Source/core/svg/SVGFilterElement.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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 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 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 class SVGFETurbulenceElement FINAL : public SVGFilterPrimitiveStandardAttributes { 96 class SVGFETurbulenceElement FINAL : public SVGFilterPrimitiveStandardAttributes {
97 public: 97 public:
98 static PassRefPtr<SVGFETurbulenceElement> create(Document&); 98 static PassRefPtr<SVGFETurbulenceElement> create(Document&);
99 99
100 private: 100 private:
101 explicit SVGFETurbulenceElement(Document&); 101 explicit SVGFETurbulenceElement(Document&);
102 102
103 bool isSupportedAttribute(const QualifiedName&); 103 bool isSupportedAttribute(const QualifiedName&);
104 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 104 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
105 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at trName); 105 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at trName) OVERRIDE;
106 virtual void svgAttributeChanged(const QualifiedName&); 106 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
107 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 107 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
108 108
109 static const AtomicString& baseFrequencyXIdentifier(); 109 static const AtomicString& baseFrequencyXIdentifier();
110 static const AtomicString& baseFrequencyYIdentifier(); 110 static const AtomicString& baseFrequencyYIdentifier();
111 111
112 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFETurbulenceElement) 112 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFETurbulenceElement)
113 DECLARE_ANIMATED_NUMBER(BaseFrequencyX, baseFrequencyX) 113 DECLARE_ANIMATED_NUMBER(BaseFrequencyX, baseFrequencyX)
114 DECLARE_ANIMATED_NUMBER(BaseFrequencyY, baseFrequencyY) 114 DECLARE_ANIMATED_NUMBER(BaseFrequencyY, baseFrequencyY)
115 DECLARE_ANIMATED_INTEGER(NumOctaves, numOctaves) 115 DECLARE_ANIMATED_INTEGER(NumOctaves, numOctaves)
116 DECLARE_ANIMATED_NUMBER(Seed, seed) 116 DECLARE_ANIMATED_NUMBER(Seed, seed)
117 DECLARE_ANIMATED_ENUMERATION(StitchTiles, stitchTiles, SVGStitchOptions) 117 DECLARE_ANIMATED_ENUMERATION(StitchTiles, stitchTiles, SVGStitchOptions)
118 DECLARE_ANIMATED_ENUMERATION(Type, type, TurbulenceType) 118 DECLARE_ANIMATED_ENUMERATION(Type, type, TurbulenceType)
119 END_DECLARE_ANIMATED_PROPERTIES 119 END_DECLARE_ANIMATED_PROPERTIES
120 }; 120 };
121 121
122 } // namespace WebCore 122 } // namespace WebCore
123 123
124 #endif 124 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFETileElement.h ('k') | Source/core/svg/SVGFilterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698