diff options
author | Brandon Scott <xeons@users.noreply.github.com> | 2021-02-23 06:17:23 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-23 16:23:56 +0100 |
commit | 2f56a86a4ee3db4ca6bf712a11072ff53ef1b603 (patch) | |
tree | 3a167d6c7d35d5f6c31b3a86c38863266cc1b4d7 /Userland/Libraries/LibWeb/WebContentClient.h | |
parent | 306501fd4afa5fb6bf48f15aecd5921597a0d6cc (diff) | |
download | serenity-2f56a86a4ee3db4ca6bf712a11072ff53ef1b603.zip |
LibWeb: Added get source functionality and hook event
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r-- | Userland/Libraries/LibWeb/WebContentClient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h index 87fe8cbba9..513c4b5afd 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.h +++ b/Userland/Libraries/LibWeb/WebContentClient.h @@ -64,6 +64,7 @@ private: 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::DidGetSource& message); virtual OwnPtr<Messages::WebContentClient::DidRequestAlertResponse> handle(const Messages::WebContentClient::DidRequestAlert&) override; virtual OwnPtr<Messages::WebContentClient::DidRequestConfirmResponse> handle(const Messages::WebContentClient::DidRequestConfirm&) override; virtual OwnPtr<Messages::WebContentClient::DidRequestPromptResponse> handle(const Messages::WebContentClient::DidRequestPrompt&) override; |