mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
LibWeb: Added get source functionality and hook event
This commit is contained in:
parent
306501fd4a
commit
2f56a86a4e
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