mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWebView+ImageDecoder+RequestServer+WebContent: Add init_transport
This commit is contained in:
Notes:
github-actions[bot]
2025-02-13 11:46:18 +00:00
Author: https://github.com/stasoid Commit: https://github.com/LadybirdBrowser/ladybird/commit/3e46cb90677 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3179 Reviewed-by: https://github.com/ADKaster ✅
@@ -34,6 +34,8 @@ class Client final
|
||||
C_OBJECT_ABSTRACT(Client);
|
||||
|
||||
public:
|
||||
using InitTransport = Messages::ImageDecoderServer::InitTransport;
|
||||
|
||||
Client(IPC::Transport);
|
||||
|
||||
NonnullRefPtr<Core::Promise<DecodedImage>> decode_image(ReadonlyBytes, Function<ErrorOr<void>(DecodedImage&)> on_resolved, Function<void(Error&)> on_rejected, Optional<Gfx::IntSize> ideal_size = {}, Optional<ByteString> mime_type = {});
|
||||
|
||||
Reference in New Issue
Block a user