diff options
author | Igor Pissolati <igo08an@hotmail.com> | 2022-04-09 12:45:05 -0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-09 18:27:24 +0200 |
commit | 7f45a9e9c1ae40e7077a2a661738192832fdc13e (patch) | |
tree | 9feb9bc984d29bfaf10876d41966daffd7e51027 /Userland/Libraries/LibWeb/UIEvents/UIEvent.h | |
parent | 1b94b4c593e5a0600d18f448c019a9a8b3533340 (diff) | |
download | serenity-7f45a9e9c1ae40e7077a2a661738192832fdc13e.zip |
LibWeb: Add "which" attribute to UIEvent
This is non-standard but is supported by all major browsers.
Diffstat (limited to 'Userland/Libraries/LibWeb/UIEvents/UIEvent.h')
-rw-r--r-- | Userland/Libraries/LibWeb/UIEvents/UIEvent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/UIEvents/UIEvent.h b/Userland/Libraries/LibWeb/UIEvents/UIEvent.h index 4da9382559..9be4446a61 100644 --- a/Userland/Libraries/LibWeb/UIEvents/UIEvent.h +++ b/Userland/Libraries/LibWeb/UIEvents/UIEvent.h @@ -35,6 +35,7 @@ public: HTML::Window const* view() const { return m_view; } int detail() const { return m_detail; } + virtual u32 which() const { return 0; } void init_ui_event(String const& type, bool bubbles, bool cancelable, HTML::Window* view, int detail) { |