1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00

Ladybird: Add stub for notify_server_did_finish_handling_input_event

This doesn't need to do anything yet, but will do once we start passing
events to web content *before* they're passed to our GUI.
This commit is contained in:
Sam Atkins 2022-11-21 16:36:26 +00:00 committed by Andrew Kaster
parent a1e380cc38
commit ec55b13e96
2 changed files with 8 additions and 0 deletions

View file

@ -1055,3 +1055,10 @@ bool WebContentView::event(QEvent* event)
}
return QAbstractScrollArea::event(event);
}
void WebContentView::notify_server_did_finish_handling_input_event(bool event_was_accepted)
{
// FIXME: Currently Ladybird handles the keyboard shortcuts before passing the event to web content, so
// we don't need to do anything here. But we'll need to once we start asking web content first.
(void)event_was_accepted;
}