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

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

Issue 2595393002: Fold SVGAnimatedTypeAnimator into SVGAnimateElement (Closed)
Patch Set: More ASSERT to DCHECK Created 4 years 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/SVGAnimatedTypeAnimator.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
deleted file mode 100644
index 2bea1a749043a8adad510a47653c70acc2ce3976..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved.
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef SVGAnimatedTypeAnimator_h
-#define SVGAnimatedTypeAnimator_h
-
-#include "core/CSSPropertyNames.h"
-#include "core/svg/properties/SVGPropertyInfo.h"
-#include "platform/heap/Handle.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class SVGAnimatedPropertyBase;
-class SVGPropertyBase;
-class SVGElement;
-class SVGAnimationElement;
-
-class SVGAnimatedTypeAnimator final {
- DISALLOW_NEW();
-
- public:
- SVGAnimatedTypeAnimator(SVGAnimationElement*);
-
- void clear();
- void reset(const SVGElement&);
-
- SVGPropertyBase* createAnimatedValue() const;
- SVGPropertyBase* createPropertyForAnimation(const String&) const;
-
- AnimatedPropertyType type() const { return m_type; }
- CSSPropertyID cssProperty() const { return m_cssProperty; }
-
- bool isAnimatingSVGDom() const { return m_animatedProperty; }
- bool isAnimatingCSSProperty() const {
- return m_cssProperty != CSSPropertyInvalid;
- }
-
- DECLARE_TRACE();
-
- private:
- SVGPropertyBase* createPropertyForAttributeAnimation(const String&) const;
- SVGPropertyBase* createPropertyForCSSAnimation(const String&) const;
-
- Member<SVGAnimationElement> m_animationElement;
- Member<SVGAnimatedPropertyBase> m_animatedProperty;
- AnimatedPropertyType m_type;
- CSSPropertyID m_cssProperty;
-};
-
-} // namespace blink
-
-#endif // SVGAnimatedTypeAnimator_h

Powered by Google App Engine
This is Rietveld 408576698