Skip to content

Commit

Permalink
Remove the flag that eventually turned to be a no-op (#3050)
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public authored Oct 10, 2024
1 parent a96f128 commit 61b271f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 23 deletions.
1 change: 0 additions & 1 deletion docs/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")},
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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)},
Expand Down
Original file line number Diff line number Diff line change
@@ -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)},
Expand Down
Original file line number Diff line number Diff line change
@@ -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")},
Expand Down
1 change: 0 additions & 1 deletion patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61b271f

Please sign in to comment.