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

Unified Diff: third_party/WebKit/Source/core/svg/SVGGradientElement.h

Issue 2415413002: Add '... implement SVGUnitTypes' to a bunch of SVG*Elements (Closed)
Patch Set: Update interface expectations Created 4 years, 2 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
Index: third_party/WebKit/Source/core/svg/SVGGradientElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGGradientElement.h b/third_party/WebKit/Source/core/svg/SVGGradientElement.h
index 1f80fe2f65452ba6087d807a58a99fc026c3c68e..812e22edc206939e83993a4053b49429712ec26e 100644
--- a/third_party/WebKit/Source/core/svg/SVGGradientElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGGradientElement.h
@@ -47,6 +47,12 @@ class SVGGradientElement : public SVGElement, public SVGURIReference {
USING_GARBAGE_COLLECTED_MIXIN(SVGGradientElement);
public:
+ enum {
+ kSvgUnitTypeUnknown = SVGUnitTypes::kSvgUnitTypeUnknown,
+ kSvgUnitTypeUserspaceonuse = SVGUnitTypes::kSvgUnitTypeUserspaceonuse,
+ kSvgUnitTypeObjectboundingbox = SVGUnitTypes::kSvgUnitTypeObjectboundingbox
+ };
+
Vector<Gradient::ColorStop> buildStops();
SVGAnimatedTransformList* gradientTransform() {

Powered by Google App Engine
This is Rietveld 408576698