mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibWeb: Implement Animation.cancel()
This commit is contained in:
parent
9abe472928
commit
3c055ff76d
3 changed files with 93 additions and 1 deletions
|
@ -70,6 +70,7 @@ public:
|
|||
Yes,
|
||||
No,
|
||||
};
|
||||
void cancel();
|
||||
WebIDL::ExceptionOr<void> finish();
|
||||
WebIDL::ExceptionOr<void> play();
|
||||
WebIDL::ExceptionOr<void> play_an_animation(AutoRewind);
|
||||
|
@ -118,6 +119,7 @@ private:
|
|||
void apply_any_pending_playback_rate();
|
||||
WebIDL::ExceptionOr<void> silently_set_current_time(Optional<double>);
|
||||
void update_finished_state(DidSeek, SynchronouslyNotify);
|
||||
void reset_an_animations_pending_tasks();
|
||||
|
||||
void run_pending_play_task();
|
||||
void run_pending_pause_task();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue