mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb/Streams: Move "set up transform stream" to TransformStream
This is not marked as an AO in the spec, and is a publically exported API exposed on TransformStream.
This commit is contained in:
parent
3f572d9ab7
commit
19bbfb023a
Notes:
github-actions[bot]
2024-12-11 14:12:37 +00:00
Author: https://github.com/shannonbooth
Commit: 19bbfb023a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2831
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/trflynn89
7 changed files with 84 additions and 82 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Streams/Algorithms.h>
|
||||
#include <LibWeb/Streams/QueuingStrategy.h>
|
||||
#include <LibWeb/WebIDL/Promise.h>
|
||||
|
||||
|
@ -40,6 +41,8 @@ public:
|
|||
GC::Ptr<TransformStreamDefaultController> controller() const { return m_controller; }
|
||||
void set_controller(GC::Ptr<TransformStreamDefaultController> value) { m_controller = value; }
|
||||
|
||||
void set_up(GC::Ref<TransformAlgorithm>, GC::Ptr<FlushAlgorithm> = {}, GC::Ptr<CancelAlgorithm> = {});
|
||||
|
||||
private:
|
||||
explicit TransformStream(JS::Realm& realm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue