mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
helium/core: disable fedcm login nag bubble
This commit is contained in:
12
patches/helium/core/disable-fedcm-bubble.patch
Normal file
12
patches/helium/core/disable-fedcm-bubble.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc
|
||||
+++ b/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc
|
||||
@@ -1279,6 +1279,9 @@ gfx::Rect FedCmAccountSelectionView::Get
|
||||
|
||||
void FedCmAccountSelectionView::ShouldShowDialog(bool& should_show) {
|
||||
if (dialog_type_ == DialogType::BUBBLE) {
|
||||
+ should_show = false;
|
||||
+ return;
|
||||
+
|
||||
// Hide the bubble dialog if it can't fit.
|
||||
if (!CanFitInWebContents()) {
|
||||
should_show = false;
|
||||
@@ -176,6 +176,7 @@ helium/core/infinite-tab-freezing.patch
|
||||
helium/core/disable-touch-ui.patch
|
||||
helium/core/open-new-tabs-next-to-active-tab-option.patch
|
||||
helium/core/disable-update-toast.patch
|
||||
helium/core/disable-fedcm-bubble.patch
|
||||
|
||||
helium/settings/move-search-suggest.patch
|
||||
helium/settings/remove-autofill.patch
|
||||
|
||||
Reference in New Issue
Block a user