1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Libraries/LibWeb/UIEvents
Andreas Kling a6dfc74e93 LibWeb: Only set prototype once for object with IDL interface
Before this change, we were going through the chain of base classes for
each IDL interface object and having them set the prototype to their
prototype.

Instead of doing that, reorder things so that we set the right prototype
immediately in Foo::initialize(), and then don't bother in all the base
class overrides.

This knocks off a ~1% profile item on Speedometer 3.
2025-04-20 18:43:11 +02:00
..
CompositionEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
CompositionEvent.h LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
CompositionEvent.idl LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
EventModifier.h
EventModifier.idl
EventNames.cpp LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
EventNames.h LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
FocusEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
FocusEvent.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
FocusEvent.idl
InputEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
InputEvent.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
InputEvent.idl
InputTypes.cpp LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
InputTypes.h LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
KeyboardEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
KeyboardEvent.h LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
KeyboardEvent.idl LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
KeyCode.h
MouseButton.h
MouseEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
MouseEvent.h LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
MouseEvent.idl LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
PointerEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
PointerEvent.h LibWeb: Dispatch pointer events in EventHandler 2024-11-22 00:32:58 +01:00
PointerEvent.idl
TextEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
TextEvent.h LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
TextEvent.idl LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
UIEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
UIEvent.h LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
UIEvent.idl LibWeb: Use WindowProxy instead of Window in UI Events IDL 2024-11-17 23:47:24 +01:00
WheelEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WheelEvent.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WheelEvent.idl