cef/libcef/browser/chrome
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
..
extensions chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
views Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_delegate.h Update to Chromium version 125.0.6422.0 (#1287751) 2024-04-25 18:43:05 -04:00
browser_platform_delegate_chrome.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_platform_delegate_chrome.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
chrome_browser_context.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_browser_context.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
chrome_browser_delegate.cc chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
chrome_browser_delegate.h chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
chrome_browser_host_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_browser_host_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_browser_main_extra_parts_cef.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_browser_main_extra_parts_cef.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_content_browser_client_cef.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_content_browser_client_cef.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_content_browser_client_cef_mac.mm Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_context_menu_handler.cc chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
chrome_context_menu_handler.h chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
chrome_devtools_window_runner.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_devtools_window_runner.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_startup_browser_creator.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_startup_browser_creator.h chrome: Add callback for already running app relaunch (fixes #3609) 2023-12-04 15:43:45 -05:00
chrome_web_contents_view_delegate_cef.cc chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
chrome_web_contents_view_delegate_cef.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
chrome_web_contents_view_delegate_cef_mac.mm Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00