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/OutOfProcessWebView.h | |
parent | 306501fd4afa5fb6bf48f15aecd5921597a0d6cc (diff) | |
download | serenity-2f56a86a4ee3db4ca6bf712a11072ff53ef1b603.zip |
LibWeb: Added get source functionality and hook event
Diffstat (limited to 'Userland/Libraries/LibWeb/OutOfProcessWebView.h')
-rw-r--r-- | Userland/Libraries/LibWeb/OutOfProcessWebView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/OutOfProcessWebView.h b/Userland/Libraries/LibWeb/OutOfProcessWebView.h index 0022efded8..1c243abd5a 100644 --- a/Userland/Libraries/LibWeb/OutOfProcessWebView.h +++ b/Userland/Libraries/LibWeb/OutOfProcessWebView.h @@ -50,6 +50,7 @@ public: void load_empty_document(); void debug_request(const String& request, const String& argument = {}); + void get_source(); void notify_server_did_layout(Badge<WebContentClient>, const Gfx::IntSize& content_size); void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id); @@ -68,6 +69,7 @@ public: void notify_server_did_request_alert(Badge<WebContentClient>, const String& message); bool notify_server_did_request_confirm(Badge<WebContentClient>, const String& message); String notify_server_did_request_prompt(Badge<WebContentClient>, const String& message, const String& default_); + void notify_server_did_get_source(const URL& url, const String& source); private: OutOfProcessWebView(); |