mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWebView: Add an option to disable painting viewport scrollbars
This commit is contained in:
parent
639ed5a052
commit
dd819d1dea
Notes:
github-actions[bot]
2025-01-15 12:35:09 +00:00
Author: https://github.com/tcl3
Commit: dd819d1dea
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2962
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 11 additions and 0 deletions
|
@ -118,6 +118,11 @@ enum class IsHeadless {
|
|||
Yes,
|
||||
};
|
||||
|
||||
enum class PaintViewportScrollbars {
|
||||
Yes,
|
||||
No,
|
||||
};
|
||||
|
||||
struct WebContentOptions {
|
||||
String command_line;
|
||||
String executable_path;
|
||||
|
@ -134,6 +139,7 @@ struct WebContentOptions {
|
|||
CollectGarbageOnEveryAllocation collect_garbage_on_every_allocation { CollectGarbageOnEveryAllocation::No };
|
||||
Optional<u16> echo_server_port {};
|
||||
IsHeadless is_headless { IsHeadless::No };
|
||||
PaintViewportScrollbars paint_viewport_scrollbars { PaintViewportScrollbars::Yes };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue