mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-07 08:40:59 +00:00
22 lines
373 B
C
22 lines
373 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibHTML/DOM/Document.h>
|
||
|
|
#include <SharedGraphics/Size.h>
|
||
|
|
|
||
|
|
class Frame {
|
||
|
|
public:
|
||
|
|
Frame();
|
||
|
|
~Frame();
|
||
|
|
|
||
|
|
Document* document() { return m_document.ptr(); }
|
||
|
|
const Document* document() const { return m_document.ptr(); }
|
||
|
|
|
||
|
|
void set_document(Document*);
|
||
|
|
|
||
|
|
void layout();
|
||
|
|
|
||
|
|
private:
|
||
|
|
RetainPtr<Document> m_document;
|
||
|
|
Size m_size;
|
||
|
|
};
|