diff --git a/build/patches/00109-Add-an-always-incognito-mode-fixup.patch b/build/patches/00109-ADDNEW-Add-an-always-incognito-mode.patch similarity index 97% rename from build/patches/00109-Add-an-always-incognito-mode-fixup.patch rename to build/patches/00109-ADDNEW-Add-an-always-incognito-mode.patch index a4b021dd..484c869b 100644 --- a/build/patches/00109-Add-an-always-incognito-mode-fixup.patch +++ b/build/patches/00109-ADDNEW-Add-an-always-incognito-mode.patch @@ -1,6 +1,6 @@ From: Your Name Date: Mon, 30 Jan 2023 15:14:09 +0000 -Subject: 109 Add an always-incognito mode fixup +Subject: 109 ADDNEW Add an always-incognito mode --- .../chrome/browser/ChromeTabbedActivity.java | 13 ++++++++++--- diff --git a/build/patches/00Client-hints-overrides--add-fixup-.patch b/build/patches/00109-ADDNEW-Client-hints-overrides.patch similarity index 94% rename from build/patches/00Client-hints-overrides--add-fixup-.patch rename to build/patches/00109-ADDNEW-Client-hints-overrides.patch index 441fcc49..27d033b5 100644 --- a/build/patches/00Client-hints-overrides--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-Client-hints-overrides.patch @@ -1,6 +1,6 @@ From: Your Name Date: Sun, 18 Dec 2022 16:38:48 +0000 -Subject: Client hints overrides (add fixup) +Subject: 109 ADDNEW Client hints overrides --- .../blink/renderer/platform/runtime_enabled_features.json5 | 4 ++-- diff --git a/build/patches/00Disable-fetching-of-all-field-trials--add-fixup-.patch b/build/patches/00109-ADDNEW-Disable-fetching-of-all-field-trials.patch similarity index 98% rename from build/patches/00Disable-fetching-of-all-field-trials--add-fixup-.patch rename to build/patches/00109-ADDNEW-Disable-fetching-of-all-field-trials.patch index 463d492b..c5c105b7 100644 --- a/build/patches/00Disable-fetching-of-all-field-trials--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-Disable-fetching-of-all-field-trials.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 19 Oct 2022 13:25:14 +0000 -Subject: Disable fetching of all field trials (add fixup) +Subject: 109 ADDNEW Disable fetching of all field trials --- chrome/browser/net/system_network_context_manager.cc | 1 - diff --git a/build/patches/00fix-InitiatorOrigin--add-fixup-.patch b/build/patches/00109-ADDNEW-Enable-share-intent.patch similarity index 99% rename from build/patches/00fix-InitiatorOrigin--add-fixup-.patch rename to build/patches/00109-ADDNEW-Enable-share-intent.patch index 857ef7ae..27391fc9 100644 --- a/build/patches/00fix-InitiatorOrigin--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-Enable-share-intent.patch @@ -1,6 +1,6 @@ From: Your Name Date: Tue, 31 Jan 2023 13:58:21 +0000 -Subject: fix InitiatorOrigin (add fixup) +Subject: 109 ADDNEW Enable share intent --- .../chromium/chrome/browser/IntentHandler.java | 16 +++++++++++++++- diff --git a/build/patches/00Guard-for-user-agent-reduction--add-fixup-.patch b/build/patches/00109-ADDNEW-Guard-for-user-agent-reduction.patch similarity index 98% rename from build/patches/00Guard-for-user-agent-reduction--add-fixup-.patch rename to build/patches/00109-ADDNEW-Guard-for-user-agent-reduction.patch index 9778b736..9d901f4d 100644 --- a/build/patches/00Guard-for-user-agent-reduction--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-Guard-for-user-agent-reduction.patch @@ -1,6 +1,6 @@ From: Your Name Date: Sun, 18 Dec 2022 16:37:43 +0000 -Subject: Guard for user-agent reduction (add fixup) +Subject: 109 ADDNEW Guard for user-agent reduction --- chrome/browser/chrome_content_browser_client.cc | 2 +- diff --git a/build/patches/00Move-navigation-bar-to-bottom--add-fixup-.patch b/build/patches/00109-ADDNEW-Move-navigation-bar-to-bottom.patch similarity index 99% rename from build/patches/00Move-navigation-bar-to-bottom--add-fixup-.patch rename to build/patches/00109-ADDNEW-Move-navigation-bar-to-bottom.patch index ce488675..70171511 100644 --- a/build/patches/00Move-navigation-bar-to-bottom--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-Move-navigation-bar-to-bottom.patch @@ -1,6 +1,6 @@ From: Your Name Date: Tue, 27 Dec 2022 16:58:28 +0000 -Subject: Move navigation bar to bottom (add fixup) +Subject: 109 ADDNEW Move navigation bar to bottom --- .../start_surface/StartSurfaceMediator.java | 2 +- diff --git a/build/patches/00Remove-HTTP-referrals-in-cross-origin-navi--fixup-.patch b/build/patches/00109-ADDNEW-Remove-HTTP-referrals-in-cross-origin-navi.patch similarity index 99% rename from build/patches/00Remove-HTTP-referrals-in-cross-origin-navi--fixup-.patch rename to build/patches/00109-ADDNEW-Remove-HTTP-referrals-in-cross-origin-navi.patch index 976c888b..01211bab 100644 --- a/build/patches/00Remove-HTTP-referrals-in-cross-origin-navi--fixup-.patch +++ b/build/patches/00109-ADDNEW-Remove-HTTP-referrals-in-cross-origin-navi.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 28 Dec 2022 12:22:07 +0000 -Subject: Remove HTTP referrals in cross origin navi (fixup) +Subject: 109 ADDNEW Remove HTTP referrals in cross origin --- chrome/android/chrome_java_resources.gni | 2 + diff --git a/build/patches/00ungoogled-chr-no-special-hosts-domains--add-fixup-.patch b/build/patches/00109-ADDNEW-ungoogled-chr-no-special-hosts-domains.patch similarity index 99% rename from build/patches/00ungoogled-chr-no-special-hosts-domains--add-fixup-.patch rename to build/patches/00109-ADDNEW-ungoogled-chr-no-special-hosts-domains.patch index ab78d0f7..69863116 100644 --- a/build/patches/00ungoogled-chr-no-special-hosts-domains--add-fixup-.patch +++ b/build/patches/00109-ADDNEW-ungoogled-chr-no-special-hosts-domains.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 19 Oct 2022 13:01:32 +0000 -Subject: ungoogled-chr no special hosts/domains (add fixup) +Subject: 109 ADDNEW ungoogled-chr no special hosts/domains --- chrome/browser/BUILD.gn | 8 -- diff --git a/build/patches/00Add-a-proxy-configuration-page--add-fixup-.patch b/build/patches/00109-ADDTO-Add-a-proxy-configuration-page.patch similarity index 97% rename from build/patches/00Add-a-proxy-configuration-page--add-fixup-.patch rename to build/patches/00109-ADDTO-Add-a-proxy-configuration-page.patch index 8bf85103..c763b334 100644 --- a/build/patches/00Add-a-proxy-configuration-page--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Add-a-proxy-configuration-page.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:48:07 +0000 -Subject: Add a proxy configuration page (add fixup) +Subject: 109 ADDTO Add a proxy configuration page --- chrome/browser/resources/proxy_config.html | 1 - diff --git a/build/patches/00Add-webGL-site-setting--add-fixup-.patch b/build/patches/00109-ADDTO-Add-webGL-site-setting.patch similarity index 96% rename from build/patches/00Add-webGL-site-setting--add-fixup-.patch rename to build/patches/00109-ADDTO-Add-webGL-site-setting.patch index 375a45e6..1f76a7e3 100644 --- a/build/patches/00Add-webGL-site-setting--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Add-webGL-site-setting.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:37:12 +0000 -Subject: Add webGL site setting (add fixup) +Subject: 109 ADDTO Add webGL site setting --- .../core/browser/content_settings_registry.cc | 6 +++--- diff --git a/build/patches/00Add-webRTC-site-settings--add-fixup-.patch b/build/patches/00109-ADDTO-Add-webRTC-site-settings.patch similarity index 96% rename from build/patches/00Add-webRTC-site-settings--add-fixup-.patch rename to build/patches/00109-ADDTO-Add-webRTC-site-settings.patch index 4c477a9a..b9b73b22 100644 --- a/build/patches/00Add-webRTC-site-settings--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Add-webRTC-site-settings.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:37:41 +0000 -Subject: Add webRTC site settings (add fixup) +Subject: 109 ADDTO Add webRTC site settings --- .../core/browser/content_settings_registry.cc | 6 +++--- diff --git a/build/patches/00Disable-conversion-measurement-api--add-fixup-.patch b/build/patches/00109-ADDTO-Disable-conversion-measurement-api.patch similarity index 97% rename from build/patches/00Disable-conversion-measurement-api--add-fixup-.patch rename to build/patches/00109-ADDTO-Disable-conversion-measurement-api.patch index a0aa4ef7..45cef85d 100644 --- a/build/patches/00Disable-conversion-measurement-api--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Disable-conversion-measurement-api.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:33:47 +0000 -Subject: Disable conversion measurement api (add fixup) +Subject: 109 ADDTO Disable conversion measurement api --- .../attribution_report_network_sender.cc | 8 ++++++-- diff --git a/build/patches/00Disable-safe-browsing--add-fixup-.patch b/build/patches/00109-ADDTO-Disable-safe-browsing.patch similarity index 93% rename from build/patches/00Disable-safe-browsing--add-fixup-.patch rename to build/patches/00109-ADDTO-Disable-safe-browsing.patch index b10dacdb..80442740 100644 --- a/build/patches/00Disable-safe-browsing--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Disable-safe-browsing.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:34:41 +0000 -Subject: Disable safe browsing (add fixup) +Subject: 109 ADDTO Disable safe browsing --- .../chrome_file_system_access_permission_context.cc | 4 +++- @@ -11,7 +11,7 @@ Subject: Disable safe browsing (add fixup) diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc -@@ -117,6 +117,7 @@ const char kPathKey[] = "path"; +@@ -115,6 +115,7 @@ const char kPathKey[] = "path"; const char kPathTypeKey[] = "path-type"; const char kTimestampKey[] = "timestamp"; @@ -19,7 +19,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread( content::GlobalRenderFrameHostId frame_id, const url::Origin& origin, -@@ -146,7 +147,6 @@ void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread( +@@ -144,7 +145,6 @@ void ShowFileSystemAccessRestrictedDirectoryDialogOnUIThread( origin, handle_type, std::move(callback), web_contents); } @@ -27,7 +27,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss void ShowFileSystemAccessDangerousFileDialogOnUIThread( content::GlobalRenderFrameHostId frame_id, const url::Origin& origin, -@@ -488,6 +488,7 @@ base::StringPiece GetGrantKeyFromGrantType(GrantType type) { +@@ -437,6 +437,7 @@ base::StringPiece GetGrantKeyFromGrantType(GrantType type) { : kPermissionReadableKey; } @@ -35,7 +35,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss bool FileHasDangerousExtension(const url::Origin& origin, const base::FilePath& path, Profile* profile) { -@@ -499,6 +500,7 @@ bool FileHasDangerousExtension(const url::Origin& origin, +@@ -448,6 +449,7 @@ bool FileHasDangerousExtension(const url::Origin& origin, return danger_level == safe_browsing::DownloadFileType::DANGEROUS || danger_level == safe_browsing::DownloadFileType::ALLOW_ON_USER_GESTURE; } diff --git a/build/patches/00OpenSearch--miscellaneous--fixup-.patch b/build/patches/00109-ADDTO-OpenSearch--miscellaneous.patch similarity index 94% rename from build/patches/00OpenSearch--miscellaneous--fixup-.patch rename to build/patches/00109-ADDTO-OpenSearch--miscellaneous.patch index 9ecdc28b..acf90300 100644 --- a/build/patches/00OpenSearch--miscellaneous--fixup-.patch +++ b/build/patches/00109-ADDTO-OpenSearch--miscellaneous.patch @@ -1,6 +1,6 @@ From: Your Name Date: Tue, 4 Oct 2022 07:45:59 +0000 -Subject: OpenSearch: miscellaneous (fixup) +Subject: 109 ADDTO OpenSearch: miscellaneous --- components/search_engines/template_url_parser.cc | 2 +- diff --git a/build/patches/00Remove-binary-blob-integrations--add-fixup-.patch b/build/patches/00109-ADDTO-Remove-binary-blob-integrations.patch similarity index 98% rename from build/patches/00Remove-binary-blob-integrations--add-fixup-.patch rename to build/patches/00109-ADDTO-Remove-binary-blob-integrations.patch index d89a3ae9..2fcae8c1 100644 --- a/build/patches/00Remove-binary-blob-integrations--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Remove-binary-blob-integrations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:26:25 +0000 -Subject: Remove binary blob integrations (add fixup) +Subject: 109 ADDTO Remove binary blob integrations --- chrome/android/java/AndroidManifest.xml | 2 ++ diff --git a/build/patches/00Remove-price-shopping-commerce-integra--add-fixup-.patch b/build/patches/00109-ADDTO-Remove-price-shopping-commerce-integra.patch similarity index 99% rename from build/patches/00Remove-price-shopping-commerce-integra--add-fixup-.patch rename to build/patches/00109-ADDTO-Remove-price-shopping-commerce-integra.patch index 6b211373..4c8af944 100644 --- a/build/patches/00Remove-price-shopping-commerce-integra--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Remove-price-shopping-commerce-integra.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:29:23 +0000 -Subject: Remove price/shopping/commerce integra (add fixup) +Subject: 109 ADDTO Remove price/shopping/commerce integra --- .../chrome/browser/app/ChromeActivity.java | 4 ---- diff --git a/build/patches/00Remove-signin-and-sync-integrations--add-fixup-.patch b/build/patches/00109-ADDTO-Remove-signin-and-sync-integrations.patch similarity index 97% rename from build/patches/00Remove-signin-and-sync-integrations--add-fixup-.patch rename to build/patches/00109-ADDTO-Remove-signin-and-sync-integrations.patch index 19f973ca..73a3b613 100644 --- a/build/patches/00Remove-signin-and-sync-integrations--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Remove-signin-and-sync-integrations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:27:59 +0000 -Subject: Remove signin and sync integrations (add fixup) +Subject: 109 ADDTO Remove signin and sync integrations --- chrome/android/BUILD.gn | 1 + diff --git a/build/patches/00Timezone-customization--add-fixup-.patch b/build/patches/00109-ADDTO-Timezone-customization.patch similarity index 97% rename from build/patches/00Timezone-customization--add-fixup-.patch rename to build/patches/00109-ADDTO-Timezone-customization.patch index 624277be..231d8465 100644 --- a/build/patches/00Timezone-customization--add-fixup-.patch +++ b/build/patches/00109-ADDTO-Timezone-customization.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:36:46 +0000 -Subject: Timezone customization (add fixup) +Subject: 109 ADDTO Timezone customization --- .../core/browser/content_settings_registry.cc | 8 ++++---- diff --git a/build/patches/00User-agent-customization--add-fixup-.patch b/build/patches/00109-ADDTO-User-agent-customization.patch similarity index 96% rename from build/patches/00User-agent-customization--add-fixup-.patch rename to build/patches/00109-ADDTO-User-agent-customization.patch index d9cab733..68319db0 100644 --- a/build/patches/00User-agent-customization--add-fixup-.patch +++ b/build/patches/00109-ADDTO-User-agent-customization.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 5 Jan 2023 11:30:19 +0000 -Subject: User agent customization (add fixup) +Subject: 109 ADDTO User agent customization --- .../android/preferences/privacy_preferences_manager_impl.cc | 4 +++- diff --git a/build/patches/00110-ADDTO-Add-custom-tab-intents-privacy-option.patch b/build/patches/00110-ADDTO-Add-custom-tab-intents-privacy-option.patch new file mode 100644 index 00000000..6b614e8b --- /dev/null +++ b/build/patches/00110-ADDTO-Add-custom-tab-intents-privacy-option.patch @@ -0,0 +1,48 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:10:51 +0000 +Subject: 110 ADDTO Add custom tab intents privacy option + +--- + chrome/browser/flags/android/chrome_feature_list.cc | 6 +++--- + components/language/core/common/language_experiments.cc | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc +--- a/chrome/browser/flags/android/chrome_feature_list.cc ++++ b/chrome/browser/flags/android/chrome_feature_list.cc +@@ -575,8 +575,8 @@ BASE_FEATURE(kCCTIncognitoAvailableToThirdParty, + base::FEATURE_ENABLED_BY_DEFAULT); // in Bromite + + BASE_FEATURE(kCCTIntentFeatureOverrides, +- "CCTIntentFeatureOverrides", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ "CCTIntentFeatureOverrides", // must be disabled ++ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite + + BASE_FEATURE(kCCTPackageNameRecording, + "CCTPackageNameRecording", +@@ -584,7 +584,7 @@ BASE_FEATURE(kCCTPackageNameRecording, + + BASE_FEATURE(kCCTPostMessageAPI, + "CCTPostMessageAPI", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); + + BASE_FEATURE(kCCTPrefetchDelayShowOnStart, + "CCTPrefetchDelayShowOnStart", +diff --git a/components/language/core/common/language_experiments.cc b/components/language/core/common/language_experiments.cc +--- a/components/language/core/common/language_experiments.cc ++++ b/components/language/core/common/language_experiments.cc +@@ -45,8 +45,8 @@ BASE_FEATURE(kContentLanguagesInLanguagePicker, + "ContentLanguagesInLanguagePicker", + base::FEATURE_DISABLED_BY_DEFAULT); + BASE_FEATURE(kCctAutoTranslate, +- "CCTAutoTranslate", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ "CCTAutoTranslate", // Always disabled ++ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite + + // Params: + const char kBackoffThresholdKey[] = "backoff_threshold"; +-- +2.25.1 diff --git a/build/patches/00110-Add-lifetime-options-for-permissions.patch b/build/patches/00110-ADDTO-Add-lifetime-options-for-permissions.patch similarity index 98% rename from build/patches/00110-Add-lifetime-options-for-permissions.patch rename to build/patches/00110-ADDTO-Add-lifetime-options-for-permissions.patch index e7babd79..f469a8b9 100644 --- a/build/patches/00110-Add-lifetime-options-for-permissions.patch +++ b/build/patches/00110-ADDTO-Add-lifetime-options-for-permissions.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:20:30 +0000 -Subject: 110 Add lifetime options for permissions +Subject: 110 ADDTO Add lifetime options for permissions --- .../contexts/geolocation_permission_context_android.cc | 2 +- diff --git a/build/patches/00110-add-Allow-building-without-enable-reporting.patch b/build/patches/00110-ADDTO-Allow-building-without-enable-reporting.patch similarity index 52% rename from build/patches/00110-add-Allow-building-without-enable-reporting.patch rename to build/patches/00110-ADDTO-Allow-building-without-enable-reporting.patch index e8fdac07..c62f9059 100644 --- a/build/patches/00110-add-Allow-building-without-enable-reporting.patch +++ b/build/patches/00110-ADDTO-Allow-building-without-enable-reporting.patch @@ -1,11 +1,23 @@ From: Your Name Date: Wed, 8 Feb 2023 16:53:07 +0000 -Subject: 110 add Allow building without enable_reporting +Subject: 110 ADDTO Allow building without enable_reporting --- + chrome/browser/net/chrome_report_sender.cc | 1 + third_party/blink/renderer/core/frame/reporting_observer.cc | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) + 2 files changed, 2 insertions(+), 2 deletions(-) +diff --git a/chrome/browser/net/chrome_report_sender.cc b/chrome/browser/net/chrome_report_sender.cc +--- a/chrome/browser/net/chrome_report_sender.cc ++++ b/chrome/browser/net/chrome_report_sender.cc +@@ -85,6 +85,7 @@ void SendReport( + const std::string& report, + base::OnceClosure success_callback, + ErrorCallback error_callback) { ++ if ((true)) return; + auto resource_request = std::make_unique(); + resource_request->url = report_uri; + resource_request->method = "POST"; diff --git a/third_party/blink/renderer/core/frame/reporting_observer.cc b/third_party/blink/renderer/core/frame/reporting_observer.cc --- a/third_party/blink/renderer/core/frame/reporting_observer.cc +++ b/third_party/blink/renderer/core/frame/reporting_observer.cc diff --git a/build/patches/00110-Content-settings-infrastructure.patch b/build/patches/00110-ADDTO-Content-settings-infrastructure.patch similarity index 96% rename from build/patches/00110-Content-settings-infrastructure.patch rename to build/patches/00110-ADDTO-Content-settings-infrastructure.patch index c37d9b46..b5928735 100644 --- a/build/patches/00110-Content-settings-infrastructure.patch +++ b/build/patches/00110-ADDTO-Content-settings-infrastructure.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:26:26 +0000 -Subject: 110 Content settings infrastructure +Subject: 110 ADDTO Content settings infrastructure --- .../BromiteCustomContentSettingImpl.java | 1 + @@ -12,7 +12,7 @@ Subject: 110 Content settings infrastructure diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java --- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java +++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/BromiteCustomContentSettingImpl.java -@@ -83,6 +83,7 @@ public abstract class BromiteCustomContentSettingImpl { +@@ -82,6 +82,7 @@ public abstract class BromiteCustomContentSettingImpl { return cs.getContentSetting(); } } @@ -57,7 +57,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java --- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java +++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java -@@ -231,10 +231,9 @@ public class SiteSettingsCategory { +@@ -230,10 +230,9 @@ public class SiteSettingsCategory { return ContentSettingsType.TIMEZONE_OVERRIDE; case Type.ALL_SITES: case Type.USE_STORAGE: diff --git a/build/patches/00110-ADDTO-Disable-all-predictors-code.patch b/build/patches/00110-ADDTO-Disable-all-predictors-code.patch new file mode 100644 index 00000000..2856d461 --- /dev/null +++ b/build/patches/00110-ADDTO-Disable-all-predictors-code.patch @@ -0,0 +1,37 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:20:29 +0000 +Subject: 110 ADDTO Disable all predictors code + +--- + chrome/browser/predictors/loading_predictor_config.cc | 4 ++-- + .../blink/renderer/platform/runtime_enabled_features.json5 | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/chrome/browser/predictors/loading_predictor_config.cc b/chrome/browser/predictors/loading_predictor_config.cc +--- a/chrome/browser/predictors/loading_predictor_config.cc ++++ b/chrome/browser/predictors/loading_predictor_config.cc +@@ -12,8 +12,8 @@ + namespace predictors { + + BASE_FEATURE(kSpeculativePreconnectFeature, +- "SpeculativePreconnect", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ "SpeculativePreconnect", // always disabled ++ base::FEATURE_DISABLED_BY_DEFAULT); // in bromite + + // Returns whether the speculative preconnect feature is enabled. + bool IsPreconnectFeatureEnabled() { +diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 ++++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +@@ -2217,7 +2217,7 @@ + { + // https://crbug.com/1126305 + name: "Prerender2", +- status: "stable", ++ status: "test", + base_feature: "Prerender2", + }, + // This RTE feature is used to indicate the status of RTE feature Prerender2 +-- +2.25.1 diff --git a/build/patches/00110-Disable-safe-browsing.patch b/build/patches/00110-ADDTO-Disable-safe-browsing.patch similarity index 98% rename from build/patches/00110-Disable-safe-browsing.patch rename to build/patches/00110-ADDTO-Disable-safe-browsing.patch index 2877d328..3d0bb1bf 100644 --- a/build/patches/00110-Disable-safe-browsing.patch +++ b/build/patches/00110-ADDTO-Disable-safe-browsing.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:21:50 +0000 -Subject: 110 Disable safe browsing +Subject: 110 ADDTO Disable safe browsing --- .../chrome/browser/privacy_guide/PrivacyGuideUtils.java | 6 ++---- diff --git a/build/patches/00110-Do-not-compile-QR-code-sharing.patch b/build/patches/00110-ADDTO-Do-not-compile-QR-code-sharing.patch similarity index 96% rename from build/patches/00110-Do-not-compile-QR-code-sharing.patch rename to build/patches/00110-ADDTO-Do-not-compile-QR-code-sharing.patch index 0b5df078..6a64859f 100644 --- a/build/patches/00110-Do-not-compile-QR-code-sharing.patch +++ b/build/patches/00110-ADDTO-Do-not-compile-QR-code-sharing.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:21:11 +0000 -Subject: 110 Do not compile QR code sharing +Subject: 110 ADDTO Do not compile QR code sharing --- .../share/qrcode/scan_tab/QrCodeScanMediator.java | 11 ----------- diff --git a/build/patches/00110-Do-not-store-passwords-by-default.patch b/build/patches/00110-ADDTO-Do-not-store-passwords-by-default.patch similarity index 95% rename from build/patches/00110-Do-not-store-passwords-by-default.patch rename to build/patches/00110-ADDTO-Do-not-store-passwords-by-default.patch index a83c24cc..80e94bc3 100644 --- a/build/patches/00110-Do-not-store-passwords-by-default.patch +++ b/build/patches/00110-ADDTO-Do-not-store-passwords-by-default.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:22:04 +0000 -Subject: 110 Do not store passwords by default +Subject: 110 ADDTO Do not store passwords by default --- components/password_manager/core/browser/password_manager.cc | 4 ++-- diff --git a/build/patches/00110-Enable-native-Android-autofill.patch b/build/patches/00110-ADDTO-Enable-native-Android-autofill.patch similarity index 95% rename from build/patches/00110-Enable-native-Android-autofill.patch rename to build/patches/00110-ADDTO-Enable-native-Android-autofill.patch index 2b391e91..22c586c7 100644 --- a/build/patches/00110-Enable-native-Android-autofill.patch +++ b/build/patches/00110-ADDTO-Enable-native-Android-autofill.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:19:59 +0000 -Subject: 110 Enable native Android autofill +Subject: 110 ADDTO Enable native Android autofill --- components/autofill/content/browser/content_autofill_driver.cc | 2 +- diff --git a/build/patches/00110-Experimental-user-scripts-support.patch b/build/patches/00110-ADDTO-Experimental-user-scripts-support.patch similarity index 87% rename from build/patches/00110-Experimental-user-scripts-support.patch rename to build/patches/00110-ADDTO-Experimental-user-scripts-support.patch index 62e2488e..03d8bc55 100644 --- a/build/patches/00110-Experimental-user-scripts-support.patch +++ b/build/patches/00110-ADDTO-Experimental-user-scripts-support.patch @@ -1,18 +1,20 @@ From: Your Name Date: Wed, 8 Feb 2023 13:14:58 +0000 -Subject: 110 Experimental user scripts support +Subject: 110 ADDTO Experimental user scripts support --- - .../user_scripts/browser/resources/user-script-ui/BUILD.gn | 3 +-- + .../user_scripts/browser/resources/user-script-ui/BUILD.gn | 4 ++-- .../browser/resources/user-script-ui/user-scripts-ui.js | 4 ++-- - 2 files changed, 3 insertions(+), 4 deletions(-) + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/user_scripts/browser/resources/user-script-ui/BUILD.gn b/components/user_scripts/browser/resources/user-script-ui/BUILD.gn --- a/components/user_scripts/browser/resources/user-script-ui/BUILD.gn +++ b/components/user_scripts/browser/resources/user-script-ui/BUILD.gn -@@ -6,7 +6,6 @@ js_type_check("closure_compile") { +@@ -5,8 +5,8 @@ js_type_check("closure_compile") { + } js_library("view_script_source") { ++ sources = [ "user-scripts-ui.js" ] deps = [ - "//ui/webui/resources/js:cr.m", - "//ui/webui/resources/js:util", diff --git a/build/patches/00110-JIT-site-settings.patch b/build/patches/00110-ADDTO-JIT-site-settings.patch similarity index 98% rename from build/patches/00110-JIT-site-settings.patch rename to build/patches/00110-ADDTO-JIT-site-settings.patch index df05be7b..f1fb4699 100644 --- a/build/patches/00110-JIT-site-settings.patch +++ b/build/patches/00110-ADDTO-JIT-site-settings.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:35:17 +0000 -Subject: 110 JIT site settings +Subject: 110 ADDTO JIT site settings --- .../browser_ui/site_settings/SingleCategorySettings.java | 5 +++-- diff --git a/build/patches/00110-Logcat-crash-reports-UI.patch b/build/patches/00110-ADDTO-Logcat-crash-reports-UI.patch similarity index 98% rename from build/patches/00110-Logcat-crash-reports-UI.patch rename to build/patches/00110-ADDTO-Logcat-crash-reports-UI.patch index b22e5d22..a1bd0bb5 100644 --- a/build/patches/00110-Logcat-crash-reports-UI.patch +++ b/build/patches/00110-ADDTO-Logcat-crash-reports-UI.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:19:15 +0000 -Subject: 110 Logcat crash reports UI +Subject: 110 ADDTO Logcat crash reports UI --- .../crash/core/browser/resources/crashes.ts | 54 +------------------ diff --git a/build/patches/00110-ADDTO-Multiple-fingerprinting-mitigations.patch b/build/patches/00110-ADDTO-Multiple-fingerprinting-mitigations.patch new file mode 100644 index 00000000..f4eb4de2 --- /dev/null +++ b/build/patches/00110-ADDTO-Multiple-fingerprinting-mitigations.patch @@ -0,0 +1,137 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:15:24 +0000 +Subject: 110 ADDTO Multiple fingerprinting mitigations + +--- + .../blink/renderer/core/dom/document.cc | 8 +++++--- + .../renderer/core/svg/svg_graphics_element.cc | 3 ++- + .../core/svg/svg_text_content_element.cc | 19 +++++++++++++------ + .../offscreen_canvas_rendering_context_2d.cc | 9 ++++++++- + 4 files changed, 28 insertions(+), 11 deletions(-) + +diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink/renderer/core/dom/document.cc +--- a/third_party/blink/renderer/core/dom/document.cc ++++ b/third_party/blink/renderer/core/dom/document.cc +@@ -826,10 +826,12 @@ Document::Document(const DocumentInit& initializer, + : nullptr), + data_(MakeGarbageCollected(GetExecutionContext())) { + DCHECK(agent_); +- if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) { ++ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled() || ++ RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() || ++ RuntimeEnabledFeatures::FingerprintingCanvasImageDataNoiseEnabled()) { + // Precompute -0.0003% to 0.0003% noise factor for get*ClientRect*() fingerprinting +- noise_factor_x_ = 1 + (base::RandDouble() - 0.5) * 0.000003; +- noise_factor_y_ = 1 + (base::RandDouble() - 0.5) * 0.000003; ++ noise_factor_x_ = 1.0 + (base::RandDouble() - 0.5) * 0.0003; ++ noise_factor_y_ = 1.0 + (base::RandDouble() - 0.5) * 0.0003; + } else { + noise_factor_x_ = 1; + noise_factor_y_ = 1; +diff --git a/third_party/blink/renderer/core/svg/svg_graphics_element.cc b/third_party/blink/renderer/core/svg/svg_graphics_element.cc +--- a/third_party/blink/renderer/core/svg/svg_graphics_element.cc ++++ b/third_party/blink/renderer/core/svg/svg_graphics_element.cc +@@ -191,7 +191,8 @@ SVGRectTearOff* SVGGraphicsElement::getBBoxFromJavascript() { + + if (layout_object->IsSVGText() || layout_object->IsSVGInline()) + UseCounter::Count(GetDocument(), WebFeature::kGetBBoxForText); +- bounding_box.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); ++ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) ++ bounding_box.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); + } + return SVGRectTearOff::CreateDetached(bounding_box); + } +diff --git a/third_party/blink/renderer/core/svg/svg_text_content_element.cc b/third_party/blink/renderer/core/svg/svg_text_content_element.cc +--- a/third_party/blink/renderer/core/svg/svg_text_content_element.cc ++++ b/third_party/blink/renderer/core/svg/svg_text_content_element.cc +@@ -124,7 +124,9 @@ float SVGTextContentElement::getComputedTextLength() { + } else { + value = SVGTextQuery(layout_object).TextLength(); + } +- return value * GetDocument().GetNoiseFactorX(); ++ return value * ++ (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() ? ++ GetDocument().GetNoiseFactorX() : 1); + } + + float SVGTextContentElement::getSubStringLength( +@@ -152,7 +154,8 @@ float SVGTextContentElement::getSubStringLength( + value = NGSvgTextQuery(*layout_object).SubStringLength(charnum, nchars); + else + value = SVGTextQuery(layout_object).SubStringLength(charnum, nchars); +- return value * GetDocument().GetNoiseFactorX(); ++ return value * (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled() ? ++ GetDocument().GetNoiseFactorX() : 1); + } + + SVGPointTearOff* SVGTextContentElement::getStartPositionOfChar( +@@ -176,7 +179,8 @@ SVGPointTearOff* SVGTextContentElement::getStartPositionOfChar( + } else { + point = SVGTextQuery(layout_object).StartPositionOfCharacter(charnum); + } +- point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); ++ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) ++ point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); + return SVGPointTearOff::CreateDetached(point); + } + +@@ -201,7 +205,8 @@ SVGPointTearOff* SVGTextContentElement::getEndPositionOfChar( + } else { + point = SVGTextQuery(layout_object).EndPositionOfCharacter(charnum); + } +- point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); ++ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) ++ point.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); + return SVGPointTearOff::CreateDetached(point); + } + +@@ -226,7 +231,8 @@ SVGRectTearOff* SVGTextContentElement::getExtentOfChar( + } else { + rect = SVGTextQuery(layout_object).ExtentOfCharacter(charnum); + } +- rect.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); ++ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) ++ rect.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); + return SVGRectTearOff::CreateDetached(rect); + } + +@@ -257,7 +263,8 @@ int SVGTextContentElement::getCharNumAtPosition( + DocumentUpdateReason::kJavaScript); + auto* layout_object = GetLayoutObject(); + gfx::PointF target = gfx::PointF(point->Target()->Value()); +- target.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); ++ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) ++ target.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY()); + if (IsNGTextOrInline(layout_object)) { + return NGSvgTextQuery(*layout_object) + .CharacterNumberAtPosition(target); +diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc +--- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc ++++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.cc +@@ -5,6 +5,7 @@ + #include "third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.h" + + #include "base/metrics/histogram_functions.h" ++#include "base/rand_util.h" + #include "base/trace_event/trace_event.h" + #include "third_party/blink/public/common/features.h" + #include "third_party/blink/renderer/bindings/modules/v8/v8_union_gpucanvascontext_imagebitmaprenderingcontext_offscreencanvasrenderingcontext2d_webgl2renderingcontext_webglrenderingcontext.h" +@@ -756,9 +757,15 @@ TextMetrics* OffscreenCanvasRenderingContext2D::measureText( + + TextDirection direction = ToTextDirection(GetState().GetDirection()); + +- return MakeGarbageCollected(font, direction, ++ TextMetrics* text_metrics = MakeGarbageCollected(font, direction, + GetState().GetTextBaseline(), + GetState().GetTextAlign(), text); ++ // Scale text metrics if enabled ++ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) { ++ float v = 1.0 + (base::RandDouble() - 0.5) * 0.0003; ++ text_metrics->Shuffle(v); ++ } ++ return text_metrics; + } + + const Font& OffscreenCanvasRenderingContext2D::AccessFont() { +-- +2.25.1 diff --git a/build/patches/00110-Remove-blocklisted-URLs-upon-bookmark-creation.patch b/build/patches/00110-ADDTO-Remove-blocklisted-URLs-upon-bookmark.patch similarity index 94% rename from build/patches/00110-Remove-blocklisted-URLs-upon-bookmark-creation.patch rename to build/patches/00110-ADDTO-Remove-blocklisted-URLs-upon-bookmark.patch index 37fd9dd3..f6b82f18 100644 --- a/build/patches/00110-Remove-blocklisted-URLs-upon-bookmark-creation.patch +++ b/build/patches/00110-ADDTO-Remove-blocklisted-URLs-upon-bookmark.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:16:28 +0000 -Subject: 110 Remove blocklisted URLs upon bookmark creation +Subject: 110 ADDTO Remove blocklisted URLs upon bookmark --- .../org/chromium/chrome/browser/bookmarks/TabBookmarker.java | 4 ++-- diff --git a/build/patches/00110-Remove-signin-and-sync-integrations.patch b/build/patches/00110-ADDTO-Remove-signin-and-sync-integrations.patch similarity index 99% rename from build/patches/00110-Remove-signin-and-sync-integrations.patch rename to build/patches/00110-ADDTO-Remove-signin-and-sync-integrations.patch index 0c8d3be8..a9e6da10 100644 --- a/build/patches/00110-Remove-signin-and-sync-integrations.patch +++ b/build/patches/00110-ADDTO-Remove-signin-and-sync-integrations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:14:29 +0000 -Subject: 110 Remove signin and sync integrations +Subject: 110 ADDTO Remove signin and sync integrations --- .../java/res/xml/privacy_preferences_v2.xml | 4 -- diff --git a/build/patches/00110-ADDTO-Revert-removal-of-execution-context-addr.patch b/build/patches/00110-ADDTO-Revert-removal-of-execution-context-addr.patch new file mode 100644 index 00000000..5eede5c8 --- /dev/null +++ b/build/patches/00110-ADDTO-Revert-removal-of-execution-context-addr.patch @@ -0,0 +1,22 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:30:52 +0000 +Subject: 110 ADDTO Revert removal of execution context addr + +--- + content/public/common/content_features.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc +--- a/content/public/common/content_features.cc ++++ b/content/public/common/content_features.cc +@@ -162,7 +162,7 @@ BASE_FEATURE(kBlockInsecurePrivateNetworkRequestsFromPrivate, + // - kBlockInsecurePrivateNetworkRequests + BASE_FEATURE(kBlockInsecurePrivateNetworkRequestsFromUnknown, + "BlockInsecurePrivateNetworkRequestsFromUnknown", +- base::FEATURE_DISABLED_BY_DEFAULT); ++ base::FEATURE_ENABLED_BY_DEFAULT); + + // Enables use of the PrivateNetworkAccessNonSecureContextsAllowed deprecation + // trial. This is a necessary yet insufficient condition: documents that wish to +-- +2.25.1 diff --git a/build/patches/00110-Revert-the-removal-of-an-option-to-block-autoplay.patch b/build/patches/00110-ADDTO-Revert-the-removal-of-an-option-to-block.patch similarity index 96% rename from build/patches/00110-Revert-the-removal-of-an-option-to-block-autoplay.patch rename to build/patches/00110-ADDTO-Revert-the-removal-of-an-option-to-block.patch index 512ec148..b0feb66b 100644 --- a/build/patches/00110-Revert-the-removal-of-an-option-to-block-autoplay.patch +++ b/build/patches/00110-ADDTO-Revert-the-removal-of-an-option-to-block.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:33:42 +0000 -Subject: 110 Revert the removal of an option to block autoplay +Subject: 110 ADDTO Revert the removal of an option to block --- .../browser_ui/site_settings/SingleCategorySettings.java | 5 +++-- diff --git a/build/patches/00109-Samsung-Note-9-SDK27-crazylinker-workaround.patch b/build/patches/00110-ADDTO-Samsung-Note-9-SDK27-crazylinker-workaro.patch similarity index 92% rename from build/patches/00109-Samsung-Note-9-SDK27-crazylinker-workaround.patch rename to build/patches/00110-ADDTO-Samsung-Note-9-SDK27-crazylinker-workaro.patch index 0899b758..641b5a5d 100644 --- a/build/patches/00109-Samsung-Note-9-SDK27-crazylinker-workaround.patch +++ b/build/patches/00110-ADDTO-Samsung-Note-9-SDK27-crazylinker-workaro.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:08:36 +0000 -Subject: 109 Samsung Note 9 SDK27 crazylinker workaround +Subject: 110 ADDTO Samsung Note 9 SDK27 crazylinker workaro --- .../java/src/org/chromium/base/library_loader/LibraryLoader.java | 1 + diff --git a/build/patches/00110-Site-setting-for-images.patch b/build/patches/00110-ADDTO-Site-setting-for-images.patch similarity index 97% rename from build/patches/00110-Site-setting-for-images.patch rename to build/patches/00110-ADDTO-Site-setting-for-images.patch index 742cbca7..c6c6737b 100644 --- a/build/patches/00110-Site-setting-for-images.patch +++ b/build/patches/00110-ADDTO-Site-setting-for-images.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:35:48 +0000 -Subject: 110 Site setting for images +Subject: 110 ADDTO Site setting for images --- .../browser_ui/site_settings/SingleCategorySettings.java | 5 +++-- diff --git a/build/patches/00110-Timezone-customization.patch b/build/patches/00110-ADDTO-Timezone-customization.patch similarity index 99% rename from build/patches/00110-Timezone-customization.patch rename to build/patches/00110-ADDTO-Timezone-customization.patch index 94d95623..9a937510 100644 --- a/build/patches/00110-Timezone-customization.patch +++ b/build/patches/00110-ADDTO-Timezone-customization.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 8 Feb 2023 13:29:03 +0000 -Subject: 110 Timezone customization +Subject: 110 ADDTO Timezone customization --- .../site_settings/SingleCategorySettings.java | 33 +++++++++++-------- diff --git a/build/patches/00110-ADDTO-Viewport-Protection-flag.patch b/build/patches/00110-ADDTO-Viewport-Protection-flag.patch new file mode 100644 index 00000000..013c63cc --- /dev/null +++ b/build/patches/00110-ADDTO-Viewport-Protection-flag.patch @@ -0,0 +1,22 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:05:49 +0000 +Subject: 110 ADDTO Viewport Protection flag + +--- + third_party/blink/renderer/core/css/media_values.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/third_party/blink/renderer/core/css/media_values.cc b/third_party/blink/renderer/core/css/media_values.cc +--- a/third_party/blink/renderer/core/css/media_values.cc ++++ b/third_party/blink/renderer/core/css/media_values.cc +@@ -176,7 +176,7 @@ bool MediaValues::CalculateStrictMode(LocalFrame* frame) { + } + + float MediaValues::CalculateDevicePixelRatio(LocalFrame* frame) { +- return frame->DevicePixelRatio(); ++ return frame->DevicePixelRatio(false); + } + + bool MediaValues::CalculateDeviceSupportsHDR(LocalFrame* frame) { +-- +2.25.1 diff --git a/build/patches/00Disable-BackForwardCache.patch b/build/patches/00Disable-BackForwardCache.patch new file mode 100644 index 00000000..926fa277 --- /dev/null +++ b/build/patches/00Disable-BackForwardCache.patch @@ -0,0 +1,24 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:29:12 +0000 +Subject: Disable BackForwardCache + +--- + content/public/common/content_features.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc +--- a/content/public/common/content_features.cc ++++ b/content/public/common/content_features.cc +@@ -87,8 +87,8 @@ BASE_FEATURE(kBackgroundFetch, + + // Enable using the BackForwardCache. + BASE_FEATURE(kBackForwardCache, +- "BackForwardCache", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ "BackForwardCache", // always disabled ++ base::FEATURE_DISABLED_BY_DEFAULT); // in bromite + + // Allows pages that created a MediaSession service to stay eligible for the + // back/forward cache. +-- +2.25.1 diff --git a/build/patches/00Disable-FedCm.patch b/build/patches/00Disable-FedCm.patch new file mode 100644 index 00000000..a6efbb56 --- /dev/null +++ b/build/patches/00Disable-FedCm.patch @@ -0,0 +1,35 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:26:17 +0000 +Subject: Disable FedCm + +--- + content/public/common/content_features.cc | 2 +- + .../blink/renderer/platform/runtime_enabled_features.json5 | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc +--- a/content/public/common/content_features.cc ++++ b/content/public/common/content_features.cc +@@ -379,7 +379,7 @@ BASE_FEATURE(kExtraSafelistedRequestHeadersForOutOfBlinkCors, + // by the flag in RuntimeEnabledFeatures on the blink side. See also + // the use of kSetOnlyIfOverridden in content/child/runtime_features.cc. + // We enable it here by default to support use in origin trials. +-BASE_FEATURE(kFedCm, "FedCm", base::FEATURE_ENABLED_BY_DEFAULT); ++BASE_FEATURE(kFedCm, "FedCm", base::FEATURE_DISABLED_BY_DEFAULT); + + // Field trial boolean parameter which indicates whether FedCM auto + // sign-in is enabled. +diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 ++++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +@@ -1195,7 +1195,7 @@ + { + name: "FedCm", + public: true, +- status: "stable", ++ status: "test", + }, + { + // This only exists so we can use RuntimeEnabled in the IDL file +-- +2.25.1 diff --git a/build/patches/00Disable-MathMLCore.patch b/build/patches/00Disable-MathMLCore.patch deleted file mode 100644 index ce7f8adb..00000000 --- a/build/patches/00Disable-MathMLCore.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Your Name -Date: Tue, 31 Jan 2023 13:57:29 +0000 -Subject: Disable MathMLCore - ---- - .../blink/renderer/platform/runtime_enabled_features.json5 | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 ---- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 -+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -1722,9 +1722,10 @@ - }, - { - name: "MathMLCore", -- status: "stable", -+ status: "experimental", - depends_on: ["LayoutNG"], - base_feature: "MathMLCore", -+ base_feature_status: "disabled", - }, - { - name:"MeasureMemory", --- -2.25.1 diff --git a/build/patches/00Evict-the-entire-FrameTree-like-desktop.patch b/build/patches/00Evict-the-entire-FrameTree-like-desktop.patch new file mode 100644 index 00000000..3065b1ec --- /dev/null +++ b/build/patches/00Evict-the-entire-FrameTree-like-desktop.patch @@ -0,0 +1,35 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:23:08 +0000 +Subject: Evict the entire FrameTree like desktop + +--- + components/viz/common/features.cc | 2 +- + content/public/common/content_features.cc | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/components/viz/common/features.cc b/components/viz/common/features.cc +--- a/components/viz/common/features.cc ++++ b/components/viz/common/features.cc +@@ -234,7 +234,7 @@ BASE_FEATURE(kRendererAllocatesImages, + // This differs from Destkop platforms which evict the entire FrameTree along + // with the topmost viz::Surface. When this feature is enabled, Android will + // begin also evicting the entire FrameTree. +-BASE_FEATURE(kEvictSubtree, "EvictSubtree", base::FEATURE_DISABLED_BY_DEFAULT); ++BASE_FEATURE(kEvictSubtree, "EvictSubtree", base::FEATURE_ENABLED_BY_DEFAULT); + #endif + + bool IsOverlayPrioritizationEnabled() { +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc +--- a/content/public/common/content_features.cc ++++ b/content/public/common/content_features.cc +@@ -530,7 +530,7 @@ BASE_FEATURE(kInMemoryCodeCache, + // cases, e.g. PDF tiles are ignored. See https://crbug.com/1360351 for details. + BASE_FEATURE(kInnerFrameCompositorSurfaceEviction, + "InnerFrameCompositorSurfaceEviction", +- base::FEATURE_DISABLED_BY_DEFAULT); ++ base::FEATURE_ENABLED_BY_DEFAULT); + + // Kill switch for the GetInstalledRelatedApps API. + BASE_FEATURE(kInstalledApp, "InstalledApp", base::FEATURE_ENABLED_BY_DEFAULT); +-- +2.25.1 diff --git a/build/patches/00AImageReader-CFI-crash-mitigations--win-fixup-.patch b/build/patches/00WIN-ADDTO-AImageReader-CFI-crash-mitigations.patch similarity index 93% rename from build/patches/00AImageReader-CFI-crash-mitigations--win-fixup-.patch rename to build/patches/00WIN-ADDTO-AImageReader-CFI-crash-mitigations.patch index 1adf5e0f..3820ddd3 100644 --- a/build/patches/00AImageReader-CFI-crash-mitigations--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-AImageReader-CFI-crash-mitigations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:36:56 +0000 -Subject: AImageReader CFI crash mitigations (win fixup) +Subject: WIN ADDTO AImageReader CFI crash mitigations --- gpu/ipc/service/gpu_init.cc | 2 ++ diff --git a/build/patches/00Add-AllowUserCertificates-flag--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-AllowUserCertificates-flag.patch similarity index 88% rename from build/patches/00Add-AllowUserCertificates-flag--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-AllowUserCertificates-flag.patch index 30389363..3958e432 100644 --- a/build/patches/00Add-AllowUserCertificates-flag--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-AllowUserCertificates-flag.patch @@ -1,6 +1,6 @@ From: Your Name Date: Mon, 19 Dec 2022 11:23:10 +0000 -Subject: Add AllowUserCertificates flag (win fixup) +Subject: WIN ADDTO Add AllowUserCertificates flag --- chrome/browser/about_flags.cc | 2 ++ @@ -9,7 +9,7 @@ Subject: Add AllowUserCertificates flag (win fixup) diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -8514,10 +8514,12 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8510,10 +8510,12 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kWin10TabSearchCaptionButton)}, #endif // BUILDFLAG(IS_WIN) diff --git a/build/patches/00Add-a-proxy-configuration-page--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-a-proxy-configuration-page.patch similarity index 97% rename from build/patches/00Add-a-proxy-configuration-page--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-a-proxy-configuration-page.patch index c46640b1..c22e3041 100644 --- a/build/patches/00Add-a-proxy-configuration-page--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-a-proxy-configuration-page.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 10:59:27 +0000 -Subject: Add a proxy configuration page (win fixup) +Subject: WIN ADDTO Add a proxy configuration page --- chrome/browser/browser_resources.grd | 6 ++---- diff --git a/build/patches/00Add-an-always-incognito-mode--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-an-always-incognito-mode.patch similarity index 98% rename from build/patches/00Add-an-always-incognito-mode--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-an-always-incognito-mode.patch index 8008c30b..17cd895c 100644 --- a/build/patches/00Add-an-always-incognito-mode--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-an-always-incognito-mode.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 09:09:26 +0000 -Subject: Add an always-incognito mode (win fixup) +Subject: WIN ADDTO Add an always-incognito mode --- .../browser/autocomplete/chrome_autocomplete_provider_client.cc | 2 ++ diff --git a/build/patches/00Add-bookmark-import-export-actions--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-bookmark-import-export-actions.patch similarity index 98% rename from build/patches/00Add-bookmark-import-export-actions--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-bookmark-import-export-actions.patch index ed06c2b2..cd3b34b0 100644 --- a/build/patches/00Add-bookmark-import-export-actions--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-bookmark-import-export-actions.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:30:34 +0000 -Subject: Add bookmark import/export actions (win fixup) +Subject: WIN ADDTO Add bookmark import/export actions --- chrome/browser/about_flags.cc | 2 ++ diff --git a/build/patches/00Add-flag-to-configure-maximum-connecti--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-flag-to-configure-maximum-connecti.patch similarity index 93% rename from build/patches/00Add-flag-to-configure-maximum-connecti--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-flag-to-configure-maximum-connecti.patch index 1d60730a..b518f28f 100644 --- a/build/patches/00Add-flag-to-configure-maximum-connecti--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-flag-to-configure-maximum-connecti.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 12:00:06 +0000 -Subject: Add flag to configure maximum connecti (win fixup) +Subject: WIN ADDTO Add flag to configure maximum connecti --- chrome/browser/about_flags.cc | 2 ++ diff --git a/build/patches/00Add-flag-to-disable-IPv6-probes--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-flag-to-disable-IPv6-probes.patch similarity index 98% rename from build/patches/00Add-flag-to-disable-IPv6-probes--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-flag-to-disable-IPv6-probes.patch index f350266c..a36b56de 100644 --- a/build/patches/00Add-flag-to-disable-IPv6-probes--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-flag-to-disable-IPv6-probes.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:34:42 +0000 -Subject: Add flag to disable IPv6 probes (win fixup) +Subject: WIN ADDTO Add flag to disable IPv6 probes --- chrome/browser/about_flags.cc | 2 +- diff --git a/build/patches/00Add-flag-to-disable-external-intent-re--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-flag-to-disable-external-intent-re.patch similarity index 94% rename from build/patches/00Add-flag-to-disable-external-intent-re--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-flag-to-disable-external-intent-re.patch index c1d4b388..8d468161 100644 --- a/build/patches/00Add-flag-to-disable-external-intent-re--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-flag-to-disable-external-intent-re.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 12:00:43 +0000 -Subject: Add flag to disable external intent re (win fixup) +Subject: WIN ADDTO Add flag to disable external intent re --- chrome/browser/about_flags.cc | 2 ++ diff --git a/build/patches/00Add-lifetime-options-for-permissions--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-lifetime-options-for-permissions.patch similarity index 93% rename from build/patches/00Add-lifetime-options-for-permissions--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-lifetime-options-for-permissions.patch index 06105502..4f38128c 100644 --- a/build/patches/00Add-lifetime-options-for-permissions--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-lifetime-options-for-permissions.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:52:11 +0000 -Subject: Add lifetime options for permissions (win fixup) +Subject: WIN ADDTO Add lifetime options for permissions --- .../ui/views/permissions/permission_prompt_bubble_view.cc | 2 +- diff --git a/build/patches/00Add-webGL-site-setting--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-webGL-site-setting.patch similarity index 99% rename from build/patches/00Add-webGL-site-setting--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-webGL-site-setting.patch index 4924bcf6..d1bd1fb6 100644 --- a/build/patches/00Add-webGL-site-setting--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-webGL-site-setting.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 08:12:18 +0000 -Subject: Add webGL site setting (win fixup) +Subject: WIN ADDTO Add webGL site setting --- chrome/app/settings_strings.grdp | 19 ++++++++++++++++ diff --git a/build/patches/00Add-webRTC-site-settings--win-fixup-.patch b/build/patches/00WIN-ADDTO-Add-webRTC-site-settings.patch similarity index 99% rename from build/patches/00Add-webRTC-site-settings--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Add-webRTC-site-settings.patch index 15a51ae5..1c60723f 100644 --- a/build/patches/00Add-webRTC-site-settings--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Add-webRTC-site-settings.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 08:52:11 +0000 -Subject: Add webRTC site settings (win fixup) +Subject: WIN ADDTO Add webRTC site settings --- chrome/app/settings_strings.grdp | 19 ++++++++++++++++ diff --git a/build/patches/00Content-settings-infrastructure--win-fixup-.patch b/build/patches/00WIN-ADDTO-Content-settings-infrastructure.patch similarity index 94% rename from build/patches/00Content-settings-infrastructure--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Content-settings-infrastructure.patch index 0665c4d3..df528541 100644 --- a/build/patches/00Content-settings-infrastructure--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Content-settings-infrastructure.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 10:26:13 +0000 -Subject: Content settings infrastructure (win fixup) +Subject: WIN ADDTO Content settings infrastructure --- components/content_settings/core/common/content_settings.cc | 1 + diff --git a/build/patches/00Disable-requests-for-single-word-Omni--win-fixup-.patch b/build/patches/00WIN-ADDTO-Disable-requests-for-single-word-Omni.patch similarity index 94% rename from build/patches/00Disable-requests-for-single-word-Omni--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Disable-requests-for-single-word-Omni.patch index d3ca192d..bc9b08f6 100644 --- a/build/patches/00Disable-requests-for-single-word-Omni--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Disable-requests-for-single-word-Omni.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 12:02:16 +0000 -Subject: Disable requests for single-word Omni (win fixup) +Subject: WIN ADDTO Disable requests for single-word Omni --- chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc | 2 ++ diff --git a/build/patches/00Disable-safe-browsing--win-fixup-.patch b/build/patches/00WIN-ADDTO-Disable-safe-browsing.patch similarity index 99% rename from build/patches/00Disable-safe-browsing--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Disable-safe-browsing.patch index 4101c8d2..e3f1cc83 100644 --- a/build/patches/00Disable-safe-browsing--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Disable-safe-browsing.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 09:52:02 +0000 -Subject: Disable safe browsing (win fixup) +Subject: WIN ADDTO Disable safe browsing --- chrome/browser/BUILD.gn | 16 +- @@ -1852,7 +1852,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn "//chrome/browser/segmentation_platform:test_utils", "//chrome/browser/sharing/proto", "//chrome/browser/ui/color:color_headers", -@@ -5901,9 +5899,6 @@ test("unit_tests") { +@@ -5897,9 +5895,6 @@ test("unit_tests") { "//chrome/browser/profile_resetter:profile_reset_report_proto", "//chrome/browser/profiling_host", "//chrome/browser/push_messaging:budget_proto", diff --git a/build/patches/00Disable-various-metrics--win-fixup-.patch b/build/patches/00WIN-ADDTO-Disable-various-metrics.patch similarity index 97% rename from build/patches/00Disable-various-metrics--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Disable-various-metrics.patch index af8aa581..97a09b66 100644 --- a/build/patches/00Disable-various-metrics--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Disable-various-metrics.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:53:36 +0000 -Subject: Disable various metrics (win fixup) +Subject: WIN ADDTO Disable various metrics --- chrome/browser/ui/search/ntp_user_data_logger.cc | 4 ---- diff --git a/build/patches/00Do-not-build-API-keys-infobar--win-fixup-.patch b/build/patches/00WIN-ADDTO-Do-not-build-API-keys-infobar.patch similarity index 93% rename from build/patches/00Do-not-build-API-keys-infobar--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Do-not-build-API-keys-infobar.patch index 63f3b01b..818e9a46 100644 --- a/build/patches/00Do-not-build-API-keys-infobar--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Do-not-build-API-keys-infobar.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:58:29 +0000 -Subject: Do not build API keys infobar (win fixup) +Subject: WIN ADDTO Do not build API keys infobar --- chrome/browser/ui/startup/infobar_utils.cc | 3 --- diff --git a/build/patches/00Enable-native-Android-autofill--win-fixup-.patch b/build/patches/00WIN-ADDTO-Enable-native-Android-autofill.patch similarity index 98% rename from build/patches/00Enable-native-Android-autofill--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Enable-native-Android-autofill.patch index 33e7b697..7bd3ac78 100644 --- a/build/patches/00Enable-native-Android-autofill--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Enable-native-Android-autofill.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:46:45 +0000 -Subject: Enable native Android autofill (win fixup) +Subject: WIN ADDTO Enable native Android autofill --- chrome/browser/extensions/extension_view_host.cc | 3 ++- diff --git a/build/patches/00Experimental-user-scripts-support--win-fixup-.patch b/build/patches/00WIN-ADDTO-Experimental-user-scripts-support.patch similarity index 99% rename from build/patches/00Experimental-user-scripts-support--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Experimental-user-scripts-support.patch index e5b1752c..2cf47521 100644 --- a/build/patches/00Experimental-user-scripts-support--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Experimental-user-scripts-support.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 09:19:46 +0000 -Subject: Experimental user scripts support (win fixup) +Subject: WIN ADDTO Experimental user scripts support --- chrome/browser/BUILD.gn | 12 +++++++----- diff --git a/build/patches/00Eyeo-Adblock--win-fixup-.patch b/build/patches/00WIN-ADDTO-Eyeo-Adblock.patch similarity index 95% rename from build/patches/00Eyeo-Adblock--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Eyeo-Adblock.patch index 232b365c..39971875 100644 --- a/build/patches/00Eyeo-Adblock--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Eyeo-Adblock.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 10:24:51 +0000 -Subject: Eyeo Adblock (win fixup) +Subject: WIN ADDTO Eyeo Adblock --- .../browser/resources/settings/adblock_page/adblock_page.ts | 2 +- @@ -22,7 +22,7 @@ diff --git a/chrome/browser/resources/settings/adblock_page/adblock_page.ts b/ch diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2401,10 +2401,6 @@ if (!is_android) { +@@ -2403,10 +2403,6 @@ if (!is_android) { "v8/wasm_trap_handler_browsertest.cc", ] diff --git a/build/patches/00JIT-site-settings--win-fixup-.patch b/build/patches/00WIN-ADDTO-JIT-site-settings.patch similarity index 99% rename from build/patches/00JIT-site-settings--win-fixup-.patch rename to build/patches/00WIN-ADDTO-JIT-site-settings.patch index e8ec41e1..1d059eef 100644 --- a/build/patches/00JIT-site-settings--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-JIT-site-settings.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 14:03:37 +0000 -Subject: JIT site settings (win fixup) +Subject: WIN ADDTO JIT site settings --- chrome/app/settings_strings.grdp | 19 ++++++++++++++++ diff --git a/build/patches/00Logcat-crash-reports-UI--win-fixup-.patch b/build/patches/00WIN-ADDTO-Logcat-crash-reports-UI.patch similarity index 98% rename from build/patches/00Logcat-crash-reports-UI--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Logcat-crash-reports-UI.patch index 002c9bfe..2a550578 100644 --- a/build/patches/00Logcat-crash-reports-UI--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Logcat-crash-reports-UI.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 11:27:08 +0000 -Subject: Logcat crash reports UI (win fixup) +Subject: WIN ADDTO Logcat crash reports UI --- chrome/browser/ui/webui/crashes_ui.cc | 12 +++++++++++- diff --git a/build/patches/00Remove-EV-certificates--win-fixup-.patch b/build/patches/00WIN-ADDTO-Remove-EV-certificates.patch similarity index 92% rename from build/patches/00Remove-EV-certificates--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Remove-EV-certificates.patch index 9e1eb82a..3be68bf9 100644 --- a/build/patches/00Remove-EV-certificates--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Remove-EV-certificates.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:35:41 +0000 -Subject: Remove EV certificates (win fixup) +Subject: WIN ADDTO Remove EV certificates --- net/cert/ev_root_ca_metadata.cc | 2 +- diff --git a/build/patches/00Remove-binary-blob-integrations--win-fixup-.patch b/build/patches/00WIN-ADDTO-Remove-binary-blob-integrations.patch similarity index 96% rename from build/patches/00Remove-binary-blob-integrations--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Remove-binary-blob-integrations.patch index 92c532d2..abf16f11 100644 --- a/build/patches/00Remove-binary-blob-integrations--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Remove-binary-blob-integrations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:41:35 +0000 -Subject: Remove binary blob integrations (win fixup) +Subject: WIN ADDTO Remove binary blob integrations --- components/gcm_driver/gcm_client_impl.cc | 8 ++++---- diff --git a/build/patches/00Remove-signin-and-sync-integrations--win-fixup-.patch b/build/patches/00WIN-ADDTO-Remove-signin-and-sync-integrations.patch similarity index 99% rename from build/patches/00Remove-signin-and-sync-integrations--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Remove-signin-and-sync-integrations.patch index df65980e..b359f8a6 100644 --- a/build/patches/00Remove-signin-and-sync-integrations--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Remove-signin-and-sync-integrations.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:50:53 +0000 -Subject: Remove signin and sync integrations (win fixup) +Subject: WIN ADDTO Remove signin and sync integrations --- chrome/browser/BUILD.gn | 8 - diff --git a/build/patches/00Restore-Search-Ready-Omnibox-flag--win-fixup-.patch b/build/patches/00WIN-ADDTO-Restore-Search-Ready-Omnibox-flag.patch similarity index 93% rename from build/patches/00Restore-Search-Ready-Omnibox-flag--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Restore-Search-Ready-Omnibox-flag.patch index c44511e0..dfe11baa 100644 --- a/build/patches/00Restore-Search-Ready-Omnibox-flag--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Restore-Search-Ready-Omnibox-flag.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 12:01:37 +0000 -Subject: Restore Search Ready Omnibox flag (win fixup) +Subject: WIN ADDTO Restore Search Ready Omnibox flag --- chrome/browser/about_flags.cc | 2 ++ diff --git a/build/patches/00Revert-flags--remove-num-raster-thre--win-fixup-.patch b/build/patches/00WIN-ADDTO-Revert-flags--remove-num-raster-thre.patch similarity index 94% rename from build/patches/00Revert-flags--remove-num-raster-thre--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Revert-flags--remove-num-raster-thre.patch index eb3cac86..919681e2 100644 --- a/build/patches/00Revert-flags--remove-num-raster-thre--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Revert-flags--remove-num-raster-thre.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:59:30 +0000 -Subject: Revert flags: remove num-raster-thre (win fixup) +Subject: WIN ADDTO Revert flags: remove num-raster-thre --- chrome/browser/about_flags.cc | 2 ++ diff --git a/build/patches/00Revert-the-removal-to-block-autoplay--win-fixup-.patch b/build/patches/00WIN-ADDTO-Revert-the-removal-to-block-autoplay.patch similarity index 99% rename from build/patches/00Revert-the-removal-to-block-autoplay--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Revert-the-removal-to-block-autoplay.patch index 671db0fb..34d33a0b 100644 --- a/build/patches/00Revert-the-removal-to-block-autoplay--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Revert-the-removal-to-block-autoplay.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 12:49:31 +0000 -Subject: Revert the removal to block autoplay (win fixup) +Subject: WIN ADDTO Revert the removal to block autoplay --- chrome/app/settings_strings.grdp | 19 ++++++++++++++++ diff --git a/build/patches/00Timezone-customization--win-fixup-.patch b/build/patches/00WIN-ADDTO-Timezone-customization.patch similarity index 99% rename from build/patches/00Timezone-customization--win-fixup-.patch rename to build/patches/00WIN-ADDTO-Timezone-customization.patch index dc7adce0..b66e1fa8 100644 --- a/build/patches/00Timezone-customization--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-Timezone-customization.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 16:03:16 +0000 -Subject: Timezone customization (win fixup) +Subject: WIN ADDTO Timezone customization --- chrome/app/settings_strings.grdp | 19 ++++++++++++++++ diff --git a/build/patches/00openH264--enable-ARM-ARM64-optimizati--win-fixup-.patch b/build/patches/00WIN-ADDTO-openH264--enable-ARM-ARM64-optimizati.patch similarity index 94% rename from build/patches/00openH264--enable-ARM-ARM64-optimizati--win-fixup-.patch rename to build/patches/00WIN-ADDTO-openH264--enable-ARM-ARM64-optimizati.patch index 0d3708b0..8855512a 100644 --- a/build/patches/00openH264--enable-ARM-ARM64-optimizati--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-openH264--enable-ARM-ARM64-optimizati.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 11:31:11 +0000 -Subject: openH264: enable ARM/ARM64 optimizati (win fixup) +Subject: WIN ADDTO openH264: enable ARM/ARM64 optimizati --- .../blink/renderer/modules/mediarecorder/h264_encoder.cc | 6 +++--- diff --git a/build/patches/00ungoogled-chr--Disable-profile-avatar--win-fixup-.patch b/build/patches/00WIN-ADDTO-ungoogled-chr--Disable-profile-avatar.patch similarity index 93% rename from build/patches/00ungoogled-chr--Disable-profile-avatar--win-fixup-.patch rename to build/patches/00WIN-ADDTO-ungoogled-chr--Disable-profile-avatar.patch index 65d5f72f..ddc6be85 100644 --- a/build/patches/00ungoogled-chr--Disable-profile-avatar--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-ungoogled-chr--Disable-profile-avatar.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 12 Oct 2022 10:04:39 +0000 -Subject: ungoogled-chr: Disable profile avatar (win fixup) +Subject: WIN ADDTO ungoogled-chr: Disable profile avatar --- chrome/browser/profiles/profile_attributes_storage.cc | 2 +- diff --git a/build/patches/00ungoogled-chromium--no-special-hosts-d--win-fixup-.patch b/build/patches/00WIN-ADDTO-ungoogled-chromium--no-special-hosts-d.patch similarity index 98% rename from build/patches/00ungoogled-chromium--no-special-hosts-d--win-fixup-.patch rename to build/patches/00WIN-ADDTO-ungoogled-chromium--no-special-hosts-d.patch index 9df8a9dd..19724f2d 100644 --- a/build/patches/00ungoogled-chromium--no-special-hosts-d--win-fixup-.patch +++ b/build/patches/00WIN-ADDTO-ungoogled-chromium--no-special-hosts-d.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 10:27:15 +0000 -Subject: ungoogled-chromium: no special hosts/d (win fixup) +Subject: WIN ADDTO ungoogled-chromium: no special hosts/d --- components/domain_reliability/BUILD.gn | 47 ++++++++++++++---------- diff --git a/build/patches/00Fix-windows-build.patch b/build/patches/00WIN-Fix-windows-build.patch similarity index 99% rename from build/patches/00Fix-windows-build.patch rename to build/patches/00WIN-Fix-windows-build.patch index f0440074..44c59851 100644 --- a/build/patches/00Fix-windows-build.patch +++ b/build/patches/00WIN-Fix-windows-build.patch @@ -1,6 +1,6 @@ From: Your Name Date: Thu, 13 Oct 2022 10:34:52 +0000 -Subject: Fix windows build +Subject: WIN Fix windows build --- .../browser_process_platform_part_win.cc | 3 ++ diff --git a/build/patches/00WIN-enable-file-system-access-blocklist.patch b/build/patches/00WIN-enable-file-system-access-blocklist.patch new file mode 100644 index 00000000..58e1ca30 --- /dev/null +++ b/build/patches/00WIN-enable-file-system-access-blocklist.patch @@ -0,0 +1,33 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:32:30 +0000 +Subject: WIN enable file system access blocklist + +--- + content/browser/file_system_access/features.cc | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/content/browser/file_system_access/features.cc b/content/browser/file_system_access/features.cc +--- a/content/browser/file_system_access/features.cc ++++ b/content/browser/file_system_access/features.cc +@@ -14,7 +14,7 @@ namespace content::features { + // some applications. + BASE_FEATURE(kFileSystemAccessDragAndDropCheckBlocklist, + "FileSystemAccessDragAndDropCheckBlocklist", +- base::FEATURE_DISABLED_BY_DEFAULT); ++ base::FEATURE_ENABLED_BY_DEFAULT); + + // TODO(crbug.com/1381621): Remove this flag eventually. + // When enabled, move() will result in a promise rejection when the specified +@@ -43,8 +43,8 @@ BASE_FEATURE(kFileSystemAccessRemoveEntryExclusiveLock, + // When enabled, a user gesture is required to rename a file if the site does + // not have write access to the parent. See http://b/254157070 for more context. + BASE_FEATURE(kFileSystemAccessRenameWithoutParentAccessRequiresUserActivation, +- "FileSystemAccessRenameWithoutParentAccessRequiresUserActivation", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ "FileSystemAccessRenameWithoutParentAccessRequiresUserActivation", // enabled by default ++ base::FEATURE_ENABLED_BY_DEFAULT); // in bromite + + // TODO(crbug.com/1247850): Remove this flag eventually. + // When enabled, move operations within the same file system that do not change +-- +2.25.1 diff --git a/build/patches/00WIP-disable-visited-pseudo-class.patch b/build/patches/00WIP-disable-visited-pseudo-class.patch new file mode 100644 index 00000000..3d66ee0d --- /dev/null +++ b/build/patches/00WIP-disable-visited-pseudo-class.patch @@ -0,0 +1,21 @@ +From: Your Name +Date: Tue, 14 Feb 2023 16:41:42 +0000 +Subject: WIP disable visited pseudo class + +--- + components/visitedlink/common/visitedlink_common.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/components/visitedlink/common/visitedlink_common.cc b/components/visitedlink/common/visitedlink_common.cc +--- a/components/visitedlink/common/visitedlink_common.cc ++++ b/components/visitedlink/common/visitedlink_common.cc +@@ -43,6 +43,7 @@ bool VisitedLinkCommon::IsVisited(const GURL& url) const { + } + + bool VisitedLinkCommon::IsVisited(Fingerprint fingerprint) const { ++ if ((true)) return false; + // Go through the table until we find the item or an empty spot (meaning it + // wasn't found). This loop will terminate as long as the table isn't full, + // which should be enforced by AddFingerprint. +-- +2.25.1 diff --git a/build/patches/00wip-add-browser-policy.patch b/build/patches/00add-browser-policy.patch similarity index 99% rename from build/patches/00wip-add-browser-policy.patch rename to build/patches/00add-browser-policy.patch index f8b0d8f2..f98bf5f3 100644 --- a/build/patches/00wip-add-browser-policy.patch +++ b/build/patches/00add-browser-policy.patch @@ -1,6 +1,6 @@ From: Your Name Date: Tue, 22 Nov 2022 16:49:58 +0000 -Subject: wip add browser policy +Subject: Add browser policy --- .../privacy_preferences_manager_impl.cc | 5 + diff --git a/build/patches/00win-disable-annotate-downloads.patch b/build/patches/00win-disable-annotate-downloads.patch index 7ff29128..2cec1500 100644 --- a/build/patches/00win-disable-annotate-downloads.patch +++ b/build/patches/00win-disable-annotate-downloads.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 28 Dec 2022 15:46:59 +0000 -Subject: win disable annotate downloads +Subject: WIN disable annotate downloads --- components/download/internal/common/download_file_impl.cc | 4 ++-- diff --git a/build/patches/00win-enable-HighEfficiencyMode-by-default.patch b/build/patches/00win-enable-HighEfficiencyMode-by-default.patch index 2418ec70..e4497122 100644 --- a/build/patches/00win-enable-HighEfficiencyMode-by-default.patch +++ b/build/patches/00win-enable-HighEfficiencyMode-by-default.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 28 Dec 2022 15:47:58 +0000 -Subject: win enable HighEfficiencyMode by default +Subject: WIN enable HighEfficiencyMode by default --- components/performance_manager/features.cc | 2 +- diff --git a/build/patches/00win-enable-pdf-plugin.patch b/build/patches/00win-enable-pdf-plugin.patch index 51918cdd..81b2e0be 100644 --- a/build/patches/00win-enable-pdf-plugin.patch +++ b/build/patches/00win-enable-pdf-plugin.patch @@ -1,6 +1,6 @@ From: Your Name Date: Wed, 28 Dec 2022 15:46:38 +0000 -Subject: win enable pdf plugin +Subject: WIN enable pdf plugin --- third_party/blink/renderer/core/frame/local_frame.cc | 2 ++ @@ -9,7 +9,7 @@ Subject: win enable pdf plugin diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/blink/renderer/core/frame/local_frame.cc --- a/third_party/blink/renderer/core/frame/local_frame.cc +++ b/third_party/blink/renderer/core/frame/local_frame.cc -@@ -1945,7 +1945,9 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() { +@@ -1937,7 +1937,9 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() { } PluginData* LocalFrame::GetPluginData() const {