chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) (#22649)
* chore: bump chromium in DEPS to 9321f32fb1b3af8fdfce55c7bbfacf3f75118dca * Update patches * Update electron_swiftshader_binaries deps2056931
* Use Promise with RequestPointerLock calls2069199
* Replace content::CursorInfo with ui::Cursor1999201
* Convert MaterialDesignController to a true singleton.2090877
* Drop WebContentsView::RenderViewCreated hook2093535
* chore: bump chromium in DEPS to 6478123cfa0102ed754c70eb9bbdd391d676a4dd * Splitting context_menu_params.h into separate browser VS common parts.2097468
* Fix DCHECK on OnThemeChanged()2090713
* chore: bump chromium in DEPS to b0269bb003f699bc8ea7dcba8b0795ef963696d7 * Remove no longer needed patch * Check PointerLock requests for new options and update accordingly2071788
* Address issues from review * Fixup compile error * Add additional library files * chore: bump chromium in DEPS to a41285fb8aebc8f70ed4cfe2262ea833750eaddb * Update patches Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
parent
a4c4c86b9d
commit
d8737734bf
58 changed files with 267 additions and 275 deletions
|
@ -43,8 +43,14 @@ void MediaAccessAllowed(const content::MediaStreamRequest& request,
|
|||
}
|
||||
|
||||
void OnPointerLockResponse(content::WebContents* web_contents, bool allowed) {
|
||||
if (web_contents)
|
||||
web_contents->GotResponseToLockMouseRequest(allowed);
|
||||
if (web_contents) {
|
||||
if (allowed)
|
||||
web_contents->GotResponseToLockMouseRequest(
|
||||
blink::mojom::PointerLockResult::kSuccess);
|
||||
else
|
||||
web_contents->GotResponseToLockMouseRequest(
|
||||
blink::mojom::PointerLockResult::kPermissionDenied);
|
||||
}
|
||||
}
|
||||
|
||||
void OnPermissionResponse(base::OnceCallback<void(bool)> callback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue