mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWebView+UI: Rename ChromeOptions to BrowserOptions
This commit is contained in:
parent
6078143241
commit
e00c0c176e
Notes:
github-actions[bot]
2025-03-15 23:58:57 +00:00
Author: https://github.com/trflynn89
Commit: e00c0c176e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3959
Reviewed-by: https://github.com/awesomekling ✅
16 changed files with 42 additions and 42 deletions
|
@ -64,7 +64,7 @@ void Application::create_platform_arguments(Core::ArgsParser& args_parser)
|
|||
});
|
||||
}
|
||||
|
||||
void Application::create_platform_options(WebView::ChromeOptions& chrome_options, WebView::WebContentOptions& web_content_options)
|
||||
void Application::create_platform_options(WebView::BrowserOptions& browser_options, WebView::WebContentOptions& web_content_options)
|
||||
{
|
||||
if (!test_root_path.is_empty()) {
|
||||
// --run-tests implies --layout-test-mode.
|
||||
|
@ -73,7 +73,7 @@ void Application::create_platform_options(WebView::ChromeOptions& chrome_options
|
|||
|
||||
if (is_layout_test_mode) {
|
||||
// Allow window.open() to succeed for tests.
|
||||
chrome_options.allow_popups = WebView::AllowPopups::Yes;
|
||||
browser_options.allow_popups = WebView::AllowPopups::Yes;
|
||||
|
||||
// Ensure consistent font rendering between operating systems.
|
||||
web_content_options.force_fontconfig = WebView::ForceFontconfig::Yes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue