#include "third_party/blink/renderer/modules/csspaint/nativepaint/native_css_paint_definition.h"
#include "third_party/blink/renderer/core/animation/animation_time_delta.h"
#include "third_party/blink/renderer/core/animation/element_animations.h"
#include "third_party/blink/renderer/core/animation/interpolable_value.h"
#include "third_party/blink/renderer/core/css/css_value.h"
#include "third_party/blink/renderer/core/css/properties/css_property.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
namespace blink {
NativeCssPaintDefinition::NativeCssPaintDefinition(
LocalFrame* local_root,
PaintWorkletInput::PaintWorkletInputType type)
: … { … }
bool NativeCssPaintDefinition::CanGetValueFromKeyframe(
const Element* element,
const PropertySpecificKeyframe* frame,
const KeyframeEffectModelBase* model,
ValueFilter filter) { … }
Animation* NativeCssPaintDefinition::GetAnimationForProperty(
const Element* element,
const CSSProperty& property,
ValueFilter filter) { … }
bool NativeCssPaintDefinition::DefaultValueFilter(
const Element* element,
const CSSValue* value,
const InterpolableValue* interpolable_value) { … }
std::optional<double> NativeCssPaintDefinition::Progress(
const std::optional<double>& main_thread_progress,
const CompositorPaintWorkletJob::AnimatedPropertyValues&
animated_property_values) { … }
}