Hi,
CEF4Delphi is now updated to CEF 104.4.18.
This is what's new in CEF :
- Chromium 104.0.5112.81
- Mac: Fix crash related to geolocation permissions. https://bitbucket.org/chromiumembedded/cef/commits/b195ddd4a84694cd46ada5cfd5cc4ce2c2595306
- Increase frame reconnect timeout to 10 seconds. https://bitbucket.org/chromiumembedded/cef/commits/3f98be4c9550bd1f698b99d1c7633e335fb1d06e
- Focus the browser after dismissal of a modal dialog. https://bitbucket.org/chromiumembedded/cef/commits/418ae9847668d5e2903e7e8a30ead239f9bb96da
- Fix issues with browser focus assignment. https://bitbucket.org/chromiumembedded/cef/commits/2587cf23c5110bac3488ce7f2c98f6e08722aa50
This is what's new in CEF4Delphi :
- Added the JSSharedMemoryProcMessage demo.
- Set GlobalCEFApp.EnableMediaStream to False by default.
- Added the TChromiumCore.OnRunQuickMenu event.
- Added the TChromiumCore.OnQuickMenuCommand event.
- Added the TChromiumCore.OnQuickMenuDismissed event.
- Added the TChromiumCore.OnMediaAccessChange event.
- Added the TChromiumCore.OnGetTouchHandleSize event.
- Added the TChromiumCore.OnTouchHandleStateChanged event.
- Added the TChromiumCore.OnRequestMediaAccessPermission event.
- Added the TChromiumCore.OnShowPermissionPrompt event.
- Added the TChromiumCore.OnDismissPermissionPrompt event.
- Use TChromiumCore.OnMediaAccessChange and TChromiumCore.OnRequestMediaAccessPermission in the MiniBrowser demo to handle permissions.
ATTENTION
CEF now includes all the necessary events to handle the media access permissions. Those events only work when GlobalCEFApp.EnableMediaStream is False, which is the new default value for that property.
Read the code comments in this units for all the information about the new events :
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_permission_handler_capi.h
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_context_menu_handler_capi.h
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_display_handler_capi.h
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_render_handler_capi.h
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_shared_memory_region_capi.h
https://bitbucket.org/chromiumembedded/cef/src/5112/include/capi/cef_shared_process_message_builder_capi.h