1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00

LibWebView+Ladybird: Move page loading to ViewImplementation

This commit is contained in:
Linus Groh 2023-01-12 20:30:06 +00:00 committed by Andreas Kling
parent 2428e3e675
commit de1c0c87fe
6 changed files with 25 additions and 43 deletions

View file

@ -49,9 +49,6 @@ public:
explicit WebContentView(StringView webdriver_content_ipc_path);
virtual ~WebContentView() override;
void load(AK::URL const&);
void load_html(StringView html, AK::URL const&);
Function<void(Gfx::IntPoint screen_position)> on_context_menu_request;
Function<void(const AK::URL&, DeprecatedString const& target, unsigned modifiers)> on_link_click;
Function<void(const AK::URL&, Gfx::IntPoint screen_position)> on_link_context_menu_request;
@ -204,8 +201,6 @@ private:
void handle_web_content_process_crash();
AK::URL m_url;
RefPtr<Gfx::Bitmap> m_backup_bitmap;
StringView m_webdriver_content_ipc_path;