mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb: Added get source functionality and hook event
This commit is contained in:
parent
306501fd4a
commit
2f56a86a4e
Notes:
sideshowbarker
2024-07-18 21:59:36 +09:00
Author: https://github.com/xeons
Commit: 2f56a86a4e
Pull-request: https://github.com/SerenityOS/serenity/pull/5477
Reviewed-by: https://github.com/awesomekling
5 changed files with 20 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue