mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Everywhere: Hoist the Services folder to the top-level
This commit is contained in:
parent
a7dc40eff3
commit
22e0eeada2
Notes:
github-actions[bot]
2024-11-10 11:52:06 +00:00
Author: https://github.com/trflynn89
Commit: 22e0eeada2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
68 changed files with 41 additions and 41 deletions
33
Services/WebDriver/WebContentConnection.h
Normal file
33
Services/WebDriver/WebContentConnection.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright (c) 2022-2024, Tim Flynn <trflynn89@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibIPC/ConnectionFromClient.h>
|
||||
#include <LibIPC/Transport.h>
|
||||
#include <WebContent/WebDriverClientEndpoint.h>
|
||||
#include <WebContent/WebDriverServerEndpoint.h>
|
||||
|
||||
namespace WebDriver {
|
||||
|
||||
class Client;
|
||||
|
||||
class WebContentConnection
|
||||
: public IPC::ConnectionFromClient<WebDriverClientEndpoint, WebDriverServerEndpoint> {
|
||||
C_OBJECT_ABSTRACT(WebContentConnection)
|
||||
public:
|
||||
explicit WebContentConnection(IPC::Transport transport);
|
||||
|
||||
Function<void()> on_close;
|
||||
Function<void(Web::WebDriver::Response)> on_driver_execution_complete;
|
||||
|
||||
private:
|
||||
virtual void die() override;
|
||||
|
||||
virtual void driver_execution_complete(Web::WebDriver::Response const&) override;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue