1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:47:46 +00:00

LibWeb: Plumb OOPWV focus state across the IPC boundary

This makes focus outlines show up in OOPWV at last! :^)
This commit is contained in:
Andreas Kling 2022-02-06 19:03:13 +01:00
parent a062e803c5
commit 65bd4477db
7 changed files with 28 additions and 0 deletions

View file

@ -32,6 +32,7 @@ public:
void set_preferred_color_scheme(Web::CSS::PreferredColorScheme);
void set_should_show_line_box_borders(bool b) { m_should_show_line_box_borders = b; }
void set_has_focus(bool);
private:
// ^PageClient
@ -74,6 +75,7 @@ private:
RefPtr<Gfx::PaletteImpl> m_palette_impl;
Gfx::IntRect m_screen_rect;
bool m_should_show_line_box_borders { false };
bool m_has_focus { false };
RefPtr<Core::Timer> m_invalidation_coalescing_timer;
Gfx::IntRect m_invalidation_rect;