chore: bump chromium to 124.0.6353.0 (main) (#41566)
* chore: bump chromium in DEPS to 124.0.6353.0 * chore: update patches * 5365462: Add missing perfetto::Flow and TRACE_EVENT includes5365462
* 5356336: Ensure destruction of mojo channel when destructing KeySystemsImpl5356336
* 5332839: [Extensions] Register NativeHandlers with the RendererAPIProvider5332839
* 5148827: Add permission types for keyboard lock and pointer lock [1/N]5148827
* 5358818: Revert "[object] Fast path for adding props with existing transition"5358818
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
80f34ecd2c
commit
26752d3a06
37 changed files with 195 additions and 203 deletions
|
@ -247,12 +247,11 @@ void WebContentsPermissionHelper::RequestPointerLockPermission(
|
|||
bool last_unlocked_by_target,
|
||||
base::OnceCallback<void(content::WebContents*, bool, bool, bool)>
|
||||
callback) {
|
||||
RequestPermission(
|
||||
web_contents_->GetPrimaryMainFrame(),
|
||||
static_cast<blink::PermissionType>(PermissionType::POINTER_LOCK),
|
||||
base::BindOnce(std::move(callback), web_contents_, user_gesture,
|
||||
last_unlocked_by_target),
|
||||
user_gesture);
|
||||
RequestPermission(web_contents_->GetPrimaryMainFrame(),
|
||||
blink::PermissionType::POINTER_LOCK,
|
||||
base::BindOnce(std::move(callback), web_contents_,
|
||||
user_gesture, last_unlocked_by_target),
|
||||
user_gesture);
|
||||
}
|
||||
|
||||
void WebContentsPermissionHelper::RequestKeyboardLockPermission(
|
||||
|
@ -260,7 +259,7 @@ void WebContentsPermissionHelper::RequestKeyboardLockPermission(
|
|||
base::OnceCallback<void(content::WebContents*, bool, bool)> callback) {
|
||||
RequestPermission(
|
||||
web_contents_->GetPrimaryMainFrame(),
|
||||
static_cast<blink::PermissionType>(PermissionType::KEYBOARD_LOCK),
|
||||
blink::PermissionType::KEYBOARD_LOCK,
|
||||
base::BindOnce(std::move(callback), web_contents_, esc_key_locked));
|
||||
}
|
||||
|
||||
|
|
|
@ -26,13 +26,11 @@ class WebContentsPermissionHelper
|
|||
delete;
|
||||
|
||||
enum class PermissionType {
|
||||
POINTER_LOCK = static_cast<int>(blink::PermissionType::NUM) + 1,
|
||||
FULLSCREEN,
|
||||
FULLSCREEN = static_cast<int>(blink::PermissionType::NUM) + 1,
|
||||
OPEN_EXTERNAL,
|
||||
SERIAL,
|
||||
HID,
|
||||
USB,
|
||||
KEYBOARD_LOCK
|
||||
USB
|
||||
};
|
||||
|
||||
// Asynchronous Requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue