mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
WebContent: Turn it into a MultiInstance service :^)
Port the WebContent service to the new MultiInstance mechanism that Sergey added. This means that every new WebContentView gets its very own segregated WebContent process.
This commit is contained in:
parent
ed351c7493
commit
59537cf257
5 changed files with 10 additions and 17 deletions
|
@ -62,9 +62,10 @@ const Web::Page& ClientConnection::page() const
|
|||
return m_page_host->page();
|
||||
}
|
||||
|
||||
OwnPtr<Messages::WebContentServer::GreetResponse> ClientConnection::handle(const Messages::WebContentServer::Greet&)
|
||||
OwnPtr<Messages::WebContentServer::GreetResponse> ClientConnection::handle(const Messages::WebContentServer::Greet& message)
|
||||
{
|
||||
return make<Messages::WebContentServer::GreetResponse>(client_id());
|
||||
set_client_pid(message.client_pid());
|
||||
return make<Messages::WebContentServer::GreetResponse>(client_id(), getpid());
|
||||
}
|
||||
|
||||
void ClientConnection::handle(const Messages::WebContentServer::UpdateSystemTheme& message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue