mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:38:11 +00:00
LibWeb: Add OutOfProcessWebView::load_html()
This commit is contained in:
parent
216ccaf805
commit
e40135fefd
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