mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
3110f5b328
This patch replaces the bespoke rendering engine in Presenter with a simple pipeline that turns presentations into single-page HTML files. The HTML is then loaded into an OutOfProcessWebView. This achieves a number of things, most importantly: - Access to all the CSS features supported by LibWeb - Sandboxed, multi-process rendering The code could be simplified a lot further, but I wanted to get the new architecture in place without changing anything about the file format.
18 lines
375 B
CMake
18 lines
375 B
CMake
serenity_component(
|
|
Presenter
|
|
RECOMMENDED
|
|
TARGETS Presenter
|
|
DEPENDS FileSystemAccessServer
|
|
)
|
|
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
Presentation.cpp
|
|
PresenterWidget.cpp
|
|
Slide.cpp
|
|
SlideObject.cpp
|
|
)
|
|
serenity_app(Presenter ICON app-display-settings)
|
|
target_link_libraries(Presenter PRIVATE LibWebView LibGUI LibGfx LibFileSystemAccessClient LibCore LibMain)
|