mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
391beef707
This will help a lot with developing chromes for different UI frameworks where we can see which helper classes and processes are really using Qt vs just using it to get at helper data. As a bonus, remove Qt dependency from WebDriver.
28 lines
771 B
C++
28 lines
771 B
C++
/*
|
|
* Copyright (c) 2022, Dex♪ <dexes.ttp@gmail.com>
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/WebSockets/WebSocket.h>
|
|
#include <LibWebSocket/ConnectionInfo.h>
|
|
#include <LibWebSocket/Message.h>
|
|
#include <LibWebSocket/WebSocket.h>
|
|
|
|
#pragma once
|
|
|
|
namespace Ladybird {
|
|
|
|
class WebSocketClientManagerQt : public Web::WebSockets::WebSocketClientManager {
|
|
public:
|
|
static NonnullRefPtr<WebSocketClientManagerQt> create();
|
|
|
|
virtual ~WebSocketClientManagerQt() override;
|
|
virtual RefPtr<Web::WebSockets::WebSocketClientSocket> connect(AK::URL const&, DeprecatedString const& origin, Vector<DeprecatedString> const& protocols) override;
|
|
|
|
private:
|
|
WebSocketClientManagerQt();
|
|
};
|
|
|
|
}
|