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

Unified Diff: Source/core/animation/CSSValueAnimationType.h

Issue 1210353004: Rename {Animation,Interpolation}Type and {Animation,Interpolation}Value (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 6 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 | « Source/core/animation/AnimationValue.h ('k') | Source/core/animation/CSSValueAnimationType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/CSSValueAnimationType.h
diff --git a/Source/core/animation/CSSValueAnimationType.h b/Source/core/animation/CSSValueAnimationType.h
deleted file mode 100644
index 8b5ace38376c957d3352b568ded6d5769311cf59..0000000000000000000000000000000000000000
--- a/Source/core/animation/CSSValueAnimationType.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CSSValueAnimationType_h
-#define CSSValueAnimationType_h
-
-#include "core/animation/AnimationType.h"
-
-namespace blink {
-
-// Never supports pairwise conversion while always supporting single conversion.
-// A catch all for default for CSSValues.
-class CSSValueAnimationType : public AnimationType {
-public:
- CSSValueAnimationType(CSSPropertyID property)
- : AnimationType(property)
- { }
-
- virtual PassOwnPtrWillBeRawPtr<AnimationValue> maybeConvertSingle(const CSSPropertySpecificKeyframe&, const StyleResolverState*, ConversionCheckers&) const override final;
- virtual void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const override final;
-};
-
-class DefaultNonInterpolableValue : public NonInterpolableValue {
-public:
- virtual ~DefaultNonInterpolableValue() { }
- static PassRefPtrWillBeRawPtr<DefaultNonInterpolableValue> create(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
- {
- return adoptRefWillBeNoop(new DefaultNonInterpolableValue(cssValue));
- }
-
- CSSValue* cssValue() const { return m_cssValue.get(); }
-
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- NonInterpolableValue::trace(visitor);
- visitor->trace(m_cssValue);
- }
-
- DECLARE_NON_INTERPOLABLE_VALUE_TYPE();
-
-private:
- DefaultNonInterpolableValue(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
- : m_cssValue(cssValue)
- { }
-
- RefPtrWillBeMember<CSSValue> m_cssValue;
-};
-
-DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(DefaultNonInterpolableValue);
-
-} // namespace blink
-
-#endif // CSSValueAnimationType_h
« no previous file with comments | « Source/core/animation/AnimationValue.h ('k') | Source/core/animation/CSSValueAnimationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698