mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibWeb: Cleanup unecessary uses and includes of HTML::Window
The big global refactor left some stragglers behind for atomicity. Clean up the rest, and remove a ton of includes of LibWeb/HTML/Window.h
This commit is contained in:
parent
cc164dc1e2
commit
56b381aac0
88 changed files with 76 additions and 169 deletions
|
@ -91,11 +91,6 @@ KeyboardEvent* KeyboardEvent::create_from_platform_event(JS::Realm& realm, FlySt
|
|||
return KeyboardEvent::create(realm, event_name, event_init);
|
||||
}
|
||||
|
||||
KeyboardEvent* KeyboardEvent::create_from_platform_event(HTML::Window& window, FlyString const& event_name, KeyCode platform_key, unsigned modifiers, u32 code_point)
|
||||
{
|
||||
return create_from_platform_event(window.realm(), event_name, platform_key, modifiers, code_point);
|
||||
}
|
||||
|
||||
bool KeyboardEvent::get_modifier_state(String const& key_arg)
|
||||
{
|
||||
if (key_arg == "Alt")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue