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

Unified Diff: Source/core/svg/SVGFEConvolveMatrixElement.h

Issue 131253002: [SVG] SVGAnimatedBoolean migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGBoolean.cpp ('k') | Source/core/svg/SVGFEConvolveMatrixElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEConvolveMatrixElement.h
diff --git a/Source/core/svg/SVGFEConvolveMatrixElement.h b/Source/core/svg/SVGFEConvolveMatrixElement.h
index 5cb90ca7d661a2971c687f6f946c3f8ac75cd467..829cbe857dbf9af132c9163ae1d09a46bbe40ead 100644
--- a/Source/core/svg/SVGFEConvolveMatrixElement.h
+++ b/Source/core/svg/SVGFEConvolveMatrixElement.h
@@ -70,6 +70,8 @@ public:
void setOrder(float orderX, float orderY);
void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY);
+ PassRefPtr<SVGAnimatedBoolean> preserveAlpha() const { return m_preserveAlpha; }
+
private:
explicit SVGFEConvolveMatrixElement(Document&);
@@ -84,6 +86,7 @@ private:
static const AtomicString& kernelUnitLengthXIdentifier();
static const AtomicString& kernelUnitLengthYIdentifier();
+ RefPtr<SVGAnimatedBoolean> m_preserveAlpha;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEConvolveMatrixElement)
DECLARE_ANIMATED_STRING(In1, in1)
DECLARE_ANIMATED_INTEGER(OrderX, orderX)
@@ -96,7 +99,6 @@ private:
DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType)
DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX)
DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY)
- DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha)
END_DECLARE_ANIMATED_PROPERTIES
};
« no previous file with comments | « Source/core/svg/SVGBoolean.cpp ('k') | Source/core/svg/SVGFEConvolveMatrixElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698