mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:27:45 +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:
parent
a1e380cc38
commit
ec55b13e96
2 changed files with 8 additions and 0 deletions
|
@ -1055,3 +1055,10 @@ bool WebContentView::event(QEvent* event)
|
||||||
}
|
}
|
||||||
return QAbstractScrollArea::event(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;
|
||||||
|
}
|
||||||
|
|
|
@ -156,6 +156,7 @@ public:
|
||||||
virtual Gfx::IntRect notify_server_did_request_minimize_window() override;
|
virtual Gfx::IntRect notify_server_did_request_minimize_window() override;
|
||||||
virtual Gfx::IntRect notify_server_did_request_fullscreen_window() override;
|
virtual Gfx::IntRect notify_server_did_request_fullscreen_window() override;
|
||||||
virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) override;
|
virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) override;
|
||||||
|
virtual void notify_server_did_finish_handling_input_event(bool event_was_accepted) override;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void link_hovered(QString, int timeout = 0);
|
void link_hovered(QString, int timeout = 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue