Compare commits

...

9 Commits

Author SHA1 Message Date
wukko dfd5a4b8f8 revision: bump to 15 2025-08-04 23:00:24 +06:00
wukko 89ee3b3b14 helium/settings: fix section separators 2025-08-04 16:28:28 +06:00
wukko cfa6338be0 helium/core/eu-search: replace the settings subtitle 2025-08-04 16:28:06 +06:00
wukko fe8ffb61e4 helium/core/flags-setup: put helium flags on top 2025-08-04 16:27:43 +06:00
wukko af66427d7a helium/ui: clean incognito & guest ntp
- removed inactive 3rd party cookies toggle
- replaced incognito text with a helium variant
- removed learn more link from guest ntp
2025-08-02 16:32:23 +06:00
wukko 72be230adb revision: bump to 14 2025-07-31 13:09:07 +06:00
wukko 5973e33db0 helium/core: add a flag for disabling ECH 2025-07-31 12:58:13 +06:00
wukko ce3794932e patches: refresh for 138.0.7204.183 2025-07-31 12:10:12 +06:00
wukko c3c2cfdce5 Update to Chromium 138.0.7204.183 2025-07-30 20:49:41 +06:00
11 changed files with 170 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
138.0.7204.168
138.0.7204.183
@@ -0,0 +1,44 @@
--- a/chrome/browser/helium_flag_choices.h
+++ b/chrome/browser/helium_flag_choices.h
@@ -26,6 +26,8 @@ namespace helium {
{kChannelBeta, kChannelCommandLine, kChannelBeta},
};
+ constexpr const char kDisableEchCommandLine[] = "disable-ech";
+
} // namespace helium
#endif /* CHROME_BROWSER_HELIUM_FLAG_CHOICES_H_ */
--- a/chrome/browser/helium_flag_entries.h
+++ b/chrome/browser/helium_flag_entries.h
@@ -11,4 +11,9 @@
"Maximum frame rate for Energy Saver",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
kOsDesktop, MULTI_VALUE_TYPE(helium::kEnergySaverFrameRateChoices)},
+ {helium::kDisableEchCommandLine,
+ "Disable ECH (Encrypted Client Hello)",
+ "Disables TLS Encrypted Client Hello. Not recommended unless you live in an area with heavy Internet"
+ " censorship and ECH prevents websites from loading. Helium flag.",
+ kOsAll, SINGLE_VALUE_TYPE(helium::kDisableEchCommandLine)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/chrome/browser/ssl/ssl_config_service_manager.cc
+++ b/chrome/browser/ssl/ssl_config_service_manager.cc
@@ -10,6 +10,7 @@
#include <string_view>
#include <vector>
+#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/location.h"
@@ -232,6 +233,10 @@ network::mojom::SSLConfigPtr SSLConfigSe
config->ech_enabled = ech_enabled_.GetValue();
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-ech")) {
+ config->ech_enabled = false;
+ }
+
if (post_quantum_enabled_.IsManaged()) {
config->post_quantum_key_agreement_enabled =
post_quantum_enabled_.GetValue();
@@ -24,7 +24,7 @@
#define CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_
+ {helium::kEnergySaverFrameRateCommandLine,
+ "Maximum frame rate for Energy Saver",
+ "Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag",
+ "Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
+ kOsDesktop, MULTI_VALUE_TYPE(helium::kEnergySaverFrameRateChoices)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/chrome/browser/performance_manager/user_tuning/battery_saver_mode_manager.cc
@@ -87,7 +87,7 @@
+ kOsAll, MULTI_VALUE_TYPE(helium::kChannelChoices)},
{helium::kEnergySaverFrameRateCommandLine,
"Maximum frame rate for Energy Saver",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -281,6 +281,8 @@ static_library("browser") {
@@ -33,7 +33,7 @@
ui::VKEY_N},
--- a/chrome/browser/ui/views/accelerator_table.cc
+++ b/chrome/browser/ui/views/accelerator_table.cc
@@ -267,7 +267,7 @@ const AcceleratorMapping kDevToolsAccele
@@ -269,7 +269,7 @@ const AcceleratorMapping kDevToolsAccele
{ui::VKEY_J, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
IDC_DEV_TOOLS_CONSOLE},
{ui::VKEY_C, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
+7 -7
View File
@@ -1,19 +1,19 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4733,11 +4733,13 @@ const FeatureEntry::FeatureVariation kHi
@@ -4729,11 +4729,13 @@ const FeatureEntry::FeatureVariation kHi
// calculate and verify checksum.
//
// When adding a new choice, add it to the end of the list.
+#include "chrome/browser/helium_flag_choices.h"
#include "chrome/browser/ungoogled_flag_choices.h"
#include "chrome/browser/bromite_flag_choices.h"
#include "chrome/browser/ungoogled_platform_flag_choices.h"
#include "chrome/browser/existing_switch_flag_choices.h"
+#include "chrome/browser/helium_flag_choices.h"
const FeatureEntry kFeatureEntries[] = {
+#include "chrome/browser/helium_flag_entries.h"
#include "chrome/browser/ungoogled_flag_entries.h"
#include "chrome/browser/bromite_flag_entries.h"
#include "chrome/browser/ungoogled_platform_flag_entries.h"
#include "chrome/browser/existing_switch_flag_entries.h"
+#include "chrome/browser/helium_flag_entries.h"
// Include generated flags for flag unexpiry; see //docs/flag_expiry.md and
// //tools/flags/generate_unexpire_flags.py.
#include "build/chromeos_buildflags.h"
--- /dev/null
+++ b/chrome/browser/helium_flag_choices.h
@@ -0,0 +1,16 @@
@@ -28,7 +28,7 @@
- regional_capabilities->IsInEeaCountry()
- ? IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE
- : IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE_NON_EEA);
+ IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE);
+ IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE_HELIUM);
html_source->AddLocalizedString(
"saveGuestChoiceText", IDS_SEARCH_ENGINE_CHOICE_GUEST_SESSION_CHECKBOX);
@@ -44,3 +44,16 @@
// The `HasSearchEngineCountryListOverride()` check is here for compatibility
// with the way EEA presence was checked from `search_engines`. But it should
// logically be done only when the EEA presence is checked specifically for
--- a/components/search_engine_choice_strings.grdp
+++ b/components/search_engine_choice_strings.grdp
@@ -98,6 +98,10 @@
These search engines are popular in your region
</message>
+ <message name="IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE_HELIUM" desc="This is the body text of a dialog where the user can change their default search engine. This string explains that the list of search engines is randomized (not in order of recommendation).">
+ This list of search engines is shown in random order.
+ </message>
+
<message name="IDS_SEARCH_ENGINE_CHOICE_SETTINGS_ENTRY_POINT_SUBTITLE" desc="This string is body text of a Chrome setting that lets a user select the search engine that they want to use. (A search engine provides answers to search queries; this is different from a browser, which displays web pages. A search engine powers many experiences within a browser.) The string explains how a search engine will impact their experience in Chrome. The “Learn more” link opens a help center article about the default search engine.">
The search engine you choose will be used for features like searching from the address bar and from images on web pages.
</message>
@@ -0,0 +1,28 @@
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html
@@ -11,14 +11,7 @@
</if>
<if expr="not is_chromeos">
<template is="dom-if" if="[[captionSettingsOpensExternally_]]">
- <template is="dom-if" if="[[enableLiveCaption_]]">
- <settings-live-caption prefs="{{prefs}}"
- languages="[[languages]]"
- language-helper="[[languageHelper]]">
- </settings-live-caption>
- </template>
<cr-link-row id="captions"
- class="hr"
label="$i18n{captionsPreferencesTitle}"
sub-label="$i18n{captionsPreferencesSubtitle}"
on-click="onCaptionsClick_"
--- a/chrome/browser/resources/settings/languages_page/spell_check_page.html
+++ b/chrome/browser/resources/settings/languages_page/spell_check_page.html
@@ -57,7 +57,7 @@
<settings-animated-pages id="pages" section="spellCheck"
focus-config="[[focusConfig_]]">
<div route-path="default">
- <settings-toggle-button id="enableSpellcheckingToggle" class="hr"
+ <settings-toggle-button id="enableSpellcheckingToggle"
label="$i18n{offerToEnableSpellCheck}"
sub-label="[[getSpellCheckSubLabel_(spellCheckLanguages_)]]"
pref="{{prefs.browser.enable_spellchecking}}"
@@ -0,0 +1,69 @@
--- a/chrome/browser/resources/new_tab_page_incognito_guest/guest_tab.html
+++ b/chrome/browser/resources/new_tab_page_incognito_guest/guest_tab.html
@@ -10,8 +10,6 @@
<div class="content">
<h1>$i18n{guestTabHeading}</h1>
<p>$i18n{guestTabDescription}</p>
- <a class="learn-more-button" href="$i18n{learnMoreLink}"
- aria-label="$i18nPolymer{learnMoreA11yLabel}">$i18n{learnMore}</a>
</div>
</body>
</html>
--- a/chrome/browser/resources/new_tab_page_incognito_guest/incognito_tab.html
+++ b/chrome/browser/resources/new_tab_page_incognito_guest/incognito_tab.html
@@ -29,32 +29,6 @@ document.querySelector('#incognitothemec
<div class="bulletpoints first">$i18nRaw{incognitoTabFeatures}</div>
<div class="bulletpoints">$i18nRaw{incognitoTabWarning}</div>
</div>
- <div id="cookie-controls">
- <div id="cookie-controls-description">
- <div id="$i18n{cookieControlsHeader}">
- <svg viewBox="0 -960 960 960" $i18n{hideUserBypassIcon}
- aria-hidden="true">
- <path d="m637-425-62-62q4-38-23-65.5T487-576l-62-62q13-5 27-7.5t28-2.5q70 0 119 49t49 119q0 14-2.5 28t-8.5 27Zm133 133-52-52q36-28 65.5-61.5T833-480q-49-101-144.5-158.5T480-696q-26 0-51 3t-49 10l-58-58q38-15 77.5-21t80.5-6q143 0 261.5 77.5T912-480q-22 57-58.5 103.5T770-292Zm-2 202L638-220q-38 14-77.5 21t-80.5 7q-143 0-261.5-77.5T48-480q22-57 58-104t84-85L90-769l51-51 678 679-51 51ZM241-617q-35 28-65 61.5T127-480q49 101 144.5 158.5T480-264q26 0 51-3.5t50-9.5l-45-45q-14 5-28 7.5t-28 2.5q-70 0-119-49t-49-119q0-14 3.5-28t6.5-28l-81-81Zm287 89Zm-96 96Z"/>
- </svg>
- <em>$i18n{cookieControlsTitle}</em>
- </div>
- <span>$i18nRaw{cookieControlsDescription}</span>
- </div>
- <div $i18n{hideTooltipIcon}>
- <cr-tooltip-icon id="cookie-controls-tooltip-icon"
- icon-aria-label="$i18n{cookieControlsTitle}"
- icon-class="$i18n{cookieControlsToolTipIcon}"
- tooltip-text="$i18n{cookieControlsTooltipText}"
- role="link" style="cursor: pointer;">
- </cr-tooltip-icon>
- </div>
- <cr-toggle id="cookie-controls-toggle"
- aria-label="$i18n{cookieControlsTitle}"
- $i18n{hideBlockCookiesToggle}
- $i18n{cookieControlsToggleChecked}></cr-toggle>
- </div>
- <a class="learn-more-button" href="$i18n{learnMoreLink}"
- aria-label="$i18nPolymer{learnMoreA11yLabel}">$i18n{learnMore}</a>
</div>
<script type="module" src="incognito_tab.js"></script>
<!-- Lazy-load cr_elements to avoid performance penalty introduced by loading Polymer -->
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -277,7 +277,7 @@ void NTPResourceCache::CreateNewTabIncog
CookieControlsServiceFactory::GetForProfile(incognito_profile);
replacements["incognitoTabDescription"] =
- l10n_util::GetStringUTF8(IDS_NEW_TAB_OTR_SUBTITLE_WITH_READING_LIST);
+ l10n_util::GetStringUTF8(IDS_NEW_TAB_OTR_SUBTITLE_HELIUM);
privacy_sandbox::TrackingProtectionSettings* tracking_protection_settings =
TrackingProtectionSettingsFactory::GetForProfile(incognito_profile);
--- a/components/new_or_sad_tab_strings.grdp
+++ b/components/new_or_sad_tab_strings.grdp
@@ -158,6 +158,9 @@
Others who use this device won’t see your activity, so you can browse more privately. This won't change how data is collected by websites you visit and the services they use, including Google. Downloads and bookmarks will be saved.
</message>
</if>
+ <message name="IDS_NEW_TAB_OTR_SUBTITLE_HELIUM" desc="Subtitle of the Incognito new tab page, explaining to the user that the Incognito mode hides their browsing activity from other people using the same device, and what data is exempt from it.">
+ Helium will not save anything about your browsing in Incognito, but downloads and bookmarks will stick around. Your browsing won't leave any traces on this device, and other users won't be able to see your activity.
+ </message>
<message name="IDS_NEW_TAB_OTR_SUBTITLE_WITH_READING_LIST" desc="Subtitle of the Incognito new tab page, explaining to the user that the Incognito mode hides their browsing activity from other people using the same device. The second sentence clarifies that there are two important exceptions from this rule - downloaded files and added bookmarks will be persisted even after the Incognito session is closed." formatter_data="android_java">
Others who use this device won’t see your activity, so you can browse more privately. This won't change how data is collected by websites you visit and the services they use, including Google. Downloads, bookmarks and reading list items will be saved.
</message>
+3
View File
@@ -148,6 +148,7 @@ helium/core/flags-setup.patch
helium/core/add-low-power-framerate-flag.patch
helium/core/add-update-channel-flag.patch
helium/core/add-updater-preference.patch
helium/core/add-disable-ech-flag.patch
helium/settings/move-search-suggest.patch
helium/settings/remove-autofill.patch
@@ -159,6 +160,7 @@ helium/settings/remove-translate-section.patch
helium/settings/remove-safety-hub-entry-points.patch
helium/settings/reenable-update-status.patch
helium/settings/privacy-page-tweaks.patch
helium/settings/fix-section-separators.patch
helium/hop/setup.patch
helium/hop/disable-password-manager.patch
@@ -209,3 +211,4 @@ helium/ui/fix-pwa-toolbar.patch
helium/ui/top-container.patch
helium/ui/toolbar-avatar-button.patch
helium/ui/status-bubble.patch
helium/ui/clean-incognito-guest-ntp.patch
+1 -1
View File
@@ -1 +1 @@
13
15