#include "third_party/blink/renderer/modules/webcodecs/image_track.h"
#include "base/logging.h"
#include "third_party/blink/renderer/platform/image-decoders/image_animation.h"
namespace blink {
ImageTrack::ImageTrack(ImageTrackList* image_track_list,
wtf_size_t id,
uint32_t frame_count,
int repetition_count,
bool selected)
: … { … }
ImageTrack::~ImageTrack() = default;
uint32_t ImageTrack::frameCount() const { … }
bool ImageTrack::animated() const { … }
float ImageTrack::repetitionCount() const { … }
bool ImageTrack::selected() const { … }
void ImageTrack::setSelected(bool selected) { … }
void ImageTrack::UpdateTrack(uint32_t frame_count, int repetition_count) { … }
void ImageTrack::Trace(Visitor* visitor) const { … }
}