diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2025-05-07 13:11:27 +0000 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2025-05-07 13:11:50 +0000 |
commit | aa55f858e3eb52291879751ec29564e11838393d (patch) | |
tree | e416b352c97f0ff6dd6c70ea188bec2dfc6ec09c /www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc | |
parent | e6c7fc2cf1a019be1b6bf776bb3d33b13d6b78ae (diff) |
Diffstat (limited to 'www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc')
-rw-r--r-- | www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc index 0e2a83b4cbbe..1c7bc766f343 100644 --- a/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc +++ b/www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc @@ -1,14 +1,14 @@ ---- chrome/browser/ui/browser_command_controller.cc.orig 2025-04-16 18:18:42 UTC +--- chrome/browser/ui/browser_command_controller.cc.orig 2025-05-07 06:48:23 UTC +++ chrome/browser/ui/browser_command_controller.cc -@@ -127,7 +127,7 @@ +@@ -126,7 +126,7 @@ #include "components/user_manager/user_manager.h" #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "ui/base/ime/text_edit_commands.h" #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" - #endif @@ -136,7 +136,7 @@ #include "ui/ozone/public/ozone_platform.h" #endif @@ -18,7 +18,7 @@ #include "chrome/browser/ui/shortcuts/desktop_shortcuts_utils.h" #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -329,7 +329,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( +@@ -332,7 +332,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( #endif } @@ -27,7 +27,7 @@ // If this key was registered by the user as a content editing hotkey, then // it is not reserved. auto* linux_ui = ui::LinuxUi::instance(); -@@ -581,7 +581,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -595,7 +595,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; #endif @@ -36,7 +36,7 @@ case IDC_MINIMIZE_WINDOW: browser_->window()->Minimize(); break; -@@ -801,7 +801,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -812,7 +812,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; case IDC_CREATE_SHORTCUT: base::RecordAction(base::UserMetricsAction("CreateShortcut")); @@ -45,7 +45,7 @@ chrome::CreateDesktopShortcutForActiveWebContents(browser_); #else web_app::CreateWebAppFromCurrentWebContents( -@@ -968,7 +968,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -979,7 +979,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) case IDC_CHROME_WHATS_NEW: #if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \ @@ -54,7 +54,7 @@ ShowChromeWhatsNew(browser_); break; #else -@@ -1284,7 +1284,7 @@ void BrowserCommandController::InitCommandState() { +@@ -1324,7 +1324,7 @@ void BrowserCommandController::InitCommandState() { command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_4, true); command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_5, true); #endif @@ -63,7 +63,7 @@ command_updater_.UpdateCommandEnabled(IDC_MINIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_MAXIMIZE_WINDOW, true); command_updater_.UpdateCommandEnabled(IDC_RESTORE_WINDOW, true); -@@ -1640,7 +1640,7 @@ void BrowserCommandController::UpdateCommandsForTabSta +@@ -1682,7 +1682,7 @@ void BrowserCommandController::UpdateCommandsForTabSta bool can_create_web_app = web_app::CanCreateWebApp(browser_); command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app); |