mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibWeb: Add OutOfProcessWebView::load_html()
This commit is contained in:
parent
216ccaf805
commit
e40135fefd
Notes:
sideshowbarker
2024-07-19 01:58:16 +09:00
Author: https://github.com/linusg
Commit: e40135fefd
Pull-request: https://github.com/SerenityOS/serenity/pull/3727
7 changed files with 25 additions and 0 deletions
|
@ -62,6 +62,11 @@ void Page::load(const LoadRequest& request)
|
|||
main_frame().loader().load(request, FrameLoader::Type::Navigation);
|
||||
}
|
||||
|
||||
void Page::load_html(const StringView& html, const URL& url)
|
||||
{
|
||||
main_frame().loader().load_html(html, url);
|
||||
}
|
||||
|
||||
Gfx::Palette Page::palette() const
|
||||
{
|
||||
return m_client.palette();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue