Skip to content

Commit 107135c

Browse files
committed
patches: refresh for chromium 142
1 parent 9cfd581 commit 107135c

File tree

89 files changed

+673
-666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+673
-666
lines changed

patches/extra/brave/chrome-importer-files.patch

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
189189
+} // namespace
190190
--- /dev/null
191191
+++ b/chrome/common/importer/chrome_importer_utils.cc
192-
@@ -0,0 +1,241 @@
192+
@@ -0,0 +1,243 @@
193193
+/* Copyright (c) 2019 The Brave Authors, 2025 imput. All rights reserved.
194194
+ * This Source Code Form is subject to the terms of the Mozilla Public
195195
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
@@ -235,7 +235,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
235235
+ base::ReadFileToString(preference_path, &preference_content);
236236
+
237237
+ std::optional<base::Value::Dict> preference =
238-
+ base::JSONReader::ReadDict(preference_content);
238+
+ base::JSONReader::ReadDict(preference_content,
239+
+ base::JSON_PARSE_CHROMIUM_EXTENSIONS);
239240
+ if (!preference) {
240241
+ return std::nullopt;
241242
+ }
@@ -335,7 +336,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
335336
+ std::string local_state_content;
336337
+ base::ReadFileToString(local_state_path, &local_state_content);
337338
+ std::optional<base::Value::Dict> local_state_dict =
338-
+ base::JSONReader::ReadDict(local_state_content);
339+
+ base::JSONReader::ReadDict(local_state_content,
340+
+ base::JSON_PARSE_CHROMIUM_EXTENSIONS);
339341
+ if (!local_state_dict)
340342
+ return profiles;
341343
+
@@ -2733,7 +2735,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27332735
+#endif // BRAVE_UTILITY_IMPORTER_BRAVE_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
27342736
--- /dev/null
27352737
+++ b/chrome/utility/importer/chrome_importer.cc
2736-
@@ -0,0 +1,435 @@
2738+
@@ -0,0 +1,437 @@
27372739
+/* Copyright (c) 2019 The Brave Authors. All rights reserved.
27382740
+ * This Source Code Form is subject to the terms of the Mozilla Public
27392741
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
@@ -2822,7 +2824,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28222824
+ std::string local_state_content;
28232825
+ base::ReadFileToString(local_state_path, &local_state_content);
28242826
+ std::optional<base::Value::Dict> local_state =
2825-
+ base::JSONReader::ReadDict(local_state_content);
2827+
+ base::JSONReader::ReadDict(local_state_content,
2828+
+ base::JSON_PARSE_CHROMIUM_EXTENSIONS);
28262829
+ if (!local_state) {
28272830
+ return false;
28282831
+ }
@@ -3006,7 +3009,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30063009
+ base::ReadFileToString(copy_bookmark_file.copied_file_path(),
30073010
+ &bookmarks_content);
30083011
+ std::optional<base::Value::Dict> bookmark_dict =
3009-
+ base::JSONReader::ReadDict(bookmarks_content);
3012+
+ base::JSONReader::ReadDict(bookmarks_content,
3013+
+ base::JSON_PARSE_CHROMIUM_EXTENSIONS);
30103014
+ if (!bookmark_dict)
30113015
+ return;
30123016
+

patches/extra/brave/custom-importer.patch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
244244
}
245245
--- a/chrome/common/pref_names.h
246246
+++ b/chrome/common/pref_names.h
247-
@@ -4260,6 +4260,9 @@ inline constexpr char kServiceWorkerToCo
247+
@@ -4266,6 +4266,9 @@ inline constexpr char kServiceWorkerToCo
248248
inline constexpr char kSharedWorkerBlobURLFixEnabled[] =
249249
"worker.shared_worker_blob_url_fix_enabled";
250250

@@ -256,7 +256,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
256256
inline constexpr char kClearWindowNameForNewBrowsingContextGroup[] =
257257
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
258258
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
259-
@@ -1161,6 +1161,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
259+
@@ -1164,6 +1164,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
260260
settings_api::PrefType::kBoolean;
261261
(*s_allowlist)[::prefs::kImportDialogSearchEngine] =
262262
settings_api::PrefType::kBoolean;
@@ -275,15 +275,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
275275
#include "chrome/browser/ui/webui/settings/metrics_reporting_handler.h"
276276
#include "chrome/browser/ui/webui/settings/on_startup_handler.h"
277277
#include "chrome/browser/ui/webui/settings/password_manager_handler.h"
278-
@@ -202,6 +203,7 @@ void SettingsUI::RegisterProfilePrefs(
278+
@@ -201,6 +202,7 @@ void SettingsUI::RegisterProfilePrefs(
279279
registry->RegisterBooleanPref(prefs::kImportDialogHistory, true);
280280
registry->RegisterBooleanPref(prefs::kImportDialogSavedPasswords, true);
281281
registry->RegisterBooleanPref(prefs::kImportDialogSearchEngine, true);
282282
+ registry->RegisterBooleanPref(prefs::kImportDialogExtensions, true);
283283
}
284284

285285
SettingsUI::SettingsUI(content::WebUI* web_ui)
286-
@@ -231,7 +233,7 @@ SettingsUI::SettingsUI(content::WebUI* w
286+
@@ -230,7 +232,7 @@ SettingsUI::SettingsUI(content::WebUI* w
287287
AddSettingsPageUIHandler(std::make_unique<DownloadsHandler>(profile));
288288
AddSettingsPageUIHandler(std::make_unique<ExtensionControlHandler>());
289289
AddSettingsPageUIHandler(std::make_unique<FontHandler>(profile));
@@ -294,7 +294,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
294294
#if BUILDFLAG(IS_WIN)
295295
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
296296
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
297-
@@ -893,6 +893,8 @@ void AddImportDataStrings(content::WebUI
297+
@@ -900,6 +900,8 @@ void AddImportDataStrings(content::WebUI
298298
{"importHistory", IDS_SETTINGS_IMPORT_HISTORY_CHECKBOX},
299299
{"importFavorites", IDS_SETTINGS_IMPORT_FAVORITES_CHECKBOX},
300300
{"importPasswords", IDS_SETTINGS_IMPORT_PASSWORDS_CHECKBOX},
@@ -319,7 +319,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
319319
</div>
320320
--- a/chrome/browser/ui/BUILD.gn
321321
+++ b/chrome/browser/ui/BUILD.gn
322-
@@ -1203,6 +1203,10 @@ static_library("ui") {
322+
@@ -1237,6 +1237,10 @@ static_library("ui") {
323323
"webui/settings/accessibility_main_handler.h",
324324
"webui/settings/appearance_handler.cc",
325325
"webui/settings/appearance_handler.h",
@@ -330,7 +330,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
330330
"webui/settings/browser_lifetime_handler.cc",
331331
"webui/settings/browser_lifetime_handler.h",
332332
"webui/settings/captions_handler.cc",
333-
@@ -1355,6 +1359,13 @@ static_library("ui") {
333+
@@ -1391,6 +1395,13 @@ static_library("ui") {
334334
]
335335
}
336336

@@ -459,7 +459,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
459459
#include "components/mirroring/service/mirroring_service.h"
460460
#include "services/passage_embeddings/passage_embeddings_service.h"
461461
#include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck
462-
@@ -146,6 +148,13 @@ static_assert(BUILDFLAG(ENABLE_PRINTING)
462+
@@ -144,6 +146,13 @@ static_assert(BUILDFLAG(ENABLE_PRINTING)
463463

464464
namespace {
465465

@@ -473,7 +473,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
473473
auto RunFilePatcher(mojo::PendingReceiver<patch::mojom::FilePatcher> receiver) {
474474
return std::make_unique<patch::FilePatcherImpl>(std::move(receiver));
475475
}
476-
@@ -465,6 +474,7 @@ void RegisterMainThreadServices(mojo::Se
476+
@@ -456,6 +465,7 @@ void RegisterMainThreadServices(mojo::Se
477477
services.Add(ContentBookmarkParser);
478478

479479
#if !BUILDFLAG(IS_ANDROID)
@@ -583,7 +583,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
583583
// entire group has been collected and is ready to be written to the profile.
584584
--- a/chrome/app/generated_resources.grd
585585
+++ b/chrome/app/generated_resources.grd
586-
@@ -11122,6 +11122,15 @@ Check your passwords anytime in <ph name
586+
@@ -11171,6 +11171,15 @@ Check your passwords anytime in <ph name
587587
Microsoft Edge
588588
</message>
589589
</if>

patches/helium/core/add-component-l10n-support.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
namespace errors = extensions::manifest_errors;
5353
namespace keys = extensions::manifest_keys;
54-
@@ -113,6 +118,19 @@ std::optional<base::Value::Dict> LoadMes
54+
@@ -114,6 +119,19 @@ std::optional<base::Value::Dict> LoadMes
5555
return dictionary;
5656
}
5757

@@ -71,7 +71,7 @@
7171
// Localizes manifest value of string type for a given key.
7272
bool LocalizeManifestValue(const std::string& key,
7373
const extensions::MessageBundle& messages,
74-
@@ -360,13 +378,16 @@ bool LocalizeManifest(const extensions::
74+
@@ -361,13 +379,16 @@ bool LocalizeManifest(const extensions::
7575
bool LocalizeExtension(const base::FilePath& extension_path,
7676
base::Value::Dict* manifest,
7777
GzippedMessagesPermission gzip_permission,
@@ -90,7 +90,7 @@
9090
gzip_permission, error));
9191

9292
if (!message_bundle && !error->empty())
93-
@@ -504,6 +525,42 @@ extensions::MessageBundle* LoadMessageCa
93+
@@ -505,6 +526,42 @@ extensions::MessageBundle* LoadMessageCa
9494
return extensions::MessageBundle::Create(catalogs, error);
9595
}
9696

patches/helium/core/add-component-managed-schema-support.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
22
+++ b/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
3-
@@ -94,9 +94,11 @@ class ManagedValueStoreCache::ExtensionT
3+
@@ -97,9 +97,11 @@ class ManagedValueStoreCache::ExtensionT
44

55
// Loads the schemas of the |extensions| and passes a ComponentMap to
66
// Register().
@@ -13,7 +13,7 @@
1313

1414
raw_ptr<Profile> profile_;
1515
policy::PolicyDomain policy_domain_;
16-
@@ -175,6 +177,22 @@ bool ManagedValueStoreCache::ExtensionTr
16+
@@ -178,6 +180,22 @@ bool ManagedValueStoreCache::ExtensionTr
1717
return extension->manifest()->FindPath(manifest_keys::kStorageManagedSchema);
1818
}
1919

@@ -36,7 +36,7 @@
3636
// static
3737
void ManagedValueStoreCache::ExtensionTracker::LoadSchemasOnFileTaskRunner(
3838
ExtensionSet extensions,
39-
@@ -199,14 +217,21 @@ void ManagedValueStoreCache::ExtensionTr
39+
@@ -202,14 +220,21 @@ void ManagedValueStoreCache::ExtensionTr
4040

4141
content::GetUIThreadTaskRunner({})->PostTask(
4242
FROM_HERE, base::BindOnce(&ExtensionTracker::Register, self,

patches/helium/core/add-default-browser-reject-button.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/common/pref_names.h
22
+++ b/chrome/common/pref_names.h
3-
@@ -1416,6 +1416,11 @@ inline constexpr char kExtensionCommands
3+
@@ -1407,6 +1407,11 @@ inline constexpr char kExtensionCommands
44
inline constexpr char kPluginsAlwaysOpenPdfExternally[] =
55
"plugins.always_open_pdf_externally";
66

@@ -25,7 +25,7 @@
2525
registry->RegisterIntegerPref(prefs::kPdfInfoBarTimesShown, 0);
2626
--- a/chrome/browser/ui/startup/infobar_utils.cc
2727
+++ b/chrome/browser/ui/startup/infobar_utils.cc
28-
@@ -208,6 +208,11 @@ void AddInfoBarsIfNecessary(Browser* bro
28+
@@ -211,6 +211,11 @@ void AddInfoBarsIfNecessary(BrowserWindo
2929
return;
3030
}
3131

@@ -39,9 +39,9 @@
3939
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
4040
--- a/components/infobars/core/confirm_infobar_delegate.h
4141
+++ b/components/infobars/core/confirm_infobar_delegate.h
42-
@@ -81,6 +81,8 @@ class ConfirmInfoBarDelegate : public in
43-
// custom layout to show the link text before the button.
44-
virtual bool ShouldShowLinkBeforeButton() const;
42+
@@ -84,6 +84,8 @@ class ConfirmInfoBarDelegate : public in
43+
// on the infobar.
44+
virtual int GetLinkSpacingWhenPositionedBeforeButton() const;
4545

4646
+ virtual bool OkButtonShouldAlwaysLead() const;
4747
+
@@ -50,8 +50,8 @@
5050
// Defaults to true.
5151
--- a/components/infobars/core/confirm_infobar_delegate.cc
5252
+++ b/components/infobars/core/confirm_infobar_delegate.cc
53-
@@ -67,6 +67,10 @@ bool ConfirmInfoBarDelegate::ShouldShowL
54-
return false;
53+
@@ -71,6 +71,10 @@ int ConfirmInfoBarDelegate::GetLinkSpaci
54+
return 0;
5555
}
5656

5757
+bool ConfirmInfoBarDelegate::OkButtonShouldAlwaysLead() const {
@@ -119,7 +119,7 @@
119119
raw_ptr<Profile> profile_;
120120
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
121121
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
122-
@@ -123,7 +123,9 @@ void ConfirmInfoBar::Layout(PassKey) {
122+
@@ -126,7 +126,9 @@ void ConfirmInfoBar::Layout(PassKey) {
123123
}
124124

125125
if constexpr (!views::PlatformStyle::kIsOkButtonLeading) {

patches/helium/core/add-disable-ech-flag.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "base/containers/to_vector.h"
3232
#include "base/feature_list.h"
3333
#include "base/functional/bind.h"
34-
@@ -249,6 +250,10 @@ network::mojom::SSLConfigPtr SSLConfigSe
34+
@@ -263,6 +264,10 @@ network::mojom::SSLConfigPtr SSLConfigSe
3535

3636
config->ech_enabled = ech_enabled_.GetValue();
3737

patches/helium/core/add-helium-versioning.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
background-color: var(--background-color);
163163
--- a/chrome/app/chrome_main_delegate.cc
164164
+++ b/chrome/app/chrome_main_delegate.cc
165-
@@ -358,15 +358,15 @@ bool HandleCreditsSwitch(const base::Com
165+
@@ -367,15 +367,15 @@ bool HandleCreditsSwitch(const base::Com
166166
bool HandleVersionSwitches(const base::CommandLine& command_line) {
167167
#if !BUILDFLAG(IS_MAC)
168168
if (command_line.HasSwitch(switches::kProductVersion)) {

patches/helium/core/add-middle-click-autoscroll-flag.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
BASE_FEATURE(kRemoveClientHints, "RemoveClientHints", base::FEATURE_DISABLED_BY_DEFAULT);
5050
--- a/third_party/blink/renderer/core/exported/web_view_impl.cc
5151
+++ b/third_party/blink/renderer/core/exported/web_view_impl.cc
52-
@@ -1902,9 +1902,9 @@ void WebView::ApplyWebPreferences(const
52+
@@ -1905,9 +1905,9 @@ void WebView::ApplyWebPreferences(const
5353
prefs.default_maximum_page_scale_factor);
5454
#endif
5555

patches/helium/core/add-native-bangs.patch

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678

679679
--- a/components/search_engines/template_url.cc
680680
+++ b/components/search_engines/template_url.cc
681-
@@ -1685,6 +1685,8 @@ bool TemplateURL::IsBetterThanConflictin
681+
@@ -1693,6 +1693,8 @@ bool TemplateURL::IsBetterThanConflictin
682682
: base::Time(),
683683
// Prefer engines that CANNOT be auto-replaced.
684684
!engine->safe_for_autoreplace(),
@@ -689,7 +689,7 @@
689689
// Favor prepopulated engines over other auto-generated engines.
690690
--- a/components/search_engines/template_url.h
691691
+++ b/components/search_engines/template_url.h
692-
@@ -842,6 +842,8 @@ class TemplateURL {
692+
@@ -847,6 +847,8 @@ class TemplateURL {
693693
starter_pack_id() == template_url_starter_pack_data::kAiMode;
694694
}
695695

@@ -724,7 +724,7 @@
724724
COMPONENT_EXPORT(HELIUM) GURL GetDummyURL();
725725
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
726726
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
727-
@@ -1959,6 +1959,9 @@ void AddPrivacyStrings(content::WebUIDat
727+
@@ -1973,6 +1973,9 @@ void AddPrivacyStrings(content::WebUIDat
728728
{"heliumServicesToggle", IDS_SETTINGS_HELIUM_SERVICES_TOGGLE},
729729
{"heliumServicesToggleDescription",
730730
IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION},
@@ -736,7 +736,7 @@
736736
{"heliumExtProxyToggleDescription",
737737
--- a/chrome/app/settings_strings.grdp
738738
+++ b/chrome/app/settings_strings.grdp
739-
@@ -1937,6 +1937,12 @@
739+
@@ -1945,6 +1945,12 @@
740740
<message name="IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of downloading and proxying extensions">
741741
When enabled, Helium will proxy extension downloads and updates to protect your privacy. When disabled, downloading and updating extensions will not work.
742742
</message>
@@ -751,7 +751,7 @@
751751
</message>
752752
--- a/chrome/browser/resources/settings/privacy_page/services_page.html
753753
+++ b/chrome/browser/resources/settings/privacy_page/services_page.html
754-
@@ -49,6 +49,11 @@
754+
@@ -50,6 +50,11 @@
755755
label="$i18n{heliumExtProxyToggle}"
756756
sub-label="$i18n{heliumExtProxyToggleDescription}">
757757
</settings-toggle-button>
@@ -765,7 +765,7 @@
765765
</template>
766766
--- a/chrome/browser/ui/browser_ui_prefs.cc
767767
+++ b/chrome/browser/ui/browser_ui_prefs.cc
768-
@@ -204,6 +204,7 @@ void RegisterBrowserUserPrefs(user_prefs
768+
@@ -208,6 +208,7 @@ void RegisterBrowserUserPrefs(user_prefs
769769

770770
{
771771
registry->RegisterBooleanPref(prefs::kHeliumServicesEnabled, true);
@@ -775,7 +775,7 @@
775775
registry->RegisterBooleanPref(prefs::kHeliumDidOnboarding, false);
776776
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
777777
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
778-
@@ -356,6 +356,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
778+
@@ -357,6 +357,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
779779
settings_api::PrefType::kBoolean;
780780
(*s_allowlist)[::prefs::kHeliumExtProxyEnabled] =
781781
settings_api::PrefType::kBoolean;
@@ -796,9 +796,9 @@
796796
} // namespace prefs
797797

798798
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
799-
--- a/components/omnibox/browser/omnibox_edit_model.cc
800-
+++ b/components/omnibox/browser/omnibox_edit_model.cc
801-
@@ -826,6 +826,17 @@ bool OmniboxEditModel::AcceptKeyword(
799+
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
800+
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
801+
@@ -840,6 +840,17 @@ bool OmniboxEditModel::AcceptKeyword(
802802

803803
controller_->StopAutocomplete(/*clear_result=*/false);
804804

@@ -816,7 +816,7 @@
816816
is_keyword_hint_ = false;
817817
keyword_mode_entry_method_ = entry_method;
818818
if (original_user_text_with_keyword_.empty()) {
819-
@@ -868,9 +879,6 @@ bool OmniboxEditModel::AcceptKeyword(
819+
@@ -882,9 +893,6 @@ bool OmniboxEditModel::AcceptKeyword(
820820
}
821821

822822
base::RecordAction(base::UserMetricsAction("AcceptedKeywordHint"));
@@ -826,7 +826,7 @@
826826
EmitEnteredKeywordModeHistogram(entry_method, turl, !user_text_.empty());
827827
return true;
828828
}
829-
@@ -1522,7 +1530,13 @@ void OmniboxEditModel::InternalSetUserTe
829+
@@ -1543,7 +1551,13 @@ void OmniboxEditModel::InternalSetUserTe
830830

831831
std::u16string OmniboxEditModel::MaybeStripKeyword(
832832
const std::u16string& text) const {
@@ -841,9 +841,9 @@
841841
? AutocompleteInput::SplitReplacementStringFromInput(text, false)
842842
: text;
843843
}
844-
@@ -2780,10 +2794,12 @@ bool OmniboxEditModel::MaybeAcceptKeywor
845-
if (!AllowKeywordSpaceTriggering())
844+
@@ -2756,10 +2770,12 @@ bool OmniboxEditModel::MaybeAcceptKeywor
846845
return false;
846+
}
847847

848848
+ std::u16string new_keyword = base::ToLowerASCII(
849849
+ AutocompleteInput::SplitKeywordFromInput(new_text, false, nullptr));

patches/helium/core/add-update-channel-flag.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
9191
--- a/chrome/browser/BUILD.gn
9292
+++ b/chrome/browser/BUILD.gn
93-
@@ -300,6 +300,8 @@ static_library("browser") {
93+
@@ -264,6 +264,8 @@ static_library("browser") {
9494
"btm/btm_browser_signin_detector_factory.h",
9595
"btm/stateful_bounce_counter.cc",
9696
"btm/stateful_bounce_counter.h",

0 commit comments

Comments
 (0)