From: uazo Date: Sat, 25 May 2024 10:34:38 +0000 Subject: Enable menu on reload button Activate right-button submenu in reload (desktop platforms). Patch derived from the ungoogled-chromium patch of the same name. License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html --- chrome/app/generated_resources.grd | 4 ++-- chrome/browser/ui/views/toolbar/toolbar_view.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -4804,10 +4804,10 @@ are declared in tools/grit/grit_args.gni. Normal Reload - Hard Reload + Reload bypassing cache - Empty Cache and Hard Reload + Empty Cache and Reload diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.cc b/chrome/browser/ui/views/toolbar/toolbar_view.cc --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc @@ -1197,7 +1197,7 @@ void ToolbarView::Update(WebContents* tab) { if (ReloadControl* reload_control = GetReloadButton(); reload_control) { reload_control->SetDevToolsStatus( - chrome::IsDebuggerAttachedToCurrentTab(browser_)); + true); } } --