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

Unified Diff: third_party/WebKit/Source/core/svg/SVGClipPathElement.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/SVGClipPathElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGClipPathElement.h b/third_party/WebKit/Source/core/svg/SVGClipPathElement.h
index aa54c02b592dd8d323f3d0186f984a6bb3cef2d0..c08fba633bbba4dc256e65ca8aae20b0635b5012 100644
--- a/third_party/WebKit/Source/core/svg/SVGClipPathElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGClipPathElement.h
@@ -36,6 +36,13 @@ class SVGClipPathElement final : public SVGGraphicsElement {
public:
DECLARE_NODE_FACTORY(SVGClipPathElement);
+
+ enum {
+ kSvgUnitTypeUnknown = SVGUnitTypes::kSvgUnitTypeUnknown,
foolip 2016/10/17 12:09:54 If the enum is moved from SVGUnitTypes.h to the mo
fs 2016/10/17 12:40:21 That ought to do it from a scoping perspective, ye
+ kSvgUnitTypeUserspaceonuse = SVGUnitTypes::kSvgUnitTypeUserspaceonuse,
+ kSvgUnitTypeObjectboundingbox = SVGUnitTypes::kSvgUnitTypeObjectboundingbox
+ };
+
SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* clipPathUnits() {
return m_clipPathUnits.get();
}

Powered by Google App Engine
This is Rietveld 408576698