1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Libraries/LibWeb
Andreas Kling f39e5352f0 LibWeb: Start working on DOM event support
This patch adds the EventTarget class and makes Node inherit from it.

You can register event listeners on an EventTarget, and when you call
dispatch_event() on it, the event listeners will get invoked.

An event listener is basically a wrapper around a JS::Function*.

This is pretty far from how DOM events should eventually work, but it's
a place to start and we'll build more on top of this. :^)
2020-03-18 17:13:22 +01:00
..
Bindings LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
CodeGenerators LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CSS LibWeb: Don't try to repaint frameless documents in CSSStyleValue 2020-03-18 11:26:31 +01:00
DOM LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
Layout LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Parser LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Forward.h LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
Frame.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Frame.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
HtmlView.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
HtmlView.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Makefile LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
RenderingContext.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
TreeNode.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00