#include "third_party/blink/renderer/core/animation/scroll_snapshot_timeline.h"
#include <optional>
#include "third_party/blink/renderer/bindings/core/v8/v8_union_cssnumericvalue_double.h"
#include "third_party/blink/renderer/core/animation/scroll_timeline_util.h"
#include "third_party/blink/renderer/core/css/cssom/css_unit_values.h"
#include "third_party/blink/renderer/core/dom/node.h"
#include "third_party/blink/renderer/core/layout/forms/layout_fieldset.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
namespace blink {
ScrollSnapshotTimeline::ScrollSnapshotTimeline(Document* document)
: … { … }
bool ScrollSnapshotTimeline::IsResolved() const { … }
bool ScrollSnapshotTimeline::IsActive() const { … }
std::optional<ScrollOffsets> ScrollSnapshotTimeline::GetResolvedScrollOffsets()
const { … }
std::optional<ScrollSnapshotTimeline::ViewOffsets>
ScrollSnapshotTimeline::GetResolvedViewOffsets() const { … }
AnimationTimeline::PhaseAndTime ScrollSnapshotTimeline::CurrentPhaseAndTime() { … }
V8CSSNumberish* ScrollSnapshotTimeline::ConvertTimeToProgress(
AnimationTimeDelta time) const { … }
V8CSSNumberish* ScrollSnapshotTimeline::currentTime() { … }
V8CSSNumberish* ScrollSnapshotTimeline::duration() { … }
void ScrollSnapshotTimeline::ResolveTimelineOffsets() const { … }
std::optional<base::TimeDelta>
ScrollSnapshotTimeline::InitialStartTimeForAnimations() { … }
AnimationTimeDelta ScrollSnapshotTimeline::CalculateIntrinsicIterationDuration(
const TimelineRange& timeline_range,
const std::optional<TimelineOffset>& range_start,
const std::optional<TimelineOffset>& range_end,
const Timing& timing) { … }
TimelineRange ScrollSnapshotTimeline::GetTimelineRange() const { … }
void ScrollSnapshotTimeline::ServiceAnimations(TimingUpdateReason reason) { … }
bool ScrollSnapshotTimeline::ShouldScheduleNextService() { … }
void ScrollSnapshotTimeline::ScheduleNextService() { … }
void ScrollSnapshotTimeline::UpdateSnapshot() { … }
LayoutBox* ScrollSnapshotTimeline::ComputeScrollContainer(
Node* resolved_source) { … }
void ScrollSnapshotTimeline::Trace(Visitor* visitor) const { … }
void ScrollSnapshotTimeline::InvalidateEffectTargetStyle() const { … }
bool ScrollSnapshotTimeline::ValidateSnapshot() { … }
cc::AnimationTimeline* ScrollSnapshotTimeline::EnsureCompositorTimeline() { … }
void ScrollSnapshotTimeline::UpdateCompositorTimeline() { … }
}