mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Prefix AK::Duration with AK Namespace
This commit is contained in:
parent
2fa9ec20bd
commit
b20a1d0fcd
Notes:
sideshowbarker
2024-07-18 23:46:42 +09:00
Author: https://github.com/ADKaster
Commit: b20a1d0fcd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/trflynn89 ✅
16 changed files with 39 additions and 39 deletions
|
@ -103,17 +103,17 @@ void VideoTrack::stop_video(Badge<HTMLVideoElement>)
|
|||
m_playback_manager->terminate_playback();
|
||||
}
|
||||
|
||||
Duration VideoTrack::position() const
|
||||
AK::Duration VideoTrack::position() const
|
||||
{
|
||||
return m_playback_manager->current_playback_time();
|
||||
}
|
||||
|
||||
Duration VideoTrack::duration() const
|
||||
AK::Duration VideoTrack::duration() const
|
||||
{
|
||||
return m_playback_manager->selected_video_track().video_data().duration;
|
||||
}
|
||||
|
||||
void VideoTrack::seek(Duration position, MediaSeekMode seek_mode)
|
||||
void VideoTrack::seek(AK::Duration position, MediaSeekMode seek_mode)
|
||||
{
|
||||
switch (seek_mode) {
|
||||
case MediaSeekMode::Accurate:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue