#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_ANIMATION_TEST_HELPERS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_ANIMATION_TEST_HELPERS_H_
#include "third_party/blink/renderer/bindings/core/v8/v8_typedefs.h"
#include "third_party/blink/renderer/core/animation/inert_effect.h"
#include "third_party/blink/renderer/core/animation/interpolation.h"
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "v8/include/v8.h"
namespace blink {
class Document;
class Element;
class KeyframeEffect;
class KeyframeEffectModelBase;
namespace animation_test_helpers {
void SetV8ObjectPropertyAsString(v8::Isolate*,
v8::Local<v8::Object>,
const StringView& name,
const StringView& value);
void SetV8ObjectPropertyAsNumber(v8::Isolate*,
v8::Local<v8::Object>,
const StringView& name,
double value);
KeyframeEffect* CreateSimpleKeyframeEffectForTest(Element*,
CSSPropertyID,
String value_start,
String value_end);
KeyframeEffectModelBase* CreateSimpleKeyframeEffectModelForTest(
CSSPropertyID,
String value_start,
String value_end);
void EnsureInterpolatedValueCached(ActiveInterpolations*, Document&, Element*);
class TestAnimationProxy : public AnimationProxy { … };
}
}
#endif