mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00

In single process mode, the browser will display a page's favicon in both the location bar and tab. This adds the same support for multi- process mode.
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
endpoint WebContentClient = 90
|
|
{
|
|
DidStartLoading(URL url) =|
|
|
DidFinishLoading(URL url) =|
|
|
DidPaint(Gfx::IntRect content_rect, i32 bitmap_id) =|
|
|
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
|
|
DidChangeSelection() =|
|
|
DidRequestCursorChange(i32 cursor_type) =|
|
|
DidLayout(Gfx::IntSize content_size) =|
|
|
DidChangeTitle(String title) =|
|
|
DidRequestScroll(int wheel_delta) =|
|
|
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) => ()
|
|
DidRequestConfirm(String message) => (bool result)
|
|
DidRequestPrompt(String message, String default_) => (String response)
|
|
DidGetSource(URL url, String source) =|
|
|
DidJSConsoleOutput(String method, String line) =|
|
|
DidChangeFavicon(Gfx::ShareableBitmap favicon) =|
|
|
}
|