mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +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
|
@ -286,7 +286,7 @@
|
|||
self.info_bar = [[InfoBar alloc] init];
|
||||
}
|
||||
|
||||
auto message = MUST(String::formatted("DevTools is enabled on port {}", WebView::Application::chrome_options().devtools_port));
|
||||
auto message = MUST(String::formatted("DevTools is enabled on port {}", WebView::Application::browser_options().devtools_port));
|
||||
|
||||
[self.info_bar showWithMessage:Ladybird::string_to_ns_string(message)
|
||||
dismissButtonTooltip:@"Disable DevTools"
|
||||
|
@ -814,7 +814,7 @@
|
|||
{
|
||||
Tab* tab = nil;
|
||||
|
||||
for (auto const& url : WebView::Application::chrome_options().urls) {
|
||||
for (auto const& url : WebView::Application::browser_options().urls) {
|
||||
auto activate_tab = tab == nil ? Web::HTML::ActivateTab::Yes : Web::HTML::ActivateTab::No;
|
||||
|
||||
auto* controller = [self createNewTab:url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue