mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 09:21:55 +00:00
LibWeb+WebContent: Add a page hook to invoke the did-click-link IPC
This commit is contained in:
parent
3ff965d672
commit
facaf953eb
Notes:
github-actions[bot]
2024-08-02 06:08:02 +00:00
Author: https://github.com/trflynn89
Commit: facaf953eb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/925
3 changed files with 7 additions and 0 deletions
|
@ -324,6 +324,11 @@ void PageClient::page_did_unhover_link()
|
|||
client().async_did_unhover_link(m_id);
|
||||
}
|
||||
|
||||
void PageClient::page_did_click_link(URL::URL const& url, ByteString const& target, unsigned modifiers)
|
||||
{
|
||||
client().async_did_click_link(m_id, url, target, modifiers);
|
||||
}
|
||||
|
||||
void PageClient::page_did_middle_click_link(URL::URL const& url, ByteString const& target, unsigned modifiers)
|
||||
{
|
||||
client().async_did_middle_click_link(m_id, url, target, modifiers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue