mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Ladybird+LibWebView: Move Lagom code to Ladybird, Qt code to Utilities
Re-organize our helper files here a bit, to make a clearer distinction between Qt-specific helpers and generic non-serenity helpers. A future commit will move Lagom specific code from LibSQL to ladybird as well, so that we can see about future generic apis for spawning helper procesess.
This commit is contained in:
parent
3be71a81bb
commit
5062ba347b
10 changed files with 101 additions and 100 deletions
|
@ -42,6 +42,7 @@
|
|||
|
||||
#if !defined(AK_OS_SERENITY)
|
||||
# include <Ladybird/HelperProcess.h>
|
||||
# include <Ladybird/Utilities.h>
|
||||
# include <QCoreApplication>
|
||||
#endif
|
||||
|
||||
|
@ -57,7 +58,7 @@ public:
|
|||
(void)use_javascript_bytecode;
|
||||
#else
|
||||
auto candidate_web_content_paths = TRY(get_paths_for_helper_process("WebContent"sv));
|
||||
view->m_client_state.client = TRY(view->launch_web_content_process(candidate_web_content_paths, WebView::EnableCallgrindProfiling::No, is_layout_test_mode, use_javascript_bytecode));
|
||||
view->m_client_state.client = TRY(launch_web_content_process(*view, candidate_web_content_paths, WebView::EnableCallgrindProfiling::No, is_layout_test_mode, use_javascript_bytecode));
|
||||
#endif
|
||||
|
||||
view->client().async_update_system_theme(move(theme));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue