mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWeb+LibWebView+WebContent: Get doubleclick events from LibGUI
This commit is contained in:
parent
0e04532623
commit
03cda8a013
Notes:
sideshowbarker
2024-07-17 10:04:04 +09:00
Author: https://github.com/krkk
Commit: 03cda8a013
Pull-request: https://github.com/SerenityOS/serenity/pull/14277
Reviewed-by: https://github.com/AtkinsSJ
7 changed files with 19 additions and 0 deletions
|
@ -79,6 +79,11 @@ bool Page::handle_mousemove(Gfx::IntPoint const& position, unsigned buttons, uns
|
|||
return top_level_browsing_context().event_handler().handle_mousemove(position, buttons, modifiers);
|
||||
}
|
||||
|
||||
bool Page::handle_doubleclick(Gfx::IntPoint const& position, unsigned button, unsigned modifiers)
|
||||
{
|
||||
return top_level_browsing_context().event_handler().handle_doubleclick(position, button, modifiers);
|
||||
}
|
||||
|
||||
bool Page::handle_keydown(KeyCode key, unsigned modifiers, u32 code_point)
|
||||
{
|
||||
return focused_context().event_handler().handle_keydown(key, modifiers, code_point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue