mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
Ladybird+LibWebView: Migrate layout notification to LibWebView callbacks
This commit is contained in:
parent
682a5f9b70
commit
bf464665a7
10 changed files with 19 additions and 34 deletions
|
@ -49,8 +49,6 @@ public:
|
|||
};
|
||||
Optional<Paintable> paintable();
|
||||
|
||||
Function<void(Gfx::IntSize)> on_layout;
|
||||
|
||||
Function<void(Gfx::IntPoint)> on_scroll;
|
||||
|
||||
Function<void(Gfx::StandardCursor)> on_cursor_change;
|
||||
|
@ -61,7 +59,6 @@ public:
|
|||
private:
|
||||
WebViewBridge(Vector<Gfx::IntRect> screen_rects, float device_pixel_ratio, Optional<StringView> webdriver_content_ipc_path);
|
||||
|
||||
virtual void notify_server_did_layout(Badge<WebView::WebContentClient>, Gfx::IntSize content_size) override;
|
||||
virtual void notify_server_did_request_cursor_change(Badge<WebView::WebContentClient>, Gfx::StandardCursor cursor) override;
|
||||
virtual void notify_server_did_request_scroll(Badge<WebView::WebContentClient>, i32, i32) override;
|
||||
virtual void notify_server_did_request_scroll_to(Badge<WebView::WebContentClient>, Gfx::IntPoint) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue