chromium/third_party/blink/renderer/core/animation/interpolable_grid_length.h

// Copyright 2022 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_INTERPOLABLE_GRID_LENGTH_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLABLE_GRID_LENGTH_H_

#include <memory>
#include "third_party/blink/renderer/core/animation/interpolable_value.h"
#include "third_party/blink/renderer/core/css/css_to_length_conversion_data.h"
#include "third_party/blink/renderer/platform/geometry/length.h"

namespace blink {

class CSSProperty;

// Represents a blink::GridLength, converted into a form that can be
// interpolated from/to.
// This class is a representation of the <track-breadth> values:
// <length-percentage> | <flex> | min-content | max-content | auto.
class CORE_EXPORT InterpolableGridLength final : public InterpolableValue {};

template <>
struct DowncastTraits<InterpolableGridLength> {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_INTERPOLABLE_GRID_LENGTH_H_