// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_NON_INTERPOLABLE_VALUE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_NON_INTERPOLABLE_VALUE_H_ #include "third_party/blink/renderer/platform/wtf/ref_counted.h" namespace blink { // Represents components of a PropertySpecificKeyframe's value that either do // not change or 50% flip when interpolating with an adjacent value. class NonInterpolableValue : public RefCounted<NonInterpolableValue> { … }; // These macros provide safe downcasts of NonInterpolableValue subclasses with // debug assertions. // See CSSDefaultInterpolationType.cpp for example usage. #define DECLARE_NON_INTERPOLABLE_VALUE_TYPE() … #define DEFINE_NON_INTERPOLABLE_VALUE_TYPE(T) … } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_NON_INTERPOLABLE_VALUE_H_