diff --git a/build/chromium.spec b/build/chromium.spec index 8c33a96b..eb7ff925 100644 --- a/build/chromium.spec +++ b/build/chromium.spec @@ -31,7 +31,7 @@ Name: hardened-chromium%{chromium_channel} local content = f:read "*all" print("Version: "..content.."\n") } -Release: 3 +Release: 1 Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Url: http://www.chromium.org/Home License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only) diff --git a/patches/default-disable-3d-apis.patch b/patches/default-disable-3d-apis.patch index e4432865..3503ea73 100644 --- a/patches/default-disable-3d-apis.patch +++ b/patches/default-disable-3d-apis.patch @@ -8,6 +8,6 @@ index bfbdf8fcc8fa0..fac996b413b3f 100644 user_prefs::PrefRegistrySyncable* registry) { - registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); + registry->RegisterBooleanPref(prefs::kDisable3DAPIs, true); - registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, false); + registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, true); // Register user prefs for mapping SitePerProcess and IsolateOrigins in // user policy in addition to the same named ones in Local State (which are diff --git a/patches/disable-lens.patch b/patches/disable-lens.patch index 7ab430c7..6dab18c8 100644 --- a/patches/disable-lens.patch +++ b/patches/disable-lens.patch @@ -1,8 +1,8 @@ diff --git a/components/lens/lens_features.cc b/components/lens/lens_features.cc -index 6a9137e68f2f3..c6c5a032dac98 100644 +index d029f6f7242b4..bf1a8c24e5d2d 100644 --- a/components/lens/lens_features.cc +++ b/components/lens/lens_features.cc -@@ -12,7 +12,7 @@ namespace lens::features { +@@ -13,7 +13,7 @@ namespace lens::features { BASE_FEATURE(kLensStandalone, "LensStandalone", @@ -11,7 +11,7 @@ index 6a9137e68f2f3..c6c5a032dac98 100644 BASE_FEATURE(kLensSearchOptimizations, "LensSearchOptimizations", -@@ -20,7 +20,7 @@ BASE_FEATURE(kLensSearchOptimizations, +@@ -21,7 +21,7 @@ BASE_FEATURE(kLensSearchOptimizations, BASE_FEATURE(kEnableLatencyLogging, "LensImageLatencyLogging", @@ -20,7 +20,7 @@ index 6a9137e68f2f3..c6c5a032dac98 100644 BASE_FEATURE(kEnableRegionSearchKeyboardShortcut, "LensEnableRegionSearchKeyboardShortcut", -@@ -32,7 +32,7 @@ BASE_FEATURE(kEnableImageTranslate, +@@ -33,7 +33,7 @@ BASE_FEATURE(kEnableImageTranslate, BASE_FEATURE(kEnableImageSearchSidePanelFor3PDse, "EnableImageSearchSidePanelFor3PDse", @@ -29,7 +29,7 @@ index 6a9137e68f2f3..c6c5a032dac98 100644 BASE_FEATURE(kLensRegionSearchStaticPage, "LensRegionSearchStaticPage", -@@ -40,16 +40,11 @@ BASE_FEATURE(kLensRegionSearchStaticPage, +@@ -41,16 +41,11 @@ BASE_FEATURE(kLensRegionSearchStaticPage, BASE_FEATURE(kEnableContextMenuInLensSidePanel, "EnableContextMenuInLensSidePanel", @@ -49,7 +49,7 @@ index 6a9137e68f2f3..c6c5a032dac98 100644 BASE_FEATURE(kLensOverlayTranslateButton, "LensOverlayTranslateButton", diff --git a/components/lens/lens_overlay_permission_utils.cc b/components/lens/lens_overlay_permission_utils.cc -index 8aae55f869e7f..7b34be31d4195 100644 +index f707b2c4d1991..6e864faf60c78 100644 --- a/components/lens/lens_overlay_permission_utils.cc +++ b/components/lens/lens_overlay_permission_utils.cc @@ -17,7 +17,7 @@ namespace prefs { @@ -60,4 +60,4 @@ index 8aae55f869e7f..7b34be31d4195 100644 + static_cast(LensOverlaySettingsPolicyValue::kDisabled)); registry->RegisterBooleanPref(kLensSharingPageScreenshotEnabled, false); - } + registry->RegisterBooleanPref(kLensSharingPageContentEnabled, false); diff --git a/patches/disable-search-suggest-by-default.patch b/patches/disable-search-suggest-by-default.patch index e8511926..cf188985 100644 --- a/patches/disable-search-suggest-by-default.patch +++ b/patches/disable-search-suggest-by-default.patch @@ -3,7 +3,7 @@ index cd4fd8104866c..757d919d6496d 100644 --- a/chrome/browser/profiles/profile.cc +++ b/chrome/browser/profiles/profile.cc @@ -318,7 +318,7 @@ const char Profile::kProfileKey[] = "__PROFILE__"; - void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { + registry->RegisterBooleanPref(prefs::kIncognitoLaunch, false); registry->RegisterBooleanPref( prefs::kSearchSuggestEnabled, - true, diff --git a/patches/disable-secondary-browser-features-by-default.patch b/patches/disable-secondary-browser-features-by-default.patch index 584fd8dc..cfffcaab 100644 --- a/patches/disable-secondary-browser-features-by-default.patch +++ b/patches/disable-secondary-browser-features-by-default.patch @@ -15,8 +15,8 @@ diff --git a/chrome/browser/ui/ui_features.cc b/chrome/browser/ui/ui_features.cc index 703fc03b7e6cc..60347901f0d21 100644 --- a/chrome/browser/ui/ui_features.cc +++ b/chrome/browser/ui/ui_features.cc -@@ -35,7 +35,7 @@ BASE_FEATURE(kWebAppIconInTitlebar, - base::FEATURE_ENABLED_BY_DEFAULT); +@@ -22,7 +22,7 @@ BASE_FEATURE(kWebAppIconInTitlebar, + ); // Enables Chrome Labs menu in the toolbar. See https://crbug.com/1145666 -BASE_FEATURE(kChromeLabs, "ChromeLabs", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/vanadium_patches/0012-Checkout-PGO-profiles.patch b/vanadium_patches/0012-Checkout-PGO-profiles.patch index 219288ee..e480ccf1 100644 --- a/vanadium_patches/0012-Checkout-PGO-profiles.patch +++ b/vanadium_patches/0012-Checkout-PGO-profiles.patch @@ -8,7 +8,7 @@ Subject: [PATCH] Checkout PGO profiles 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPS b/DEPS -index 1afa833708d10..492eb91f9cba6 100644 +index 75bcfec506bcf..e99afb68253f4 100644 --- a/DEPS +++ b/DEPS @@ -145,7 +145,7 @@ vars = { diff --git a/vanadium_patches/0013-disable-checkout_nacl.patch b/vanadium_patches/0013-disable-checkout_nacl.patch index 27637d9b..2ab17de3 100644 --- a/vanadium_patches/0013-disable-checkout_nacl.patch +++ b/vanadium_patches/0013-disable-checkout_nacl.patch @@ -8,7 +8,7 @@ Subject: [PATCH] disable checkout_nacl 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPS b/DEPS -index 492eb91f9cba6..823a04489585f 100644 +index e99afb68253f4..5a3ccff0ec270 100644 --- a/DEPS +++ b/DEPS @@ -114,7 +114,7 @@ vars = { diff --git a/vanadium_patches/0084-temporary-Always-partition-third-party-storage.patch b/vanadium_patches/0084-temporary-Always-partition-third-party-storage.patch index 17aa0d1e..dad42783 100644 --- a/vanadium_patches/0084-temporary-Always-partition-third-party-storage.patch +++ b/vanadium_patches/0084-temporary-Always-partition-third-party-storage.patch @@ -26,7 +26,7 @@ index 584ce465961b8..4c1af1fd6adeb 100644 // Kill switch for not WebGL DrawingBuffer using SharedImage without // GpuMemoryBuffer (overlay or low latency canvas). diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -index b058b1cefd878..e8dd7cab22e0b 100644 +index 298f1e0b95e61..e2c25e453e83a 100644 --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 @@ -1485,9 +1485,9 @@