mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-16 17:00:35 +03: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: https://github.com/LadybirdBrowser/ladybird/commit/7c607a4749 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/284 Reviewed-by: https://github.com/kalenikaliaksandr Reviewed-by: https://github.com/trflynn89
@ -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…
Reference in New Issue
Block a user