mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Avoid including Navigable.h in headers
This greatly reduces how much is recompiled when changing Navigable.h, from >1000 to 82.
This commit is contained in:
parent
7bccd65b4a
commit
eeb5446c1b
Notes:
github-actions[bot]
2025-10-20 09:18:20 +00:00
Author: https://github.com/Lubrsi
Commit: eeb5446c1b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6491
Reviewed-by: https://github.com/AtkinsSJ ✅
55 changed files with 170 additions and 64 deletions
19
Libraries/LibWeb/HTML/PaintConfig.h
Normal file
19
Libraries/LibWeb/HTML/PaintConfig.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
struct PaintConfig {
|
||||
bool paint_overlay { false };
|
||||
bool should_show_line_box_borders { false };
|
||||
Optional<Gfx::IntRect> canvas_fill_rect {};
|
||||
|
||||
bool operator==(PaintConfig const& other) const = default;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue