helium/core: remove google's omnibox suggestions

This commit is contained in:
wukko
2025-09-23 00:33:06 +03:00
parent d6f09b3963
commit 425b998ad1
2 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
--- a/chrome/browser/ui/omnibox/omnibox_pedal_implementations.cc
+++ b/chrome/browser/ui/omnibox/omnibox_pedal_implementations.cc
@@ -2011,12 +2011,7 @@ GetPedalImplementations(bool incognito,
if (!incognito && !guest) {
add(new OmniboxPedalClearBrowsingData(/*incognito=*/false));
}
- add(new OmniboxPedalManagePasswords());
- add(new OmniboxPedalUpdateCreditCard());
add(new OmniboxPedalLaunchIncognito());
- if (!base::android::BuildInfo::GetInstance()->is_automotive()) {
- add(new OmniboxPedalRunChromeSafetyCheck());
- }
add(new OmniboxPedalPlayChromeDinoGame());
add(new OmniboxPedalManageSiteSettings());
add(new OmniboxPedalManageChromeSettings());
@@ -2028,37 +2023,15 @@ GetPedalImplementations(bool incognito,
if (!guest) {
add(new OmniboxPedalClearBrowsingData(incognito));
}
- add(new OmniboxPedalManagePasswords());
- add(new OmniboxPedalUpdateCreditCard());
add(new OmniboxPedalLaunchIncognito());
- add(new OmniboxPedalTranslate());
add(new OmniboxPedalUpdateChrome());
- add(new OmniboxPedalRunChromeSafetyCheck());
add(new OmniboxPedalManageSecuritySettings());
add(new OmniboxPedalManageCookies());
- add(new OmniboxPedalManageAddresses());
- add(new OmniboxPedalManageSync());
add(new OmniboxPedalManageSiteSettings());
- add(new OmniboxPedalSeeChromeTips());
-
- if (testing || BUILDFLAG(GOOGLE_CHROME_BRANDING)) {
- add(new OmniboxPedalCreateGoogleDoc());
- add(new OmniboxPedalCreateGoogleSheet());
- add(new OmniboxPedalCreateGoogleSlide());
- add(new OmniboxPedalCreateGoogleCalendarEvent());
- add(new OmniboxPedalCreateGoogleSite());
- add(new OmniboxPedalCreateGoogleKeepNote());
- add(new OmniboxPedalCreateGoogleForm());
- add(new OmniboxPedalManageGoogleAccount());
- add(new OmniboxPedalChangeGooglePassword());
- }
-
if (incognito) {
add(new OmniboxPedalCloseIncognitoWindows());
}
add(new OmniboxPedalPlayChromeDinoGame());
- add(new OmniboxPedalFindMyPhone());
- add(new OmniboxPedalManageGooglePrivacy());
add(new OmniboxPedalManageChromeSettings());
add(new OmniboxPedalManageChromeDownloads());
add(new OmniboxPedalViewChromeHistory());

View File

@@ -160,6 +160,7 @@ helium/core/ublock-install-as-component.patch
helium/core/ublock-reconfigure-defaults.patch
helium/core/ublock-migrate-prefs.patch
helium/core/ublock-helium-services.patch
helium/core/clean-omnibox-suggestions.patch
helium/settings/move-search-suggest.patch
helium/settings/remove-autofill.patch