Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9610)

Unified Diff: chrome/installer/setup/install.cc

Issue 57173002: Adds the concept of a 'safe mode' hotkey start (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/install.cc
===================================================================
--- chrome/installer/setup/install.cc (revision 232633)
+++ chrome/installer/setup/install.cc (working copy)
@@ -457,6 +457,10 @@
ShellUtil::SHELL_SHORTCUT_CREATE_IF_NO_SYSTEM_LEVEL)) {
start_menu_properties.set_pin_to_taskbar(true);
}
+ // The 'safe mode' hotkey launch shortcut only for the start menu shortcut.
robertshield 2013/11/04 02:19:55 suggestion: The 'launch safe mode' hotkey should b
cpu_(ooo_6.6-7.5) 2013/11/04 19:10:57 Done.
+ int hotkey = dist->GetSafeModeHotkey();
+ if (hotkey)
+ start_menu_properties.set_hotkey(hotkey);
ExecuteAndLogShortcutOperation(ShellUtil::SHORTCUT_LOCATION_START_MENU,
dist, start_menu_properties,
shortcut_operation);

Powered by Google App Engine
This is Rietveld 408576698