mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-15 07:09:43 +03:00
eda9fb13cc
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.
19 lines
774 B
Plaintext
19 lines
774 B
Plaintext
endpoint WebContentClient = 90
|
|
{
|
|
DidStartLoading(URL url) =|
|
|
DidFinishLoading(URL url) =|
|
|
DidPaint(Gfx::IntRect content_rect, i32 shbuf_id) =|
|
|
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
|
|
DidChangeSelection() =|
|
|
DidLayout(Gfx::IntSize content_size) =|
|
|
DidChangeTitle(String title) =|
|
|
DidRequestScrollIntoView(Gfx::IntRect rect) =|
|
|
DidHoverLink(URL url) =|
|
|
DidUnhoverLink() =|
|
|
DidClickLink(URL url, String target, unsigned modifiers) =|
|
|
DidMiddleClickLink(URL url, String target, unsigned modifiers) =|
|
|
DidRequestContextMenu(Gfx::IntPoint content_position) =|
|
|
DidRequestLinkContextMenu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers) =|
|
|
DidRequestAlert(String message) => ()
|
|
}
|