fix: pointer lock escape handling (#32369)
This commit is contained in:
parent
841d223b3b
commit
ac1d426c51
4 changed files with 52 additions and 25 deletions
|
@ -36,9 +36,13 @@ class WebContentsPermissionHelper
|
|||
void RequestFullscreenPermission(base::OnceCallback<void(bool)> callback);
|
||||
void RequestMediaAccessPermission(const content::MediaStreamRequest& request,
|
||||
content::MediaResponseCallback callback);
|
||||
void RequestPointerLockPermission(
|
||||
bool user_gesture,
|
||||
bool last_unlocked_by_target,
|
||||
base::OnceCallback<void(content::WebContents*, bool, bool, bool)>
|
||||
callback);
|
||||
void RequestWebNotificationPermission(
|
||||
base::OnceCallback<void(bool)> callback);
|
||||
void RequestPointerLockPermission(bool user_gesture);
|
||||
void RequestOpenExternalPermission(base::OnceCallback<void(bool)> callback,
|
||||
bool user_gesture,
|
||||
const GURL& url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue