From ccb227dc03448ef41bfffbd7ed135b7c0c3a5808 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 26 Nov 2025 00:23:42 +0600 Subject: [PATCH] helium/ui: remove zoom page action (#519) cleans up space, eliminates "zoom shaming". i just like scaling down websites without being constantly reminded about it. safari behaves the same way as helium does with this change, and no one complains, so i guess it's fine :3 --- patches/helium/ui/remove-zoom-action.patch | 20 ++++++++++++++++++++ patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 patches/helium/ui/remove-zoom-action.patch diff --git a/patches/helium/ui/remove-zoom-action.patch b/patches/helium/ui/remove-zoom-action.patch new file mode 100644 index 00000000..cf2e1ff8 --- /dev/null +++ b/patches/helium/ui/remove-zoom-action.patch @@ -0,0 +1,20 @@ +--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc ++++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc +@@ -429,7 +429,6 @@ void LocationBarView::Init() { + } + params.types_enabled.push_back(PageActionIconType::kPwaInstall); + params.types_enabled.push_back(PageActionIconType::kTranslate); +- params.types_enabled.push_back(PageActionIconType::kZoom); + params.types_enabled.push_back(PageActionIconType::kFileSystemAccess); + + params.types_enabled.push_back(PageActionIconType::kMemorySaver); +--- a/chrome/browser/ui/web_applications/app_browser_controller.cc ++++ b/chrome/browser/ui/web_applications/app_browser_controller.cc +@@ -403,7 +403,6 @@ AppBrowserController::GetTitleBarPageAct + + std::vector types_enabled; + types_enabled.push_back(PageActionIconType::kFind); +- types_enabled.push_back(PageActionIconType::kZoom); + types_enabled.push_back(PageActionIconType::kFileSystemAccess); + + return types_enabled; diff --git a/patches/series b/patches/series index dec32cce..60873e0b 100644 --- a/patches/series +++ b/patches/series @@ -261,4 +261,5 @@ helium/ui/licenses-in-credits.patch helium/ui/remove-autofill-link-to-password-manager.patch helium/ui/fix-caption-button-tab-strip-align.patch helium/ui/find-bar.patch +helium/ui/remove-zoom-action.patch helium/ui/experiments/compact-action-toolbar.patch