1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:17:45 +00:00

LibWeb: Add the AnimationEffect IDL object

This commit is contained in:
Matthew Olsson 2023-11-06 15:17:15 +00:00 committed by Andreas Kling
parent e03e710d1b
commit 0df06ce273
7 changed files with 336 additions and 1 deletions

View file

@ -27,6 +27,8 @@ static bool is_platform_object(Type const& type)
// might simply need to add another type here.
static constexpr Array types = {
"AbortSignal"sv,
"AnimationEffect"sv,
"AnimationTimeline"sv,
"Attr"sv,
"AudioTrack"sv,
"Blob"sv,
@ -3499,7 +3501,9 @@ void generate_constructor_implementation(IDL::Interface const& interface, String
#include <LibWeb/Bindings/@prototype_class@.h>
#include <LibWeb/Bindings/ExceptionOrUtils.h>
#include <LibWeb/Bindings/Intrinsics.h>
#if __has_include(<LibWeb/Crypto/@name@.h>)
#if __has_include(<LibWeb/Animations/@name@.h>)
# include <LibWeb/Animations/@name@.h>
#elif __has_include(<LibWeb/Crypto/@name@.h>)
# include <LibWeb/Crypto/@name@.h>
#elif __has_include(<LibWeb/CSS/@name@.h>)
# include <LibWeb/CSS/@name@.h>