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

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

Issue 447193002: Add support for additional blend modes to SVGFEBlendElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/SVGEnumeration.cpp ('k') | Source/core/svg/SVGFEBlendElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEBlendElement.h
diff --git a/Source/core/svg/SVGFEBlendElement.h b/Source/core/svg/SVGFEBlendElement.h
index f389ff831c896ba98e9cded89d3bcfc24215d4e0..b2a8c5105d59cba186f033833797edec3f716cb2 100644
--- a/Source/core/svg/SVGFEBlendElement.h
+++ b/Source/core/svg/SVGFEBlendElement.h
@@ -34,7 +34,21 @@ public:
ModeMultiply = 2,
ModeScreen = 3,
ModeDarken = 4,
- ModeLighten = 5
+ ModeLighten = 5,
+
+ // The following modes do not map to IDL constants on
+ // SVGFEBlendElement.
+ ModeOverlay,
+ ModeColorDodge,
+ ModeColorBurn,
+ ModeHardLight,
+ ModeSoftLight,
+ ModeDifference,
+ ModeExclusion,
+ ModeHue,
+ ModeSaturation,
+ ModeColor,
+ ModeLuminosity,
};
DECLARE_NODE_FACTORY(SVGFEBlendElement);
@@ -57,6 +71,7 @@ private:
};
template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGFEBlendElement::Mode>();
+template<> unsigned short getMaxExposedEnumValue<SVGFEBlendElement::Mode>();
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGEnumeration.cpp ('k') | Source/core/svg/SVGFEBlendElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698