From 56d1a136ab1256d712cd1ee548bb36e028fdc92e Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 17 Dec 2025 12:07:35 +0600 Subject: [PATCH] patches: refresh for chromium 143.0.7499.146 --- patches/helium/core/exclude-irrelevant-flags.patch | 6 +++--- patches/helium/core/flags-setup.patch | 2 +- .../helium/core/search/fix-search-engine-icons.patch | 4 ++-- patches/helium/ui/clean-new-tab-page.patch | 11 ++++++----- patches/helium/ui/omnibox.patch | 6 +++--- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/patches/helium/core/exclude-irrelevant-flags.patch b/patches/helium/core/exclude-irrelevant-flags.patch index d41e8629..dd412958 100644 --- a/patches/helium/core/exclude-irrelevant-flags.patch +++ b/patches/helium/core/exclude-irrelevant-flags.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -13652,11 +13652,328 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13667,11 +13667,328 @@ const FeatureEntry kFeatureEntries[] = { // AboutFlagsHistogramTest unit test to verify this process). }; @@ -330,7 +330,7 @@ FlagsStateSingleton(const FlagsStateSingleton&) = delete; FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; ~FlagsStateSingleton() override = default; -@@ -13675,7 +13992,7 @@ class FlagsStateSingleton : public flags +@@ -13690,7 +14007,7 @@ class FlagsStateSingleton : public flags void RestoreDefaultState() { flags_state_ = @@ -339,7 +339,7 @@ } private: -@@ -13999,7 +14316,7 @@ base::span GetFeatur +@@ -14014,7 +14331,7 @@ base::span GetFeatur !entries_for_testing->empty()) { return *entries_for_testing; } diff --git a/patches/helium/core/flags-setup.patch b/patches/helium/core/flags-setup.patch index 9ff15922..9c31c5e3 100644 --- a/patches/helium/core/flags-setup.patch +++ b/patches/helium/core/flags-setup.patch @@ -15,7 +15,7 @@ #endif // USE_AURA #if defined(USE_AURA) -@@ -5207,11 +5207,13 @@ const FeatureEntry::FeatureVariation kPr +@@ -5222,11 +5222,13 @@ const FeatureEntry::FeatureVariation kPr // calculate and verify checksum. // // When adding a new choice, add it to the end of the list. diff --git a/patches/helium/core/search/fix-search-engine-icons.patch b/patches/helium/core/search/fix-search-engine-icons.patch index fc956d77..b93f283b 100644 --- a/patches/helium/core/search/fix-search-engine-icons.patch +++ b/patches/helium/core/search/fix-search-engine-icons.patch @@ -1,8 +1,8 @@ --- a/build/config/chrome_build.gni +++ b/build/config/chrome_build.gni -@@ -101,4 +101,4 @@ declare_args() { +@@ -92,4 +92,4 @@ declare_args() { # Whether to enable built-in branding assets (logos & marketing snippets) for # search providers in choice UIs. --enable_builtin_search_provider_assets = is_internal_chrome_branded +-enable_builtin_search_provider_assets = is_chrome_branded +enable_builtin_search_provider_assets = true diff --git a/patches/helium/ui/clean-new-tab-page.patch b/patches/helium/ui/clean-new-tab-page.patch index 01affb67..9305aadd 100644 --- a/patches/helium/ui/clean-new-tab-page.patch +++ b/patches/helium/ui/clean-new-tab-page.patch @@ -10,7 +10,7 @@ padding-top: var(--ntp-one-google-bar-height); --- a/chrome/browser/resources/new_tab_page/app.html +++ b/chrome/browser/resources/new_tab_page/app.html -@@ -1,91 +1,4 @@ +@@ -1,92 +1,4 @@ - @@ -68,7 +68,7 @@ - ?ntp-realbox-next-enabled="${this.ntpRealboxNextEnabled_}" - ?cycling-placeholders="${this.searchboxCyclingPlaceholders_}" - @searchbox-input-focus-changed="${this.onInputFocusChanged_}" -- ?ntp-next-features-enabled="${this.ntpNextFeaturesEnabled_}"> +- context-menu-glif-animation-state="${this.contextMenuGlifAnimationState_}"> - - ${this.showComposebox_ ? html` - +- @action-chip-click="${this.openComposebox_}" +- @action-chips-retrieval-state-changed="${this.onActionChipsRetrievalStateChanged_}"> - - ` : ''} - ${this.lazyRender_ ? html` @@ -102,7 +103,7 @@ ${this.lazyRender_ ? html` ${this.shortcutsEnabled_ ? html` ` : ''} @@ -157,7 +158,7 @@ diff --git a/patches/helium/ui/omnibox.patch b/patches/helium/ui/omnibox.patch index 3151ad44..c9f02c96 100644 --- a/patches/helium/ui/omnibox.patch +++ b/patches/helium/ui/omnibox.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc +++ b/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc -@@ -43,7 +43,7 @@ +@@ -42,7 +42,7 @@ namespace { // Value from the spec controlling appearance of the shadow. @@ -9,7 +9,7 @@ #if !defined(USE_AURA) -@@ -231,8 +231,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib +@@ -230,8 +230,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib LocationBarView* location_bar, bool forward_mouse_events) : contents_(contents), forward_mouse_events_(forward_mouse_events) { @@ -19,7 +19,7 @@ // Host the contents in its own View to simplify layout and customization. auto contents_host_builder = views::Builder() -@@ -299,10 +298,10 @@ int RoundedOmniboxResultsFrame::GetNonRe +@@ -298,10 +297,10 @@ int RoundedOmniboxResultsFrame::GetNonRe // static gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() {