LibHTML: Push the visible viewport rect from HtmlView to Frame

This will allow various mechanisms and optimizations based on the
currently visible viewport rect.
This commit is contained in:
Andreas Kling 2019-12-18 20:54:23 +01:00
commit 7e068565bc
Notes: sideshowbarker 2024-07-19 10:49:02 +09:00
4 changed files with 20 additions and 0 deletions

View file

@ -47,6 +47,8 @@ protected:
virtual void keydown_event(GKeyEvent&) override;
private:
virtual void did_scroll() override;
void layout_and_sync_size();
void dump_selection(const char* event_name);