LibWeb+UI: Rename ChromeInputData to BrowserInputData

This commit is contained in:
Timothy Flynn 2025-03-15 17:07:53 -04:00 committed by Tim Flynn
commit e20d7be15f
Notes: github-actions[bot] 2025-03-15 23:58:47 +00:00
5 changed files with 32 additions and 32 deletions

View file

@ -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 };
}