mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 07:09:43 +03:00
c45c5ded34
The "WebContent" service provides a very restricted instance of LibWeb running as an unprivileged user account. This will be used to implement process separation in Browser, among other things. This first cut of the service only spawns a single WebContent process when someone connects to /tmp/portal/webcontent. We will soon switch this over to spawning a new process for each connection. Since this feature is very immature, we'll be bringing it up inside of Demos/WebView as a separate demo program. Eventually this will become a reusable widget that anyone can embed and easily get out-of-process web content in their GUI. This is pretty, pretty cool! :^)
14 lines
343 B
CMake
14 lines
343 B
CMake
compile_ipc(WebContentServer.ipc WebContentServerEndpoint.h)
|
|
compile_ipc(WebContentClient.ipc WebContentClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ClientConnection.cpp
|
|
main.cpp
|
|
PageHost.cpp
|
|
WebContentServerEndpoint.h
|
|
WebContentClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(WebContent)
|
|
target_link_libraries(WebContent LibCore LibIPC LibGfx LibWeb)
|