mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 21:12:26 +00:00
WebContent: Remove stale on_webcontent_connection hook
This commit is contained in:
parent
1f3285eb04
commit
7c607a4749
Notes:
sideshowbarker
2024-07-17 00:53:02 +09:00
Author: https://github.com/ADKaster
Commit: 7c607a4749
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/284
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/trflynn89
2 changed files with 0 additions and 5 deletions
|
@ -665,9 +665,6 @@ ErrorOr<void> PageClient::connect_to_webdriver(ByteString const& webdriver_ipc_p
|
|||
VERIFY(!m_webdriver);
|
||||
m_webdriver = TRY(WebDriverConnection::connect(*this, webdriver_ipc_path));
|
||||
|
||||
if (m_owner.on_webdriver_connection)
|
||||
m_owner.on_webdriver_connection(*m_webdriver);
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ public:
|
|||
static NonnullOwnPtr<PageHost> create(ConnectionFromClient& client) { return adopt_own(*new PageHost(client)); }
|
||||
virtual ~PageHost();
|
||||
|
||||
Function<void(WebDriverConnection&)> on_webdriver_connection;
|
||||
|
||||
Optional<PageClient&> page(u64 index);
|
||||
PageClient& create_page();
|
||||
void remove_page(Badge<PageClient>, u64 index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue