Skip to content

Truly independent web browser

LibWebView: Remove unused accessors

Shannon Booth76a33f54758e
diff --git a/Libraries/LibWebView/Application.h b/Libraries/LibWebView/Application.h
index 5677d85f556..d7bdda48980 100644
--- a/Libraries/LibWebView/Application.h
+++ b/Libraries/LibWebView/Application.h
@@ -302,8 +302,6 @@ public:
virtual void resolve_external_url_handler(URL::URL const&, ExternalURLHandlerCallback callback) const { callback(nullptr); }
- Main::Arguments const& command_line_arguments() const { return m_arguments; }
-
ChildIdentity add_child_process(Process&&);
// FIXME: Should these methods be part of Application, instead of deferring to ProcessManager?
diff --git a/Libraries/LibWebView/PageTranslation.h b/Libraries/LibWebView/PageTranslation.h
index 65fc08e1ea4..ac65c0f1af2 100644
--- a/Libraries/LibWebView/PageTranslation.h
+++ b/Libraries/LibWebView/PageTranslation.h
@@ -43,8 +43,6 @@ public:
explicit PageTranslation(ViewImplementation&);
~PageTranslation();
- // The language of the tab's document, once it's known.
- Optional<String> const& page_language() const { return m_page_language; }
// The language the page is shown in, if it's translated.
Optional<String> const& target_language() const { return m_target_language; }
bool is_translated() const { return m_target_language.has_value(); }
diff --git a/Libraries/LibWebView/ViewImplementation.h b/Libraries/LibWebView/ViewImplementation.h
index 07af4abb8fa..7bae5a03a4a 100644
--- a/Libraries/LibWebView/ViewImplementation.h
+++ b/Libraries/LibWebView/ViewImplementation.h
@@ -180,8 +180,6 @@ public:
u64 system_microphone_requests_for_testing() const;
u64 microphone_denied_notices_shown_for_testing() const { return m_microphone_denied_notices_shown; }
- bool location_in_use() const { return m_tab_indicators.is_active(TabIndicator::UsingLocation); }
-
// Ends every location request and watch whose document the user has since taken the permission away from.
void revoke_geolocation_without_permission();