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:
parent
ec2600f246
commit
85c542ab00
Notes:
sideshowbarker
2024-07-17 14:33:07 +09:00
Author: https://github.com/awesomekling
Commit: 85c542ab00
Pull-request: https://github.com/SerenityOS/serenity/pull/18847
7 changed files with 108 additions and 135 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue