LibWebView+UI: Add structures to hold context menu and action data

We currently duplicate a lot of code to handle application/context menus
and actions. The goal here is to hold the data for the menus and actions
in LibWebView. Each UI will then be able to generate menus from the data
on-the-fly.

The structures added here are meant to support generic and checkable
actions, action groups, submenus, etc.
This commit is contained in:
Timothy Flynn 2025-08-30 13:11:21 -04:00 committed by Tim Flynn
parent 2632b1375b
commit a5be0f0a18
Notes: github-actions[bot] 2025-09-11 18:25:23 +00:00
10 changed files with 619 additions and 1 deletions

View file

@ -6,11 +6,12 @@ target_sources(ladybird PRIVATE
FindInPageWidget.cpp
Icon.cpp
LocationEdit.cpp
Menu.cpp
Settings.cpp
StringUtils.cpp
Tab.cpp
TabBar.cpp
TVGIconEngine.cpp
StringUtils.cpp
WebContentView.cpp
ladybird.qrc
)