summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 20:34:33 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 20:34:33 +0000
commit31648ae08b34c0940a4aa5571314efdf7f3926b5 (patch)
treedaea8d09ae96e39694df572145473cddc5443163
parentdc45036cde3096d1f4dbad323a320ff186f3550f (diff)
downloadchromium_src-31648ae08b34c0940a4aa5571314efdf7f3926b5.zip
chromium_src-31648ae08b34c0940a4aa5571314efdf7f3926b5.tar.gz
chromium_src-31648ae08b34c0940a4aa5571314efdf7f3926b5.tar.bz2
Adds create application shortcuts to under the tools menu as per Ben
and Glen. BUG=48018 TEST=see bug Review URL: http://codereview.chromium.org/2910010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52382 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/wrench_menu_model.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/wrench_menu_model.cc b/chrome/browser/wrench_menu_model.cc
index 78e1929..2531280 100644
--- a/chrome/browser/wrench_menu_model.cc
+++ b/chrome/browser/wrench_menu_model.cc
@@ -46,6 +46,15 @@ void ToolsMenuModel::Build(Browser* browser) {
AddSeparator();
+#if !defined(OS_CHROMEOS)
+#if defined(OS_MACOSX)
+ AddItemWithStringId(IDC_CREATE_SHORTCUTS, IDS_CREATE_APPLICATION_MAC);
+#else
+ AddItemWithStringId(IDC_CREATE_SHORTCUTS, IDS_CREATE_SHORTCUTS);
+#endif
+ AddSeparator();
+#endif
+
AddItemWithStringId(IDC_MANAGE_EXTENSIONS, IDS_SHOW_EXTENSIONS);
AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
AddItemWithStringId(IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA);