diff options
author | Linus Groh <mail@linusgroh.de> | 2022-09-24 16:02:41 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-09-24 19:31:39 +0100 |
commit | 4f73851afcc3338d58817643665ed13cc3e7d30e (patch) | |
tree | a9054a903a38d618519d1c43eeb9cf42cf944c43 /Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h | |
parent | dc44effd443adb18162ab8ca86c12d651faf8d8e (diff) | |
download | serenity-4f73851afcc3338d58817643665ed13cc3e7d30e.zip |
LibWeb: Move CallbackType from Bindings/ to WebIDL/
Let's stop putting generic types and AOs from the Web IDL spec into
the Bindings namespace and directory in LibWeb, and instead follow our
usual naming rules of 'directory = namespace = spec name'. The IDL
namespace is already used by LibIDL, so Web::WebIDL seems like a good
choice.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h b/Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h index 11c99dddee..23c1908be2 100644 --- a/Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h +++ b/Userland/Libraries/LibWeb/HTML/GlobalEventHandlers.h @@ -84,9 +84,9 @@ public: virtual ~GlobalEventHandlers(); #undef __ENUMERATE -#define __ENUMERATE(attribute_name, event_name) \ - void set_##attribute_name(Bindings::CallbackType*); \ - Bindings::CallbackType* attribute_name(); +#define __ENUMERATE(attribute_name, event_name) \ + void set_##attribute_name(WebIDL::CallbackType*); \ + WebIDL::CallbackType* attribute_name(); ENUMERATE_GLOBAL_EVENT_HANDLERS(__ENUMERATE) #undef __ENUMERATE |