mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
This PR integrates showing context menus into the `WebViewDelegate::show_embedder_control` API. In addition, `ContextMenuItem` and `ContextMenuAction` data types are exposed which abstract away the different components of the context menu. Later changes will implement this API for servoshell as well as add element-specific actions such as "Select All" and "Copy Image URL". Testing: This change adds a WebView API test. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: atbrakhi <atbrakhi@igalia.com>