Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
dee65b6
Delete patches/third_party/fedora/disable-cflag-for-aarch64-builds.patch
RKNF404 May 20, 2026
da06a2b
Update add-dark-mode-toolbar-toggle.patch
RKNF404 May 20, 2026
c074011
Update add-hide-profile-icon-feature.patch
RKNF404 May 20, 2026
b5ffb5b
Update register-new-strings.patch
RKNF404 May 20, 2026
0affd32
Update add-new-prefs.patch
RKNF404 May 20, 2026
776ccbc
Update adjust-security-and-privacy-page.patch
RKNF404 May 20, 2026
c4e5058
Update set-mv3-only-by-default.patch
RKNF404 May 20, 2026
c122bb5
Update disable-metrics-reporting.patch
RKNF404 May 21, 2026
2545c99
Update disable-lens.patch
RKNF404 May 21, 2026
3d3e139
Update disable-ai-features-and-components-by-default.patch
RKNF404 May 21, 2026
e040497
Update disable-ai-features-and-components-by-default.patch
RKNF404 May 21, 2026
dd9afe4
Update linux-gpu-sandbox.patch
RKNF404 May 21, 2026
68286d0
Update build-hardening.patch
RKNF404 May 21, 2026
80fa2f0
Update build-hardening.patch
RKNF404 May 21, 2026
12734b4
Delete patches/trivalent/fixes/chromium-141-glibc-2.42-SYS_SECCOMP.patch
RKNF404 May 21, 2026
d54e6c3
Update trivalent-faq-page.patch
RKNF404 May 21, 2026
635caf9
Update set-browser-defaults.patch
RKNF404 May 21, 2026
1348988
Update hide-ui-popup-text.patch
RKNF404 May 21, 2026
b8fa60b
Update disable-metrics-reporting.patch
RKNF404 May 21, 2026
7758092
Update force-third-party-ntp.patch
RKNF404 May 21, 2026
691ea7d
Update enable-vertical-tabs-exposure.patch
RKNF404 May 21, 2026
47841a6
Update disable-secondary-browser-features-by-default.patch
RKNF404 May 21, 2026
e89b42f
Update disable-secondary-browser-features-by-default.patch
RKNF404 May 21, 2026
7433ef2
Update dns-providers.patch
RKNF404 May 21, 2026
16326e2
Delete build/install/master_preferences
RKNF404 May 21, 2026
9d59b7f
Update trivalent.spec
RKNF404 May 21, 2026
d9613bd
Update build-hardening.patch
RKNF404 May 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions build/install/master_preferences

This file was deleted.

5 changes: 0 additions & 5 deletions build/trivalent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Source3: %{chromium_name}.sh
Source4: %{chromium_name}.desktop
Source9: %{chromium_name}.xml
Source10: %{chromium_name}.appdata.xml
Source11: master_preferences

Source12: %{chromium_name}16.png
Source13: %{chromium_name}32.png
Expand Down Expand Up @@ -636,9 +635,6 @@ cp -a %{SOURCE17} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{chromium_
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
cp -a %{SOURCE18} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{chromium_name}.png

# Install the master_preferences file
install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/%{chromium_name}/

mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE4}

Expand Down Expand Up @@ -670,7 +666,6 @@ install -Dp -m 0644 %{SOURCE24} %{buildroot}%{_user_tmpfilesdir}/%{modulename}-d
# Config
%config %{_sysconfdir}/%{chromium_name}/%{chromium_name}.conf
%config %{_sysconfdir}/%{chromium_name}/%{chromium_name}.conf.d/
%config %{_sysconfdir}/%{chromium_name}/master_preferences
%config %{_sysconfdir}/%{chromium_name}/policies/
# System entries
%{_datadir}/applications/%{chromium_name}.desktop
Expand Down

This file was deleted.

