1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:38:12 +00:00

Ladybird+LibWebView: Migrate tooltip changes to LibWebView callbacks

This commit is contained in:
Timothy Flynn 2023-08-23 11:11:39 -04:00 committed by Tim Flynn
parent 78d9339aa9
commit 5116e97a9d
10 changed files with 27 additions and 53 deletions

View file

@ -133,18 +133,6 @@ Optional<WebViewBridge::Paintable> WebViewBridge::paintable()
return Paintable { *bitmap, bitmap_size };
}
void WebViewBridge::notify_server_did_enter_tooltip_area(Badge<WebView::WebContentClient>, Gfx::IntPoint, DeprecatedString const& tooltip)
{
if (on_tooltip_entered)
on_tooltip_entered(tooltip);
}
void WebViewBridge::notify_server_did_leave_tooltip_area(Badge<WebView::WebContentClient>)
{
if (on_tooltip_left)
on_tooltip_left();
}
void WebViewBridge::notify_server_did_finish_handling_input_event(bool)
{
}