mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb: Implement TextTrack.id
This commit is contained in:
parent
ab91a616b8
commit
ba8e77df16
Notes:
sideshowbarker
2024-07-17 18:46:57 +09:00
Author: https://github.com/jamierocks
Commit: ba8e77df16
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/447
Reviewed-by: https://github.com/awesomekling
4 changed files with 23 additions and 1 deletions
|
@ -33,6 +33,9 @@ public:
|
|||
String language();
|
||||
void set_language(String);
|
||||
|
||||
String id();
|
||||
void set_id(String);
|
||||
|
||||
void set_oncuechange(WebIDL::CallbackType*);
|
||||
WebIDL::CallbackType* oncuechange();
|
||||
|
||||
|
@ -44,6 +47,8 @@ private:
|
|||
Bindings::TextTrackKind m_kind { Bindings::TextTrackKind::Subtitles };
|
||||
String m_label {};
|
||||
String m_language {};
|
||||
|
||||
String m_id {};
|
||||
};
|
||||
|
||||
Bindings::TextTrackKind text_track_kind_from_string(String);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue