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
This commit is contained in:
wukko
2025-11-26 00:23:42 +06:00
committed by GitHub
parent 94fa070851
commit ccb227dc03
2 changed files with 21 additions and 0 deletions

View File

@@ -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<PageActionIconType> types_enabled;
types_enabled.push_back(PageActionIconType::kFind);
- types_enabled.push_back(PageActionIconType::kZoom);
types_enabled.push_back(PageActionIconType::kFileSystemAccess);
return types_enabled;

View File

@@ -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