diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2024-12-22 12:40:27 +0000 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2024-12-22 12:40:50 +0000 |
commit | 8baca74c174b2bb5269660cbcc277c47d25a4dd3 (patch) | |
tree | 5d5f5f2893f104fcd47cdf9b56ab2b97f842f832 /www/iridium/files/patch-chrome_browser_ui_browser__command__controller.cc | |
parent | b887f1fe7f2c60420d6f3e9997b3613d443ec442 (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 d5c4a630121c..56bb07058fa9 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,6 +1,6 @@ ---- chrome/browser/ui/browser_command_controller.cc.orig 2024-11-04 08:56:03 UTC +--- chrome/browser/ui/browser_command_controller.cc.orig 2024-12-22 12:24:29 UTC +++ chrome/browser/ui/browser_command_controller.cc -@@ -129,7 +129,7 @@ +@@ -127,7 +127,7 @@ #include "components/user_manager/user_manager.h" #endif @@ -9,7 +9,7 @@ #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" #endif -@@ -138,7 +138,7 @@ +@@ -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) -@@ -319,7 +319,7 @@ bool BrowserCommandController::IsReservedCommandOrKey( +@@ -317,7 +317,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(); -@@ -574,7 +574,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -572,7 +572,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch // of lacros-chrome is complete. @@ -36,7 +36,7 @@ case IDC_MINIMIZE_WINDOW: browser_->window()->Minimize(); break; -@@ -586,7 +586,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -584,7 +584,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; #endif @@ -45,7 +45,7 @@ case IDC_USE_SYSTEM_TITLE_BAR: { PrefService* prefs = profile()->GetPrefs(); prefs->SetBoolean(prefs::kUseCustomChromeFrame, -@@ -787,7 +787,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo +@@ -788,7 +788,7 @@ bool BrowserCommandController::ExecuteCommandWithDispo break; case IDC_CREATE_SHORTCUT: base::RecordAction(base::UserMetricsAction("CreateShortcut")); @@ -54,7 +54,7 @@ if (base::FeatureList::IsEnabled(features::kShortcutsNotApps)) { chrome::CreateDesktopShortcutForActiveWebContents(browser_); } else { -@@ -1265,12 +1265,12 @@ void BrowserCommandController::InitCommandState() { +@@ -1267,12 +1267,12 @@ void BrowserCommandController::InitCommandState() { #endif // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch // of lacros-chrome is complete. @@ -69,7 +69,7 @@ bool use_system_title_bar = true; #if BUILDFLAG(IS_OZONE) use_system_title_bar = ui::OzonePlatform::GetInstance() -@@ -1601,7 +1601,7 @@ void BrowserCommandController::UpdateCommandsForTabSta +@@ -1603,7 +1603,7 @@ void BrowserCommandController::UpdateCommandsForTabSta bool can_create_web_app = web_app::CanCreateWebApp(browser_); command_updater_.UpdateCommandEnabled(IDC_INSTALL_PWA, can_create_web_app); |