#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SCROLL_TIMELINE_UTIL_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SCROLL_TIMELINE_UTIL_H_
#include <optional>
#include "cc/animation/scroll_timeline.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_scroll_axis.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/animation/compositor_animation.h"
namespace blink {
CompositorScrollTimeline;
ScrollOffsets;
ScrollAxis;
class AnimationTimeline;
class ComputedStyle;
class Node;
namespace scroll_timeline_util {
scoped_refptr<CompositorScrollTimeline> CORE_EXPORT
ToCompositorScrollTimeline(AnimationTimeline*);
std::optional<CompositorElementId> CORE_EXPORT
GetCompositorScrollElementId(const Node*);
CompositorScrollTimeline::ScrollDirection CORE_EXPORT
ConvertOrientation(ScrollAxis, const ComputedStyle*);
}
}
#endif