summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-09-13 00:33:23 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-13 01:43:10 +0200
commit4629f2e4ad0640087d48e9e427e117620b09d7e8 (patch)
tree55f77b9b91c9dba677a7fd7e4b512fc75a49f27b /Userland/Libraries/LibWeb/WebContentClient.h
parent2b78e227f2bba96ebdf10f5aa0a83e0c9fd022cb (diff)
downloadserenity-4629f2e4ad0640087d48e9e427e117620b09d7e8.zip
LibWeb: Add the Web::URL namespace and move URLEncoder to it
This namespace will be used for all interfaces defined in the URL specification, like URL and URLSearchParams. This has the unfortunate side-effect of requiring us to use the fully qualified AK::URL name whenever we want to refer to the AK class, so this commit also fixes all such references.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h
index b22fcdb400..4b975d87c5 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -30,7 +30,7 @@ private:
virtual void die() override;
virtual void did_paint(Gfx::IntRect const&, i32) override;
- virtual void did_finish_loading(URL const&) override;
+ virtual void did_finish_loading(AK::URL const&) override;
virtual void did_invalidate_content_rect(Gfx::IntRect const&) override;
virtual void did_change_selection() override;
virtual void did_request_cursor_change(i32) override;
@@ -41,15 +41,15 @@ private:
virtual void did_request_scroll_into_view(Gfx::IntRect const&) override;
virtual void did_enter_tooltip_area(Gfx::IntPoint const&, String const&) override;
virtual void did_leave_tooltip_area() override;
- virtual void did_hover_link(URL const&) override;
+ virtual void did_hover_link(AK::URL const&) override;
virtual void did_unhover_link() override;
- virtual void did_click_link(URL const&, String const&, unsigned) override;
- virtual void did_middle_click_link(URL const&, String const&, unsigned) override;
- virtual void did_start_loading(URL const&) override;
+ virtual void did_click_link(AK::URL const&, String const&, unsigned) override;
+ virtual void did_middle_click_link(AK::URL const&, String const&, unsigned) override;
+ virtual void did_start_loading(AK::URL const&) override;
virtual void did_request_context_menu(Gfx::IntPoint const&) override;
- virtual void did_request_link_context_menu(Gfx::IntPoint const&, URL const&, String const&, unsigned) override;
- virtual void did_request_image_context_menu(Gfx::IntPoint const&, URL const&, String const&, unsigned, Gfx::ShareableBitmap const&) override;
- virtual void did_get_source(URL const&, String const&) override;
+ virtual void did_request_link_context_menu(Gfx::IntPoint const&, AK::URL const&, String const&, unsigned) override;
+ virtual void did_request_image_context_menu(Gfx::IntPoint const&, AK::URL const&, String const&, unsigned, Gfx::ShareableBitmap const&) override;
+ virtual void did_get_source(AK::URL const&, String const&) override;
virtual void did_get_dom_tree(String const&) override;
virtual void did_get_dom_node_properties(i32 node_id, String const& specified_style, String const& computed_style) override;
virtual void did_output_js_console_message(i32 message_index) override;
@@ -58,8 +58,8 @@ private:
virtual void did_request_alert(String const&) override;
virtual Messages::WebContentClient::DidRequestConfirmResponse did_request_confirm(String const&) override;
virtual Messages::WebContentClient::DidRequestPromptResponse did_request_prompt(String const&, String const&) override;
- virtual Messages::WebContentClient::DidRequestCookieResponse did_request_cookie(URL const&, u8) override;
- virtual void did_set_cookie(URL const&, Web::Cookie::ParsedCookie const&, u8) override;
+ virtual Messages::WebContentClient::DidRequestCookieResponse did_request_cookie(AK::URL const&, u8) override;
+ virtual void did_set_cookie(AK::URL const&, Web::Cookie::ParsedCookie const&, u8) override;
OutOfProcessWebView& m_view;
};