mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb: Support window.alert() in multi-process context
Alerts are now delegated to the embedding GUI process.
This commit is contained in:
parent
aba793fb3e
commit
d9e39cb82d
11 changed files with 33 additions and 2 deletions
|
@ -169,4 +169,9 @@ void PageHost::page_did_request_link_context_menu(const Gfx::IntPoint& content_p
|
|||
m_client.post_message(Messages::WebContentClient::DidRequestLinkContextMenu(content_position, url, target, modifiers));
|
||||
}
|
||||
|
||||
void PageHost::page_did_request_alert(const String& message)
|
||||
{
|
||||
m_client.send_sync<Messages::WebContentClient::DidRequestAlert>(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue