From 34fb66f3cb48a6a068f368f8f3d13a69955aead3 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 19 Sep 2025 05:13:00 +0600 Subject: [PATCH] patches: refresh for 140.0.7339.185 --- patches/helium/core/flags-setup.patch | 2 +- patches/helium/ui/improve-flags-webui.patch | 6 +++--- patches/helium/ui/tabs.patch | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/helium/core/flags-setup.patch b/patches/helium/core/flags-setup.patch index 7c4bc2e9..4217cc7b 100644 --- a/patches/helium/core/flags-setup.patch +++ b/patches/helium/core/flags-setup.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -4926,11 +4926,13 @@ constexpr char kWebiumFlag[] = "webium"; +@@ -4927,11 +4927,13 @@ constexpr char kWebiumFlag[] = "webium"; // calculate and verify checksum. // // When adding a new choice, add it to the end of the list. diff --git a/patches/helium/ui/improve-flags-webui.patch b/patches/helium/ui/improve-flags-webui.patch index 75e963c1..45627e34 100644 --- a/patches/helium/ui/improve-flags-webui.patch +++ b/patches/helium/ui/improve-flags-webui.patch @@ -1,6 +1,6 @@ --- a/components/webui/flags/resources/app.css +++ b/components/webui/flags/resources/app.css -@@ -105,8 +106,8 @@ button { +@@ -106,8 +106,8 @@ button { } :focus-visible { @@ -11,7 +11,7 @@ } @media (forced-colors: active) { -@@ -159,7 +160,7 @@ button { +@@ -160,7 +160,7 @@ button { #header .flex-container { box-sizing: border-box; margin: 0 auto; @@ -20,7 +20,7 @@ } #header .flex-container .flex:first-child { -@@ -185,14 +186,18 @@ button { +@@ -186,14 +186,18 @@ button { background: var(--input-background) url(chrome://resources/images/icon_search.svg) no-repeat 8px 50%; border: 1px solid transparent; diff --git a/patches/helium/ui/tabs.patch b/patches/helium/ui/tabs.patch index 3d812c17..28e941d8 100644 --- a/patches/helium/ui/tabs.patch +++ b/patches/helium/ui/tabs.patch @@ -74,7 +74,7 @@ float bottom_left_corner_radius = content_corner_radius; --- a/chrome/browser/ui/views/tabs/tab.cc +++ b/chrome/browser/ui/views/tabs/tab.cc -@@ -1150,7 +1150,7 @@ void Tab::UpdateIconVisibility() { +@@ -1157,7 +1157,7 @@ void Tab::UpdateIconVisibility() { // left that needs to be considered. const int close_button_width = GetLayoutConstant(TAB_CLOSE_BUTTON_SIZE) + GetLayoutConstant(TAB_AFTER_TITLE_PADDING); @@ -83,7 +83,7 @@ available_width >= (touch_ui ? kTouchMinimumContentsWidthForCloseButtons : kMinimumContentsWidthForCloseButtons); -@@ -1198,6 +1198,10 @@ void Tab::UpdateIconVisibility() { +@@ -1205,6 +1205,10 @@ void Tab::UpdateIconVisibility() { large_enough_for_close_button; if (base::CommandLine::ForCurrentProcess()->HasSwitch("hide-tab-close-buttons")) showing_close_button_ = false;