mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibWeb: Fire "keyup" events as well :^)
This was easy, now that we have KeyboardEvent.
This commit is contained in:
parent
554c344ffe
commit
0af0ee4293
10 changed files with 28 additions and 0 deletions
|
@ -169,6 +169,11 @@ void ClientConnection::key_down(i32 key, unsigned int modifiers, u32 code_point)
|
|||
page().handle_keydown((KeyCode)key, modifiers, code_point);
|
||||
}
|
||||
|
||||
void ClientConnection::key_up(i32 key, unsigned int modifiers, u32 code_point)
|
||||
{
|
||||
page().handle_keyup((KeyCode)key, modifiers, code_point);
|
||||
}
|
||||
|
||||
void ClientConnection::debug_request(const String& request, const String& argument)
|
||||
{
|
||||
if (request == "dump-dom-tree") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue