chrome: Add support for OnRequestMediaAccessPermission callback (see issue #2582)

This commit is contained in:
Marshall Greenblatt
2022-07-08 07:40:35 +00:00
parent e4b9169221
commit f1003df810
10 changed files with 282 additions and 99 deletions

View File

@@ -92,8 +92,10 @@ class CefPermissionHandler : public virtual CefBaseRefCounted {
// combination of values from cef_media_access_permission_types_t that
// represent the requested permissions. Return true and call
// CefMediaAccessCallback methods either in this method or at a later time to
// continue or cancel the request. Return false to cancel the request
// immediately. This method will not be called if the "--enable-media-stream"
// continue or cancel the request. Return false to proceed with default
// handling. With the Chrome runtime, default handling will display the
// permission request UI. With the Alloy runtime, default handling will deny
// the request. This method will not be called if the "--enable-media-stream"
// command-line switch is used to grant all permissions.
///
/*--cef()--*/