cef/libcef/browser/chrome/extensions
Marshall Greenblatt fe24ce3c71 chrome: Add cleanup when context menu isn't running (fixes #3711)
The menu may not be running in the following cases:

- If the menu is empty (e.g. cleared in OnBeforeContextMenu).
- If the menu is disabled (see e.g. RenderViewContextMenuViews::Show).
- When the run call blocks until the menu is dismissed (macOS behavior).

We explicitly clean up in these cases instead of waiting for OnMenuClosed
which will otherwise never be called for the first 2 cases.

Menu run status is exposed via new ContextMenuDelegate and
RenderViewContextMenuBase methods.
2024-06-13 13:38:41 -04:00
..
chrome_extension_util.cc osr: Support DevTools windows with Chrome runtime Alloy style (see #3681) 2024-05-21 12:56:48 -04:00
chrome_extension_util.h osr: Support DevTools windows with Chrome runtime Alloy style (see #3681) 2024-05-21 12:56:48 -04:00
chrome_mime_handler_view_guest_delegate_cef.cc chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
chrome_mime_handler_view_guest_delegate_cef.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00