
Building a whole layout tree shouldn't be a concern of Node, so this patch moves it to a separate class.
13 lines
169 B
C++
13 lines
169 B
C++
#pragma once
|
|
|
|
#include <AK/RefPtr.h>
|
|
|
|
class Node;
|
|
class LayoutNode;
|
|
|
|
class LayoutTreeBuilder {
|
|
public:
|
|
LayoutTreeBuilder();
|
|
|
|
RefPtr<LayoutNode> build(Node&);
|
|
};
|