6 changes: 3 additions & 3 deletions patches/trivalent/add-dark-mode-toolbar-toggle.patch
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ index d637eecb9e..621b51f79c 100644
#if BUILDFLAG(ENABLE_PRINTING)
case IDC_BASIC_PRINT:
base::RecordAction(base::UserMetricsAction("Accel_Advanced_Print"));
@@ -1570,6 +1574,7 @@ void BrowserCommandController::InitCommandState() {
@@ -1687,6 +1691,7 @@ void BrowserCommandController::InitCommandState() {
command_updater_.UpdateCommandEnabled(
IDC_SHOW_HISTORY_CLUSTERS_SIDE_PANEL,
(!guest_session && !profile()->IsSystemProfile()));
IDC_SHOW_TABS_FROM_OTHER_DEVICES_SIDE_PANEL,
TabsFromOtherDevicesSidePanelCoordinator::IsSupported(profile()));
+ command_updater_.UpdateCommandEnabled(IDC_WEBSITE_DARKMODE, true);
command_updater_.UpdateCommandEnabled(IDC_SHOW_DOWNLOADS, true);
command_updater_.UpdateCommandEnabled(IDC_SHOW_COMMENTS_SIDE_PANEL, true);
Expand Down
32 changes: 16 additions & 16 deletions patches/trivalent/add-hide-profile-icon-feature.patch
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,30 @@ index 45501ce4b4..dffd87c1e2 100644
BASE_FEATURE(kAllowEyeDropperWGCScreenCapture,
#if BUILDFLAG(IS_WIN)
diff --git a/chrome/browser/ui/ui_features.h b/chrome/browser/ui/ui_features.h
index 43f876760f..d1a60b37ab 100644
index ec4e5c2d2b..b276e1a066 100644
--- a/chrome/browser/ui/ui_features.h
+++ b/chrome/browser/ui/ui_features.h
@@ -20,6 +20,8 @@ namespace features {
@@ -19,6 +19,8 @@ namespace features {
// All features in alphabetical order. The features should be documented
// alongside the definition of their values in the .cc file.

+BASE_DECLARE_FEATURE(kHideProfileIcon);
+
BASE_DECLARE_FEATURE(kAllowEyeDropperWGCScreenCapture);

BASE_DECLARE_FEATURE(kBrowserWidgetCacheThemeService);
BASE_DECLARE_FEATURE(kCreateNewTabGroupAppMenuTopLevel);
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.cc b/chrome/browser/ui/views/toolbar/toolbar_view.cc
index d1519e7f3782a..548be223ca340 100644
index f4a09082bd..f129849413 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -481,7 +481,9 @@ void ToolbarView::Init() {
// DevTools profiles are OffTheRecord, so hide it there.
show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() ||
browser_->profile()->IsGuestSession() ||
- browser_->profile()->IsRegularProfile();
+ (browser_->profile()->IsRegularProfile() &&
+ !base::FeatureList::IsEnabled(
+ features::kHideProfileIcon));
@@ -591,7 +591,9 @@ void ToolbarView::Init() {
// DevTools profiles are OffTheRecord, so hide it there.
show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() ||
browser_->profile()->IsGuestSession() ||
- browser_->profile()->IsRegularProfile();
+ (browser_->profile()->IsRegularProfile() &&
+ !base::FeatureList::IsEnabled(
+ features::kHideProfileIcon));
#endif
avatar_->SetVisible(show_avatar_toolbar_button);

avatar_->SetVisible(show_avatar_toolbar_button);
}
8 changes: 4 additions & 4 deletions patches/trivalent/branding/trivalent-faq-page.patch
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ index d347c428ac..29faea895d 100644
}
}
diff --git a/chrome/browser/ui/webui/chrome_web_ui_configs.cc b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
index 30dddd61a2..08ebe4e6c0 100644
index 9daef52054..4ea0bb0a42 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc
@@ -53,6 +53,7 @@
#include "chrome/browser/ui/webui/signin_internals_ui.h"
@@ -55,6 +55,7 @@
#include "chrome/browser/ui/webui/subresource_filter/subresource_filter_internals_ui.h"
#include "chrome/browser/ui/webui/sync_internals/sync_internals_ui.h"
#include "chrome/browser/ui/webui/translate_internals/translate_internals_ui.h"
+#include "chrome/browser/ui/webui/trivalent_faq.h"
#include "chrome/browser/ui/webui/usb_internals/usb_internals_ui.h"
#include "chrome/browser/ui/webui/version/version_ui.h"
#include "components/enterprise/buildflags/buildflags.h"
@@ -290,6 +291,7 @@ void RegisterChromeWebUIConfigs() {
@@ -298,6 +299,7 @@ void RegisterChromeWebUIConfigs() {
map.AddWebUIConfig(std::make_unique<SiteEngagementUIConfig>());
map.AddWebUIConfig(std::make_unique<SyncInternalsUIConfig>());
map.AddWebUIConfig(std::make_unique<TranslateInternalsUIConfig>());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2024-2025 The Trivalent Authors
Copyright 2024-2026 The Trivalent Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -11,12 +11,12 @@ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e
See the License for the specific language governing permissions and limitations under the License.
---
diff --git a/chrome/browser/ui/ui_features.cc b/chrome/browser/ui/ui_features.cc
index 6db4237015..eeabb6f749 100644
index 885ed2375b..3bb0fd7a57 100644
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -178,11 +178,7 @@ bool IsTabGroupHoverCardsEnabled() {
@@ -171,11 +171,7 @@ bool IsTabGroupHoverCardsEnabled() {
// Enables preview images in tab-hover cards.
// https://crbug.com/928954
// https://crbug.com/41439486
BASE_FEATURE(kTabHoverCardImages,
-#if BUILDFLAG(IS_MAC)
base::FEATURE_DISABLED_BY_DEFAULT
Expand Down
50 changes: 27 additions & 23 deletions patches/trivalent/dns-providers.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e
See the License for the specific language governing permissions and limitations under the License.
---
diff --git a/net/dns/public/doh_provider_entry.cc b/net/dns/public/doh_provider_entry.cc
index 386c76b3c8..eaaec51147 100644
index f48d26044b..33f6166877 100644
--- a/net/dns/public/doh_provider_entry.cc
+++ b/net/dns/public/doh_provider_entry.cc
@@ -95,7 +95,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -98,7 +98,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
"https://doh.cleanbrowsing.org/doh/family-filter{?dns}",
/*ui_name=*/"CleanBrowsing (Family Filter)",
/*privacy_policy=*/"https://cleanbrowsing.org/privacy",
Expand All @@ -23,7 +23,7 @@ index 386c76b3c8..eaaec51147 100644
/*display_countries=*/{},
},
{
@@ -119,8 +119,8 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -121,8 +121,8 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
{"1.1.1.1", "1.0.0.1", "2606:4700:4700::1111",
"2606:4700:4700::1001"},
/*dns_over_tls_hostnames=*/
Expand All @@ -34,12 +34,12 @@ index 386c76b3c8..eaaec51147 100644
/*ui_name=*/"Cloudflare (1.1.1.1)",
"https://developers.cloudflare.com/1.1.1.1/privacy/"
/*privacy_policy=*/"public-dns-resolver/",
@@ -130,27 +130,100 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -132,24 +132,97 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
{
"CloudflareFamily",
MAKE_BASE_FEATURE_WITH_STATIC_STORAGE(
- DohProviderCloudflareFamily, base::FEATURE_DISABLED_BY_DEFAULT),
+ DohProviderCloudflareFamily, base::FEATURE_ENABLED_BY_DEFAULT),
MAKE_STATIC_STORAGE_BASE_FEATURE(kDohProviderCloudflareFamily,
- base::FEATURE_DISABLED_BY_DEFAULT),
+ base::FEATURE_ENABLED_BY_DEFAULT),
{"1.1.1.3", "1.0.0.3", "2606:4700:4700::1113",
"2606:4700:4700::1003"},
{"family.cloudflare-dns.com"},
Expand All @@ -53,20 +53,18 @@ index 386c76b3c8..eaaec51147 100644
},
{
"CloudflareSecurity",
MAKE_BASE_FEATURE_WITH_STATIC_STORAGE(
DohProviderCloudflareSecurity,
- base::FEATURE_DISABLED_BY_DEFAULT),
+ base::FEATURE_ENABLED_BY_DEFAULT),
MAKE_STATIC_STORAGE_BASE_FEATURE(kDohProviderCloudflareSecurity,
- base::FEATURE_DISABLED_BY_DEFAULT),
+ base::FEATURE_ENABLED_BY_DEFAULT),
{"1.1.1.2", "1.0.0.2", "2606:4700:4700::1112",
"2606:4700:4700::1002"},
{"security.cloudflare-dns.com"},
"https://security.cloudflare-dns.com/dns-query",
- /*ui_name=*/"",
+ /*ui_name=*/"Cloudflare Security (1.1.1.2)",
/*privacy_policy=*/"",
+ /*privacy_policy=*/"",
+ /*display_globally=*/true,
+ /*display_countries=*/{},
+ },
+ },
+ // Source for Control D IP addresses and hostnames/URLs: https://controld.com/free-dns
+ {
+ "ControlD",
Expand Down Expand Up @@ -135,12 +133,10 @@ index 386c76b3c8..eaaec51147 100644
+ {"76.76.2.5", "76.76.10.5", "2606:1a40::5", "2606:1a40:1::5", "76.76.2.11", "2606:1a40::11"},
+ {"p5.freedns.controld.com"},
+ "https://freedns.controld.com/p5",
+ /*ui_name=*/"",
+ /*privacy_policy=*/"",
/*ui_name=*/"",
/*privacy_policy=*/"",
/*display_globally=*/false,
/*display_countries=*/{},
},
@@ -203,10 +276,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -204,10 +277,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
"https://app-eu1.hubspotdocuments.com/documents/142290803/view/"
"1331719984?accessId=b505d9",
/*display_globally=*/false,
Expand All @@ -152,7 +148,7 @@ index 386c76b3c8..eaaec51147 100644
/*dns_over_https_server_ip_strs=*/
{"86.54.11.1", "86.54.11.201", "2a13:1001::86:54:11:1",
"2a13:1001::86:54:11:201"}},
@@ -234,7 +304,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -235,7 +305,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
/*ui_name=*/"Google (Public DNS)",
"https://developers.google.com/speed/public-dns/"
/*privacy_policy=*/"privacy",
Expand All @@ -161,7 +157,7 @@ index 386c76b3c8..eaaec51147 100644
/*display_countries=*/{},
},
{
@@ -284,7 +354,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -285,7 +355,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
/*ui_name=*/"NextDNS",
/*privacy_policy=*/"https://nextdns.io/privacy",
/*display_globally=*/false,
Expand All @@ -170,7 +166,7 @@ index 386c76b3c8..eaaec51147 100644
},
{
"OpenDNS",
@@ -297,7 +367,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -298,7 +368,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
/*ui_name=*/"OpenDNS",
"https://www.cisco.com/c/en/us/about/legal/"
/*privacy_policy=*/"privacy-full.html",
Expand All @@ -179,7 +175,14 @@ index 386c76b3c8..eaaec51147 100644
/*display_countries=*/{},
},
{
@@ -346,7 +416,7 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
@@ -341,13 +411,13 @@ const DohProviderEntry::List& DohProviderEntry::GetList() {
{
"Quad9Secure",
MAKE_STATIC_STORAGE_BASE_FEATURE(kDohProviderQuad9Secure,
- base::FEATURE_DISABLED_BY_DEFAULT),
+ base::FEATURE_ENABLED_BY_DEFAULT),
{"9.9.9.9", "149.112.112.112", "2620:fe::fe", "2620:fe::9"},
/*dns_over_tls_hostnames=*/{"dns.quad9.net", "dns9.quad9.net"},
"https://dns.quad9.net/dns-query",
/*ui_name=*/"Quad9 (9.9.9.9)",
/*privacy_policy=*/"https://www.quad9.net/home/privacy/",
Expand All @@ -188,3 +191,4 @@ index 386c76b3c8..eaaec51147 100644
/*display_countries=*/{},
},
{

8 changes: 4 additions & 4 deletions patches/trivalent/enable-vertical-tabs-exposure.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e
See the License for the specific language governing permissions and limitations under the License.
---
diff --git a/chrome/browser/ui/tabs/features.cc b/chrome/browser/ui/tabs/features.cc
index faa16e19c8..11db930e93 100644
index 831ca49804..2c08b2fc2f 100644
--- a/chrome/browser/ui/tabs/features.cc
+++ b/chrome/browser/ui/tabs/features.cc
@@ -15,7 +15,7 @@ BASE_FEATURE(kTabGroupHome, base::FEATURE_DISABLED_BY_DEFAULT);
@@ -16,7 +16,7 @@ BASE_FEATURE(kTabGroupHome, base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kSessionRestoreShowThrobberOnVisible,
base::FEATURE_DISABLED_BY_DEFAULT);

-BASE_FEATURE(kVerticalTabs, base::FEATURE_DISABLED_BY_DEFAULT);
+BASE_FEATURE(kVerticalTabs, base::FEATURE_ENABLED_BY_DEFAULT);

BASE_FEATURE(kVerticalTabsLaunch, base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE_PARAM(bool,
BASE_FEATURE(kVerticalTabsLaunch,
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)

This file was deleted.

Loading