DatL4g / KCEF

Kotlin implementation of jcefmaven with more modern setup and depending on JetBrains/jcef
https://datl4g.github.io/KCEF/
Apache License 2.0
48 stars 8 forks source link

CefPermissionHandler interface. #19

Open AlexeyKobyakov opened 2 days ago

AlexeyKobyakov commented 2 days ago

Hi.

In the CEF permissions documentation https://cef-builds.spotifycdn.com/docs/111.2/classCefPermissionHandler.html there is an interface CefPermissionHandler whose implementation allows to process permission requests. There are 3 methods in this interface OnRequestMediaAccessPermission OnShowPermissionPrompt OnDismissPermissionPrompt

However, in the implementation of the KCEF library, this interface contains only 1 method - onRequestMediaAccessPermission https://github.com/DatL4g/jcef/blob/7ecb9fb31a24bd765915bf84e6a75c1fd92bde4b/java/org/cef/handler/CefPermissionHandler.java

Is it possible to add the remaining 2 methods OnShowPermissionPrompt, OnDismissPermissionPrompt to the interface for implementation according to the CEF documentation?

DatL4g commented 2 days ago

That's not possible. KCEF is just a wrapper to load JetBrains/jcef so please open an issue there.