1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:45:08 +00:00

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
parent 85ac9705ba
commit 7e068565bc
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);