summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-02 19:54:34 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-03 21:14:06 +0200
commit065040872f62f608374da6709502033720442882 (patch)
treec9e974c1d32837df87ad334515a1535113fdc756 /Userland/Libraries/LibWeb/WebContentClient.h
parentd47f15ab8b8ff545864fed2a0e275674c1431549 (diff)
downloadserenity-065040872f62f608374da6709502033720442882.zip
Userland: Change IPC funcs to use plain arguments instead of a struct
Instead of having a single overloaded handle method each method gets its own unique method name now.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h
index 7380c13a9d..65f13ddb03 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -31,33 +31,33 @@ private:
virtual void die() override;
- virtual void handle(const Messages::WebContentClient::DidPaint&) override;
- virtual void handle(const Messages::WebContentClient::DidFinishLoading&) override;
- virtual void handle(const Messages::WebContentClient::DidInvalidateContentRect&) override;
- virtual void handle(const Messages::WebContentClient::DidChangeSelection&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestCursorChange&) override;
- virtual void handle(const Messages::WebContentClient::DidLayout&) override;
- virtual void handle(const Messages::WebContentClient::DidChangeTitle&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestScroll&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestScrollIntoView&) override;
- virtual void handle(const Messages::WebContentClient::DidEnterTooltipArea&) override;
- virtual void handle(const Messages::WebContentClient::DidLeaveTooltipArea&) override;
- virtual void handle(const Messages::WebContentClient::DidHoverLink&) override;
- virtual void handle(const Messages::WebContentClient::DidUnhoverLink&) override;
- virtual void handle(const Messages::WebContentClient::DidClickLink&) override;
- virtual void handle(const Messages::WebContentClient::DidMiddleClickLink&) override;
- virtual void handle(const Messages::WebContentClient::DidStartLoading&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestContextMenu&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestLinkContextMenu&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestImageContextMenu&) override;
- virtual void handle(const Messages::WebContentClient::DidGetSource&) override;
- virtual void handle(const Messages::WebContentClient::DidJSConsoleOutput&) override;
- virtual void handle(const Messages::WebContentClient::DidChangeFavicon&) override;
- virtual void handle(const Messages::WebContentClient::DidRequestAlert&) override;
- virtual Messages::WebContentClient::DidRequestConfirmResponse handle(const Messages::WebContentClient::DidRequestConfirm&) override;
- virtual Messages::WebContentClient::DidRequestPromptResponse handle(const Messages::WebContentClient::DidRequestPrompt&) override;
- virtual Messages::WebContentClient::DidRequestCookieResponse handle(const Messages::WebContentClient::DidRequestCookie&) override;
- virtual void handle(const Messages::WebContentClient::DidSetCookie&) override;
+ virtual void did_paint(Gfx::IntRect const&, i32) override;
+ virtual void did_finish_loading(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;
+ virtual void did_layout(Gfx::IntSize const&) override;
+ virtual void did_change_title(String const&) override;
+ virtual void did_request_scroll(int) override;
+ 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_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_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_jsconsole_output(String const&, String const&) override;
+ virtual void did_change_favicon(Gfx::ShareableBitmap const&) override;
+ 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;
OutOfProcessWebView& m_view;
};