mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Add MediaSourceExtensions events
Continuing the boilerplate for these interfaces.
This commit is contained in:
parent
ff791a63fc
commit
66530086a4
Notes:
github-actions[bot]
2024-11-18 10:59:22 +00:00
Author: https://github.com/shannonbooth
Commit: 66530086a4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2415
Reviewed-by: https://github.com/Lubrsi ✅
19 changed files with 280 additions and 13 deletions
|
@ -15,6 +15,13 @@ class SourceBufferList : public DOM::EventTarget {
|
|||
WEB_PLATFORM_OBJECT(SourceBufferList, DOM::EventTarget);
|
||||
GC_DECLARE_ALLOCATOR(SourceBufferList);
|
||||
|
||||
public:
|
||||
void set_onaddsourcebuffer(GC::Ptr<WebIDL::CallbackType>);
|
||||
GC::Ptr<WebIDL::CallbackType> onaddsourcebuffer();
|
||||
|
||||
void set_onremovesourcebuffer(GC::Ptr<WebIDL::CallbackType>);
|
||||
GC::Ptr<WebIDL::CallbackType> onremovesourcebuffer();
|
||||
|
||||
private:
|
||||
SourceBufferList(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue