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

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

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/SVGGraphicsElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
index f5413f21b4f68826ab33972db1d1ea30767caa9e..58476dc27ee22ae77761d01722fc3080fed3a31c 100644
--- a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.h
@@ -53,10 +53,8 @@ class CORE_EXPORT SVGGraphicsElement : public SVGElement, public SVGTests {
AffineTransform localCoordinateSpaceTransform(
SVGElement::CTMScope) const override {
- return calculateAnimatedLocalTransform();
+ return calculateTransform(IncludeMotionTransform);
}
- bool hasAnimatedLocalTransform() const;
- AffineTransform calculateAnimatedLocalTransform() const;
AffineTransform* animateMotionTransform() override;
virtual FloatRect getBBox();
@@ -84,6 +82,9 @@ class CORE_EXPORT SVGGraphicsElement : public SVGElement, public SVGTests {
return Element::supportsFocus() || hasFocusEventListeners();
}
+ void collectStyleForPresentationAttribute(const QualifiedName&,
+ const AtomicString&,
+ MutableStylePropertySet*) override;
void svgAttributeChanged(const QualifiedName&) override;
Member<SVGAnimatedTransformList> m_transform;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGGradientElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698