mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 17:33:04 +00:00
LibWeb: Add OutOfProcessWebView::load_html()
This commit is contained in:
parent
216ccaf805
commit
e40135fefd
Notes:
sideshowbarker
2024-07-19 01:58:16 +09:00
Author: https://github.com/linusg
Commit: e40135fefd
Pull-request: https://github.com/SerenityOS/serenity/pull/3727
7 changed files with 25 additions and 0 deletions
|
@ -91,6 +91,14 @@ void ClientConnection::handle(const Messages::WebContentServer::LoadURL& message
|
|||
page().load(message.url());
|
||||
}
|
||||
|
||||
void ClientConnection::handle(const Messages::WebContentServer::LoadHTML& message)
|
||||
{
|
||||
#ifdef DEBUG_SPAM
|
||||
dbg() << "handle: WebContentServer::LoadHTML: html=" << message.html() << ", url=" << message.url();
|
||||
#endif
|
||||
page().load_html(message.html(), message.url());
|
||||
}
|
||||
|
||||
void ClientConnection::handle(const Messages::WebContentServer::SetViewportRect& message)
|
||||
{
|
||||
#ifdef DEBUG_SPAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue