1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 16:45:08 +00:00

LibWeb: Add FrameLoader::load_html()

This moves responsibility for parsing and loading the document
from InProcessWebView to FrameLoader, so can be re-used easily.
This commit is contained in:
Linus Groh 2020-10-08 21:03:16 +01:00 committed by Andreas Kling
parent e49ea1b520
commit a2a603d38a
3 changed files with 11 additions and 3 deletions

View file

@ -47,6 +47,8 @@ public:
bool load(const URL&, Type);
bool load(const LoadRequest&, Type);
void load_html(const StringView&, const URL&);
Frame& frame() { return m_frame; }
const Frame& frame() const { return m_frame; }