#include "third_party/blink/renderer/core/animation/interpolable_scrollbar_color.h"
#include <cmath>
#include <memory>
#include "base/check_op.h"
#include "base/notreached.h"
#include "third_party/blink/renderer/core/animation/css_color_interpolation_type.h"
#include "third_party/blink/renderer/core/animation/css_interpolation_type.h"
#include "third_party/blink/renderer/core/animation/interpolable_value.h"
#include "third_party/blink/renderer/core/css/style_color.h"
#include "third_party/blink/renderer/core/layout/layout_theme.h"
namespace blink {
InterpolableScrollbarColor::InterpolableScrollbarColor() = default;
InterpolableScrollbarColor::InterpolableScrollbarColor(
InterpolableColor* thumb_color,
InterpolableColor* track_color)
: … { … }
InterpolableScrollbarColor* InterpolableScrollbarColor::Create(
const StyleScrollbarColor& scrollbar_color) { … }
InterpolableScrollbarColor* InterpolableScrollbarColor::RawClone() const { … }
InterpolableScrollbarColor* InterpolableScrollbarColor::RawCloneAndZero()
const { … }
StyleScrollbarColor* InterpolableScrollbarColor::GetScrollbarColor(
const StyleResolverState& state) const { … }
void InterpolableScrollbarColor::AssertCanInterpolateWith(
const InterpolableValue& other) const { … }
void InterpolableScrollbarColor::Scale(double scale) { … }
void InterpolableScrollbarColor::Add(const InterpolableValue& other) { … }
void InterpolableScrollbarColor::Interpolate(const InterpolableValue& to,
const double progress,
InterpolableValue& result) const { … }
void InterpolableScrollbarColor::Composite(
const InterpolableScrollbarColor& other,
double fraction) { … }
}