diff --git a/docs/flags.md b/docs/flags.md index f17b05550e..0f65fda28c 100644 --- a/docs/flags.md +++ b/docs/flags.md @@ -38,7 +38,6 @@ If a switch requires a value, you must specify it with an `=` sign; e.g. flag `- `--enable-incognito-themes` | Allows themes to change the appearance of Incognito windows. `--hide-extensions-menu` | Hides the extensions container. This includes the puzzle piece icon as well as any pinned extensions. `--hide-fullscreen-exit-ui` | Hides the "X" that appears when the mouse cursor is moved towards the top of the window in fullscreen mode. Additionally, this hides the "Press F11 to exit full screen" popup. - `--hide-sidepanel-button` | Hides the SidePanel Button. `--hide-tab-close-buttons` | Hides the close buttons on tabs. `--remove-grab-handle` | Removes the reserved empty space in the tabstrip for moving the window. `--remove-tabsearch-button` | Removes the tabsearch button from the tabstrip. diff --git a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index 253c41b976..bb661f895a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch @@ -1,9 +1,9 @@ --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -104,4 +104,8 @@ - "Hide SidePanel Button", - "Hides the SidePanel Button. ungoogled-chromium flag.", - kOsDesktop, SINGLE_VALUE_TYPE("hide-sidepanel-button")}, +@@ -100,4 +100,8 @@ + "Disable Sharing Hub", + "Disables the sharing hub button. ungoogled-chromium flag.", + kOsDesktop, SINGLE_VALUE_TYPE("disable-sharing-hub")}, + {"disable-link-drag", + "Disable link drag", + "Prevents dragging of links and selected text. ungoogled-chromium flag.", diff --git a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch index e59ff039c5..107a7d7d9f 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch @@ -31,7 +31,7 @@ substitutions["backgroundPosition"] = GetNewTabBackgroundPositionCSS(tp); --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -116,4 +116,8 @@ +@@ -112,4 +112,8 @@ "Hide Fullscreen Exit UI", "Hides the \"X\" that appears when the mouse cursor is moved towards the top of the window in fullscreen mode. Additionally, this hides the \"Press F11 to exit full screen\" popup. ungoogled-chromium flag.", kOsDesktop, SINGLE_VALUE_TYPE("hide-fullscreen-exit-ui")}, diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index 99d8f67098..e9852a7638 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch @@ -46,7 +46,7 @@ if (!HasAnyExtensions()) --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -108,4 +108,8 @@ +@@ -104,4 +104,8 @@ "Disable link drag", "Prevents dragging of links and selected text. ungoogled-chromium flag.", kOsDesktop, FEATURE_VALUE_TYPE(blink::features::kDisableLinkDrag)}, diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch index f1ed8fe6b0..577ed3100c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch @@ -26,7 +26,7 @@ return !IsRunningInAppMode(); --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -112,4 +112,8 @@ +@@ -108,4 +108,8 @@ "Hide Extensions Menu", "Hides the extensions container. This includes the puzzle piece icon as well as any pinned extensions. ungoogled-chromium flag.", kOsDesktop, SINGLE_VALUE_TYPE("hide-extensions-menu")}, diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch deleted file mode 100644 index 20d33ac7e3..0000000000 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/chrome/browser/ungoogled_flag_entries.h -+++ b/chrome/browser/ungoogled_flag_entries.h -@@ -100,4 +100,8 @@ - "Disable Sharing Hub", - "Disables the sharing hub button. ungoogled-chromium flag.", - kOsDesktop, SINGLE_VALUE_TYPE("disable-sharing-hub")}, -+ {"hide-sidepanel-button", -+ "Hide SidePanel Button", -+ "Hides the SidePanel Button. ungoogled-chromium flag.", -+ kOsDesktop, SINGLE_VALUE_TYPE("hide-sidepanel-button")}, - #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ diff --git a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch index cca385a1f0..6a58940e35 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -132,4 +132,8 @@ +@@ -128,4 +128,8 @@ "Minimal Referrers", "Removes all cross-origin referrers and strips same-origin referrers down to the origin. Has lower precedence than remove-cross-origin-referrers. ungoogled-chromium flag.", kOsAll, FEATURE_VALUE_TYPE(features::kMinimalReferrers)}, diff --git a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch index 0d43a01901..ca2c77b971 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -136,4 +136,8 @@ +@@ -132,4 +132,8 @@ "Reduced System Info", "Reduces the amount of system information obatainable through headers and javascript, also causes hardwareConcurrency to respond with two cores. ungoogled-chromium flag.", kOsAll, FEATURE_VALUE_TYPE(blink::features::kReducedSystemInfo)}, diff --git a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch index bebf54c6bf..1d3c900af7 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h -@@ -120,4 +120,16 @@ +@@ -116,4 +116,16 @@ "Enable themes in Incognito mode", "Allows themes to override Google's built-in Incognito theming. ungoogled-chromium flag.", kOsDesktop, SINGLE_VALUE_TYPE("enable-incognito-themes")}, diff --git a/patches/series b/patches/series index 7ad05a7254..a62f9b4a17 100644 --- a/patches/series +++ b/patches/series @@ -92,7 +92,6 @@ extra/ungoogled-chromium/disable-remote-optimization-guide.patch extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch extra/ungoogled-chromium/add-flag-to-disable-sharing-hub.patch -extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch