From 998e72a2ff0080bd685620081997a918d19db385 Mon Sep 17 00:00:00 2001 From: Claudio DeSouza Date: Tue, 7 Jan 2025 14:18:35 +0000 Subject: [PATCH] [cr133] `kKeyboardAndPointerLockPrompt` disaled upstream A patch was introduced to disable this feature in the upstream source, however that patch is not required anymore, as a change has landed in upstream as well for that. Chromium change: https://chromium.googlesource.com/chromium/src/+/62c590ccb530565b3ece10b764b915252c51b5bc commit 62c590ccb530565b3ece10b764b915252c51b5bc Author: Muyao Xu Date: Mon Jan 6 12:40:48 2025 -0800 [KP Permission] Disable the feature KeyboardAndPointerLockPrompt Bug: 385395442 --- patches/components-permissions-features.cc.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 patches/components-permissions-features.cc.patch diff --git a/patches/components-permissions-features.cc.patch b/patches/components-permissions-features.cc.patch deleted file mode 100644 index 39fa915c7a4..00000000000 --- a/patches/components-permissions-features.cc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/components/permissions/features.cc b/components/permissions/features.cc -index fca3eddfcaca2cd193906140e4a9b88611526155..4d6e688e11bdf2730ff473053db91a836a1beaa3 100644 ---- a/components/permissions/features.cc -+++ b/components/permissions/features.cc -@@ -23,7 +23,7 @@ BASE_FEATURE(kOneTimePermission, - #if !BUILDFLAG(IS_ANDROID) - BASE_FEATURE(kKeyboardAndPointerLockPrompt, - "KeyboardAndPointerLockPrompt", -- base::FEATURE_ENABLED_BY_DEFAULT); -+ base::FEATURE_DISABLED_BY_DEFAULT); - #endif // !BUILDFLAG(IS_ANDROID) - - // Enables different positioning of the permission dialog, so that it's placed