mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 22:08:59 +00:00
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
15 lines
468 B
C++
15 lines
468 B
C++
#pragma once
|
|
|
|
#include <LibHTML/Layout/LayoutBlock.h>
|
|
#include <LibHTML/DOM/Document.h>
|
|
|
|
class LayoutDocument final : public LayoutBlock {
|
|
public:
|
|
LayoutDocument(const Document&, const StyledNode&);
|
|
virtual ~LayoutDocument() override;
|
|
|
|
const Document& node() const { return static_cast<const Document&>(*LayoutNode::node()); }
|
|
virtual const char* class_name() const override { return "LayoutDocument"; }
|
|
virtual void layout() override;
|
|
private:
|
|
};
|