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:
parent
85ac9705ba
commit
7e068565bc
4 changed files with 20 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue