mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:15:06 +00:00
LibWeb+WebContent: Add on_load_finish hook to web views
This isn't entirely symmetrical with on_load_start as it will also fire on reloads and back/forward navigations. However, it's good enough for some basic use cases, and we can do more sophisticated notifications later on when we need them.
This commit is contained in:
parent
52dbdf4245
commit
eda9fb13cc
12 changed files with 31 additions and 7 deletions
|
@ -60,6 +60,7 @@ public:
|
|||
void notify_server_did_click_link(Badge<WebContentClient>, const URL&, const String& target, unsigned modifiers);
|
||||
void notify_server_did_middle_click_link(Badge<WebContentClient>, const URL&, const String& target, unsigned modifiers);
|
||||
void notify_server_did_start_loading(Badge<WebContentClient>, const URL&);
|
||||
void notify_server_did_finish_loading(Badge<WebContentClient>, const URL&);
|
||||
void notify_server_did_request_context_menu(Badge<WebContentClient>, const Gfx::IntPoint&);
|
||||
void notify_server_did_request_link_context_menu(Badge<WebContentClient>, const Gfx::IntPoint&, const URL&, const String& target, unsigned modifiers);
|
||||
void notify_server_did_request_alert(Badge<WebContentClient>, const String& message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue