mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
helium/core: remove google's omnibox suggestions
This commit is contained in:
53
patches/helium/core/clean-omnibox-suggestions.patch
Normal file
53
patches/helium/core/clean-omnibox-suggestions.patch
Normal 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());
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user