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

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

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 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
« 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 if (value == "duplicate") 57 if (value == "duplicate")
58 return EDGEMODE_DUPLICATE; 58 return EDGEMODE_DUPLICATE;
59 if (value == "wrap") 59 if (value == "wrap")
60 return EDGEMODE_WRAP; 60 return EDGEMODE_WRAP;
61 if (value == "none") 61 if (value == "none")
62 return EDGEMODE_NONE; 62 return EDGEMODE_NONE;
63 return EDGEMODE_UNKNOWN; 63 return EDGEMODE_UNKNOWN;
64 } 64 }
65 }; 65 };
66 66
67 class SVGFEConvolveMatrixElement : public SVGFilterPrimitiveStandardAttributes { 67 class SVGFEConvolveMatrixElement FINAL : public SVGFilterPrimitiveStandardAttrib utes {
68 public: 68 public:
69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, D ocument*); 69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, D ocument*);
70 70
71 void setOrder(float orderX, float orderY); 71 void setOrder(float orderX, float orderY);
72 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); 72 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY);
73 73
74 private: 74 private:
75 SVGFEConvolveMatrixElement(const QualifiedName&, Document*); 75 SVGFEConvolveMatrixElement(const QualifiedName&, Document*);
76 76
77 bool isSupportedAttribute(const QualifiedName&); 77 bool isSupportedAttribute(const QualifiedName&);
(...skipping 20 matching lines...) Expand all
98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX)
99 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) 99 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY)
100 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) 100 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha)
101 END_DECLARE_ANIMATED_PROPERTIES 101 END_DECLARE_ANIMATED_PROPERTIES
102 }; 102 };
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // ENABLE(SVG) 106 #endif // ENABLE(SVG)
107 #endif 107 #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