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

Side by Side Diff: Source/core/svg/SVGFEConvolveMatrixElement.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/SVGFECompositeElement.h ('k') | Source/core/svg/SVGFEDiffuseLightingElement.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) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 static PassRefPtr<SVGFEConvolveMatrixElement> create(Document&); 68 static PassRefPtr<SVGFEConvolveMatrixElement> create(Document&);
69 69
70 void setOrder(float orderX, float orderY); 70 void setOrder(float orderX, float orderY);
71 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); 71 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY);
72 72
73 private: 73 private:
74 explicit SVGFEConvolveMatrixElement(Document&); 74 explicit SVGFEConvolveMatrixElement(Document&);
75 75
76 bool isSupportedAttribute(const QualifiedName&); 76 bool isSupportedAttribute(const QualifiedName&);
77 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 77 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
78 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); 78 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O VERRIDE;
79 virtual void svgAttributeChanged(const QualifiedName&); 79 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
80 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 80 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
81 81
82 static const AtomicString& orderXIdentifier(); 82 static const AtomicString& orderXIdentifier();
83 static const AtomicString& orderYIdentifier(); 83 static const AtomicString& orderYIdentifier();
84 static const AtomicString& kernelUnitLengthXIdentifier(); 84 static const AtomicString& kernelUnitLengthXIdentifier();
85 static const AtomicString& kernelUnitLengthYIdentifier(); 85 static const AtomicString& kernelUnitLengthYIdentifier();
86 86
87 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEConvolveMatrixElement) 87 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEConvolveMatrixElement)
88 DECLARE_ANIMATED_STRING(In1, in1) 88 DECLARE_ANIMATED_STRING(In1, in1)
89 DECLARE_ANIMATED_INTEGER(OrderX, orderX) 89 DECLARE_ANIMATED_INTEGER(OrderX, orderX)
90 DECLARE_ANIMATED_INTEGER(OrderY, orderY) 90 DECLARE_ANIMATED_INTEGER(OrderY, orderY)
91 DECLARE_ANIMATED_NUMBER_LIST(KernelMatrix, kernelMatrix) 91 DECLARE_ANIMATED_NUMBER_LIST(KernelMatrix, kernelMatrix)
92 DECLARE_ANIMATED_NUMBER(Divisor, divisor) 92 DECLARE_ANIMATED_NUMBER(Divisor, divisor)
93 DECLARE_ANIMATED_NUMBER(Bias, bias) 93 DECLARE_ANIMATED_NUMBER(Bias, bias)
94 DECLARE_ANIMATED_INTEGER(TargetX, targetX) 94 DECLARE_ANIMATED_INTEGER(TargetX, targetX)
95 DECLARE_ANIMATED_INTEGER(TargetY, targetY) 95 DECLARE_ANIMATED_INTEGER(TargetY, targetY)
96 DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType) 96 DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType)
97 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) 97 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX)
98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY)
99 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) 99 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha)
100 END_DECLARE_ANIMATED_PROPERTIES 100 END_DECLARE_ANIMATED_PROPERTIES
101 }; 101 };
102 102
103 } // namespace WebCore 103 } // namespace WebCore
104 104
105 #endif 105 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFECompositeElement.h ('k') | Source/core/svg/SVGFEDiffuseLightingElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698