mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
21 lines
370 B
C++
21 lines
370 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:
|
|
RefPtr<Document> m_document;
|
|
Size m_size;
|
|
};
|