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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.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/SVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
index 024ad0ad7c4536f0c6bb19ac62c3d4db42854562..248ec03dfc9e8acf39e952ae067c602f080e92ec 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -74,6 +74,10 @@ class CORE_EXPORT SVGElement : public Element {
}
static bool isAnimatableCSSProperty(const QualifiedName&);
+ enum ApplyMotionTransform { ExcludeMotionTransform, IncludeMotionTransform };
+ bool hasTransform(ApplyMotionTransform) const;
+ AffineTransform calculateTransform(ApplyMotionTransform) const;
+
enum CTMScope {
NearestViewportScope, // Used by SVGGraphicsElement::getCTM()
ScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698