cef/libcef/browser
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
..
alloy chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
chrome chrome: Add cleanup when context menu isn't running (fixes #3711) 2024-06-13 13:38:41 -04:00
devtools Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
extensions Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
gpu Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
media_router Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
native Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
net Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
net_service Fix potential dangling PendingRequest::request_ (see #3239) 2024-06-04 14:11:59 -04:00
osr Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
prefs Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
printing Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
test tests: Fix SchemeHandlerTest failure with ReduceAcceptLanguage trial 2024-05-26 13:45:29 -04:00
views Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
audio_capturer.cc alloy: Fix audio capturer crash on exit (fixes #3689) 2024-05-21 17:58:13 +00:00
audio_capturer.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
audio_loopback_stream_creator.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
audio_loopback_stream_creator.h Update to Chromium version 111.0.5563.0 (#1097615) 2023-02-03 13:00:26 -05:00
browser_contents_delegate.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_contents_delegate.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_context.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_context.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_context_keyed_service_factories.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_context_keyed_service_factories.h Initialize required KeyedServiceFactories when extensions are disabled (issue #2359) 2018-02-02 17:44:08 -05:00
browser_frame.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_frame.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_host_base.cc chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
browser_host_base.h chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
browser_host_create.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_info.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_info.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
browser_info_manager.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_info_manager.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
browser_manager.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_manager.h Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
browser_message_loop.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_message_loop.h Refactor process execution logic (see issue #2969) 2020-06-29 16:17:13 -04:00
browser_platform_delegate.cc Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
browser_platform_delegate.h Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
browser_platform_delegate_create.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_util.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_util.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
certificate_query.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
certificate_query.h Update to Chromium version 111.0.5563.0 (#1097615) 2023-02-03 13:00:26 -05:00
chrome_crash_reporter_client_stub.cc Convert defined(OS_XXX) to BUILDFLAG(IS_XXX) in libcef 2022-01-24 12:58:04 -05:00
context.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
context.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
context_menu_params_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
context_menu_params_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
download_item_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
download_item_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
download_manager_delegate.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
download_manager_delegate.h chrome: Add CefDownloadHandler support (see #3681) 2024-04-27 15:36:58 -04:00
download_manager_delegate_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
download_manager_delegate_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
extension_impl.cc Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
extension_impl.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
file_dialog_manager.cc Pass mime type values as file dialog accept filters (see #3314) 2024-05-30 15:38:36 -04:00
file_dialog_manager.h Pass mime type values as file dialog accept filters (see #3314) 2024-05-30 15:38:36 -04:00
file_dialog_runner.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
file_dialog_runner.h Use Chrome file dialogs on all platforms and runtimes (fixes issue #3314) 2022-04-19 18:52:26 -04:00
frame_host_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
frame_host_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
frame_service_base.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
geometry_util.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
geometry_util.h chrome: Improve positioning of the "Find" widget (fixes #3461) 2023-04-20 12:26:07 -04:00
geometry_util_unittest.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
global_preference_manager_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
global_preference_manager_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
hang_monitor.cc Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
hang_monitor.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
image_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
image_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
iothread_state.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
iothread_state.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
javascript_dialog_manager.cc chrome: Add CefJSDialogHandler support (fixes #3702) 2024-06-04 12:19:14 -04:00
javascript_dialog_manager.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
javascript_dialog_runner.h alloy: Use Chrome JS dialogs on Windows/Linux (fixes issue #3316) 2022-06-03 22:45:23 +03:00
main_runner.cc alloy: Move warning after logging init (fixes #3713) 2024-06-10 11:03:35 -04:00
main_runner.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
media_access_query.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
media_access_query.h Update to Chromium version 121.0.6167.0 (#1233107) 2023-12-13 12:58:55 -05:00
media_capture_devices_dispatcher.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
media_capture_devices_dispatcher.h Update to Chromium version 111.0.5563.0 (#1097615) 2023-02-03 13:00:26 -05:00
media_stream_registrar.cc Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
media_stream_registrar.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
menu_manager.cc Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
menu_manager.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
menu_model_impl.cc Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
menu_model_impl.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
menu_runner.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
navigation_entry_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
navigation_entry_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
origin_whitelist_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
origin_whitelist_impl.h Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
path_util_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
permission_prompt.cc Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
permission_prompt.h Add CefPermissionHandler callbacks for permission prompts (see issue #3352) 2022-07-07 10:01:24 +00:00
print_settings_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
print_settings_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
process_util_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
request_context_handler_map.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
request_context_handler_map.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
request_context_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
request_context_impl.h Apply raw_ptr rewrite to libcef (see #3239) 2024-05-11 12:47:10 -04:00
scheme_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
server_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
server_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
simple_menu_model_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
simple_menu_model_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
speech_recognition_manager_delegate.cc Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
speech_recognition_manager_delegate.h Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
ssl_host_state_delegate.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
ssl_host_state_delegate.h Update to Chromium version 121.0.6167.0 (#1233107) 2023-12-13 12:58:55 -05:00
ssl_info_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
ssl_info_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
ssl_status_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
ssl_status_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
stream_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
stream_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
thread_util.h Replace NOTREACHED() with DCHECK(false) (fixes #3500) 2023-05-08 18:36:00 +03:00
trace_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
trace_subscriber.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
trace_subscriber.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
x509_cert_principal_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
x509_cert_principal_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
x509_certificate_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
x509_certificate_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
xml_reader_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
xml_reader_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
zip_reader_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
zip_reader_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00