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

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

Issue 2394583002: Move shouldApplyAnimation to SVGAnimateElement (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAnimateElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.h b/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
index 8f6d95ebf547cce0d06ff82381a75ae84e9b318a..816363f85471dd64954ef30d68774f95e2575e8c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
@@ -80,6 +80,17 @@ class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement {
private:
void resetAnimatedPropertyType();
+ enum ShouldApplyAnimationType {
+ DontApplyAnimation,
+ ApplyCSSAnimation,
+ ApplyXMLAnimation,
+ ApplyXMLandCSSAnimation
+ };
+
+ ShouldApplyAnimationType shouldApplyAnimation(
+ SVGElement* targetElement,
+ const QualifiedName& attributeName);
+
bool hasValidAttributeType() override;
SVGPropertyBase* adjustForInheritance(SVGPropertyBase*,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698