From be47d96c1f9e3cc9fbe147a6326f5d8f0675c6a6 Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 13 Nov 2025 03:00:09 +0600 Subject: [PATCH] patches: refresh for 142.0.7444.162 --- patches/helium/core/clean-context-menu.patch | 8 ++++---- patches/upstream-fixes/fix-macos-widget-rect.patch | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/helium/core/clean-context-menu.patch b/patches/helium/core/clean-context-menu.patch index 7a5bb5b7..182a1b58 100644 --- a/patches/helium/core/clean-context-menu.patch +++ b/patches/helium/core/clean-context-menu.patch @@ -12,7 +12,7 @@ if (editable) { AppendOtherEditableItems(); } -@@ -2214,7 +2209,6 @@ void RenderViewContextMenu::AppendPageIt +@@ -2213,7 +2208,6 @@ void RenderViewContextMenu::AppendPageIt IDS_CONTENT_CONTEXT_SAVEPAGEAS); menu_model_.AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT); AppendLiveCaptionItem(); @@ -20,7 +20,7 @@ if (IsRegionSearchEnabled()) { AppendRegionSearchItem(); } -@@ -2343,8 +2337,7 @@ void RenderViewContextMenu::AppendMediaR +@@ -2342,8 +2336,7 @@ void RenderViewContextMenu::AppendMediaR void RenderViewContextMenu::AppendReadAnythingItem() { // Show Read Anything option if it's not already open in the side panel. @@ -30,7 +30,7 @@ menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE, IDS_CONTENT_CONTEXT_READING_MODE); } -@@ -3620,10 +3613,12 @@ void RenderViewContextMenu::ExecuteComma +@@ -3619,10 +3612,12 @@ void RenderViewContextMenu::ExecuteComma } void RenderViewContextMenu::AddSpellCheckServiceItem(bool is_checked) { @@ -43,7 +43,7 @@ if (is_checked) { menu_model_.AddCheckItemWithStringId( IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE, -@@ -4000,6 +3995,8 @@ bool RenderViewContextMenu::IsVideoFrame +@@ -3999,6 +3994,8 @@ bool RenderViewContextMenu::IsVideoFrame bool RenderViewContextMenu::AppendQRCodeGeneratorItem(bool for_image, bool draw_icon, bool add_separator) { diff --git a/patches/upstream-fixes/fix-macos-widget-rect.patch b/patches/upstream-fixes/fix-macos-widget-rect.patch index 25cc1944..0adb864e 100644 --- a/patches/upstream-fixes/fix-macos-widget-rect.patch +++ b/patches/upstream-fixes/fix-macos-widget-rect.patch @@ -25,7 +25,7 @@ Cr-Commit-Position: refs/heads/main@{#1543516} --- a/components/remote_cocoa/app_shim/native_widget_mac_nswindow.mm +++ b/components/remote_cocoa/app_shim/native_widget_mac_nswindow.mm -@@ -357,6 +357,16 @@ +@@ -357,6 +357,16 @@ struct NSEdgeAndCornerThicknesses { return frameRect; } @@ -53,7 +53,7 @@ Cr-Commit-Position: refs/heads/main@{#1543516} // Overlay windows are used to render top chrome components while in immersive // fullscreen. Those rendered views are hosted in a separate AppKit controlled // window. The overlay windows are a transparent overlay on top of the AppKit -@@ -28,19 +26,6 @@ +@@ -28,19 +26,6 @@ constexpr unsigned long kAllowedCollecti kAllowedCollectionBehaviorMask]; }