mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb+UI: Rename ChromeInputData to BrowserInputData
This commit is contained in:
parent
47d6747945
commit
e20d7be15f
Notes:
github-actions[bot]
2025-03-15 23:58:47 +00:00
Author: https://github.com/trflynn89
Commit: e20d7be15f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3959
Reviewed-by: https://github.com/awesomekling ✅
5 changed files with 32 additions and 32 deletions
|
@ -10,17 +10,17 @@
|
|||
|
||||
namespace Web {
|
||||
|
||||
KeyEvent KeyEvent::clone_without_chrome_data() const
|
||||
KeyEvent KeyEvent::clone_without_browser_data() const
|
||||
{
|
||||
return { type, key, modifiers, code_point, repeat, nullptr };
|
||||
}
|
||||
|
||||
MouseEvent MouseEvent::clone_without_chrome_data() const
|
||||
MouseEvent MouseEvent::clone_without_browser_data() const
|
||||
{
|
||||
return { type, position, screen_position, button, buttons, modifiers, wheel_delta_x, wheel_delta_y, nullptr };
|
||||
}
|
||||
|
||||
DragEvent DragEvent::clone_without_chrome_data() const
|
||||
DragEvent DragEvent::clone_without_browser_data() const
|
||||
{
|
||||
return { type, position, screen_position, button, buttons, modifiers, {}, nullptr };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue