#include "third_party/blink/renderer/core/animation/css_var_cycle_interpolation_type.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "third_party/blink/renderer/core/animation/css_interpolation_environment.h"
#include "third_party/blink/renderer/core/animation/string_keyframe.h"
#include "third_party/blink/renderer/core/css/css_unparsed_declaration_value.h"
#include "third_party/blink/renderer/core/css/css_unset_value.h"
#include "third_party/blink/renderer/core/css/property_registration.h"
#include "third_party/blink/renderer/core/css/resolver/style_builder.h"
#include "third_party/blink/renderer/core/css/resolver/style_cascade.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
namespace blink {
class CycleChecker : public InterpolationType::ConversionChecker { … };
CSSVarCycleInterpolationType::CSSVarCycleInterpolationType(
const PropertyHandle& property,
const PropertyRegistration& registration)
: … { … }
static InterpolationValue CreateCycleDetectedValue() { … }
InterpolationValue CSSVarCycleInterpolationType::MaybeConvertSingle(
const PropertySpecificKeyframe& keyframe,
const InterpolationEnvironment& environment,
const InterpolationValue& underlying,
ConversionCheckers& conversion_checkers) const { … }
static bool IsCycleDetected(const InterpolationValue& value) { … }
PairwiseInterpolationValue CSSVarCycleInterpolationType::MaybeConvertPairwise(
const PropertySpecificKeyframe& start_keyframe,
const PropertySpecificKeyframe& end_keyframe,
const InterpolationEnvironment& environment,
const InterpolationValue& underlying,
ConversionCheckers& conversionCheckers) const { … }
InterpolationValue CSSVarCycleInterpolationType::MaybeConvertUnderlyingValue(
const InterpolationEnvironment& environment) const { … }
void CSSVarCycleInterpolationType::Apply(
const InterpolableValue&,
const NonInterpolableValue*,
InterpolationEnvironment& environment) const { … }
}