mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:15:07 +00:00
Ladybird+LibWebView: Migrate input completions to LibWebView callbacks
This commit is contained in:
parent
5116e97a9d
commit
edec5b1d91
9 changed files with 9 additions and 21 deletions
|
@ -71,6 +71,10 @@ OutOfProcessWebView::OutOfProcessWebView()
|
|||
on_leave_tooltip_area = []() {
|
||||
GUI::Application::the()->hide_tooltip();
|
||||
};
|
||||
|
||||
on_finish_handling_input_event = [this](auto event_was_accepted) {
|
||||
did_finish_handling_input_event(event_was_accepted);
|
||||
};
|
||||
}
|
||||
|
||||
OutOfProcessWebView::~OutOfProcessWebView() = default;
|
||||
|
@ -350,7 +354,7 @@ void OutOfProcessWebView::process_next_input_event()
|
|||
});
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_finish_handling_input_event(bool event_was_accepted)
|
||||
void OutOfProcessWebView::did_finish_handling_input_event(bool event_was_accepted)
|
||||
{
|
||||
VERIFY(m_is_awaiting_response_for_input_event);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue