mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +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
|
@ -84,8 +84,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
WebView::ChromeProcess chrome_process;
|
||||
|
||||
if (app->chrome_options().force_new_process == WebView::ForceNewProcess::No) {
|
||||
auto disposition = TRY(chrome_process.connect(app->chrome_options().raw_urls, app->chrome_options().new_window));
|
||||
if (app->browser_options().force_new_process == WebView::ForceNewProcess::No) {
|
||||
auto disposition = TRY(chrome_process.connect(app->browser_options().raw_urls, app->browser_options().new_window));
|
||||
|
||||
if (disposition == WebView::ChromeProcess::ProcessDisposition::ExitProcess) {
|
||||
outln("Opening in existing process");
|
||||
|
@ -129,7 +129,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
app->new_window(urls);
|
||||
};
|
||||
|
||||
auto& window = app->new_window(app->chrome_options().urls);
|
||||
auto& window = app->new_window(app->browser_options().urls);
|
||||
window.setWindowTitle("Ladybird");
|
||||
|
||||
if (Ladybird::Settings::the()->is_maximized()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue