From 6047578e5ebb6a5ab3eda3e7ec5fc2ae722e062b Mon Sep 17 00:00:00 2001 From: Artem Samoilenko Date: Thu, 30 Oct 2025 06:49:08 -0400 Subject: [PATCH] [cr143][Android] Disable tab search box long click Chromium changes: https://chromium.googlesource.com/chromium/src/+/92380b1a637b00d97b4beabfffcd1f63d3b2ab8e commit 92380b1a637b00d97b4beabfffcd1f63d3b2ab8e Author: Jingping Sun Date: Tue Jun 17 07:33:42 2025 -0700 Disable tab search box long click Long click the tab search box can trigger a paste menu to paste string from clipboard. But it can't open search activity after paste. Open the search activity, the string from clipboard isn't in search box. So we need to disable the long click of the tab search box to fix this issue. Bug: 425560785 Change-Id: Ia29807c73b5c425aa41a35d26b293081e9bb99f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6650829 Commit-Queue: Jingping Sun Reviewed-by: Sky Malice Reviewed-by: Calder Kitagawa Cr-Commit-Position: refs/heads/main@{#1474952} --- .../android/res/layout/hub_toolbar_layout.xml | 142 ------------------ build/commands/lib/branding.js | 18 --- ...id-res-layout-hub_toolbar_layout.xml.patch | 20 +++ 3 files changed, 20 insertions(+), 160 deletions(-) delete mode 100644 browser/hub/internal/android/res/layout/hub_toolbar_layout.xml create mode 100644 patches/chrome-browser-hub-internal-android-res-layout-hub_toolbar_layout.xml.patch diff --git a/browser/hub/internal/android/res/layout/hub_toolbar_layout.xml b/browser/hub/internal/android/res/layout/hub_toolbar_layout.xml deleted file mode 100644 index db8c91d1742..00000000000 --- a/browser/hub/internal/android/res/layout/hub_toolbar_layout.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - -