summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGTransformable.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/svg/SVGTransformable.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/svg/SVGTransformable.h')
-rw-r--r--Source/WebCore/svg/SVGTransformable.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/Source/WebCore/svg/SVGTransformable.h b/Source/WebCore/svg/SVGTransformable.h
index be79d1f99..b5e07175a 100644
--- a/Source/WebCore/svg/SVGTransformable.h
+++ b/Source/WebCore/svg/SVGTransformable.h
@@ -18,20 +18,18 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGTransformable_h
-#define SVGTransformable_h
+#pragma once
-#if ENABLE(SVG)
#include "SVGLocatable.h"
-#include "SVGTransform.h"
+#include "SVGTransformValue.h"
#include <wtf/text/WTFString.h>
namespace WebCore {
class AffineTransform;
-class SVGTransformList;
+class SVGTransformListValues;
-class SVGTransformable : virtual public SVGLocatable {
+class SVGTransformable : public SVGLocatable {
public:
enum TransformParsingMode {
ClearList,
@@ -40,15 +38,12 @@ public:
virtual ~SVGTransformable();
- static bool parseTransformAttribute(SVGTransformList&, const UChar*& ptr, const UChar* end, TransformParsingMode mode = ClearList);
- static bool parseTransformValue(unsigned type, const UChar*& ptr, const UChar* end, SVGTransform&);
- static SVGTransform::SVGTransformType parseTransformType(const String&);
+ static bool parseTransformAttribute(SVGTransformListValues&, const UChar*& ptr, const UChar* end, TransformParsingMode = ClearList);
+ static bool parseTransformValue(SVGTransformValue::SVGTransformType, const UChar*& ptr, const UChar* end, SVGTransformValue&);
+ static SVGTransformValue::SVGTransformType parseTransformType(const String&);
- virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope) const override { return animatedLocalTransform(); }
+ AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope) const override { return animatedLocalTransform(); }
virtual AffineTransform animatedLocalTransform() const = 0;
};
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif // SVGTransformable_h