From 98cd236f3d78532447355819e46d3c24038574df Mon Sep 17 00:00:00 2001 From: AlexNguyen1612 Date: Sat, 6 Aug 2022 12:31:01 +0930 Subject: [PATCH] Remove 'X' button in clear browsing data dialog for PT/Tor windows This removed the 'x' button at the top of the dialog to eliminate redundant spacings --- .../browser/ui/views/incognito_clear_browsing_data_dialog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc b/chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc index fea0d0caacce..1286c500e26b 100644 --- a/chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc +++ b/chromium_src/chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc @@ -10,7 +10,8 @@ BraveIncognitoClearBrowsingDataDialog::BraveIncognitoClearBrowsingDataDialog( Profile* incognito_profile, Type type) : IncognitoClearBrowsingDataDialog(anchor_view, incognito_profile, type) { - LOG(INFO) << "yay! Do what you want with this dialog!"; + SetShowCloseButton(false); + } // static