mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 17:46:04 +01:00
fe24ce3c71
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. |
||
---|---|---|
.. | ||
chrome_extension_util.cc | ||
chrome_extension_util.h | ||
chrome_mime_handler_view_guest_delegate_cef.cc | ||
chrome_mime_handler_view_guest_delegate_cef.h |