2021-04-25 13:19:53 +02:00
|
|
|
endpoint WebContentClient
|
2020-06-17 17:31:42 +02:00
|
|
|
{
|
2020-12-08 21:44:42 +01:00
|
|
|
DidStartLoading(URL url) =|
|
|
|
|
|
DidFinishLoading(URL url) =|
|
2021-01-16 23:15:32 +01:00
|
|
|
DidPaint(Gfx::IntRect content_rect, i32 bitmap_id) =|
|
2020-06-17 18:00:18 +02:00
|
|
|
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
|
2020-07-04 20:57:57 +02:00
|
|
|
DidChangeSelection() =|
|
2021-02-27 21:12:12 +00:00
|
|
|
DidRequestCursorChange(i32 cursor_type) =|
|
2020-07-04 23:19:32 +02:00
|
|
|
DidLayout(Gfx::IntSize content_size) =|
|
2020-07-04 23:40:17 +02:00
|
|
|
DidChangeTitle(String title) =|
|
2021-03-02 08:39:07 +11:00
|
|
|
DidRequestScroll(int wheel_delta) =|
|
2020-07-05 15:43:43 +02:00
|
|
|
DidRequestScrollIntoView(Gfx::IntRect rect) =|
|
2021-03-30 12:10:06 -04:00
|
|
|
DidEnterTooltipArea(Gfx::IntPoint content_position, String title) =|
|
|
|
|
|
DidLeaveTooltipArea() =|
|
2020-07-05 16:59:20 +02:00
|
|
|
DidHoverLink(URL url) =|
|
|
|
|
|
DidUnhoverLink() =|
|
2020-07-06 20:01:46 +02:00
|
|
|
DidClickLink(URL url, String target, unsigned modifiers) =|
|
|
|
|
|
DidMiddleClickLink(URL url, String target, unsigned modifiers) =|
|
2020-07-07 12:24:29 +02:00
|
|
|
DidRequestContextMenu(Gfx::IntPoint content_position) =|
|
|
|
|
|
DidRequestLinkContextMenu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers) =|
|
2021-04-11 16:49:25 +02:00
|
|
|
DidRequestImageContextMenu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers, Gfx::ShareableBitmap bitmap) =|
|
2020-09-12 11:56:13 +02:00
|
|
|
DidRequestAlert(String message) => ()
|
2021-02-10 08:48:28 +01:00
|
|
|
DidRequestConfirm(String message) => (bool result)
|
2021-02-20 12:05:18 +01:00
|
|
|
DidRequestPrompt(String message, String default_) => (String response)
|
2021-02-23 06:14:12 -06:00
|
|
|
DidGetSource(URL url, String source) =|
|
2021-02-27 21:44:49 -06:00
|
|
|
DidJSConsoleOutput(String method, String line) =|
|
2021-03-26 10:41:25 -04:00
|
|
|
DidChangeFavicon(Gfx::ShareableBitmap favicon) =|
|
2021-04-13 17:30:41 -04:00
|
|
|
DidRequestCookie(URL url, u8 source) => (String cookie)
|
2021-04-15 10:36:20 -04:00
|
|
|
DidSetCookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
|
2020-06-17 17:31:42 +02:00
|
|
|
}
|