1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

Ladybird+LibWebView: Move backing store management code to LibWebView

This lets us share this code on all platforms, and makes resizing the
window much faster on SerenityOS as well. :^)
This commit is contained in:
Andreas Kling 2023-05-15 07:59:51 +02:00
parent ec2600f246
commit 85c542ab00
Notes: sideshowbarker 2024-07-17 14:33:07 +09:00
7 changed files with 108 additions and 135 deletions

View file

@ -179,8 +179,7 @@ private:
virtual void notify_server_did_request_file(Badge<WebContentClient>, DeprecatedString const& path, i32) override;
virtual void notify_server_did_finish_handling_input_event(bool event_was_accepted) override;
void request_repaint();
void handle_resize();
virtual Gfx::IntRect viewport_rect() const override;
void handle_web_content_process_crash();
@ -188,7 +187,6 @@ private:
void enqueue_input_event(InputEvent const&);
void process_next_input_event();
RefPtr<Gfx::Bitmap> m_backup_bitmap;
RefPtr<GUI::Dialog> m_dialog;
bool m_is_awaiting_response_for_input_event { false };