1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

LibWeb: Move everything into the Web namespace

This commit is contained in:
Andreas Kling 2020-03-07 10:27:02 +01:00
parent 6a3b12664a
commit 7a6c4a72d5
143 changed files with 593 additions and 45 deletions

View file

@ -28,6 +28,8 @@
#include <LibHTML/DOM/Node.h>
namespace Web {
class ParentNode : public Node {
public:
template<typename F> void for_each_child(F) const;
@ -53,3 +55,5 @@ inline void ParentNode::for_each_child(Callback callback)
for (auto* node = first_child(); node; node = node->next_sibling())
callback(*node);
}
}