diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-26 00:10:19 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-26 00:10:19 +0000 |
commit | b9f49354b4c5ea4495236957478edc56580c9b4e (patch) | |
tree | e0e494300a47cba7f9a0322af46b9a36806556b9 /chrome/browser | |
parent | 758fae36a73c4d3df1ec7261ae64e01e98e25225 (diff) | |
download | chromium_src-b9f49354b4c5ea4495236957478edc56580c9b4e.zip chromium_src-b9f49354b4c5ea4495236957478edc56580c9b4e.tar.gz chromium_src-b9f49354b4c5ea4495236957478edc56580c9b4e.tar.bz2 |
Remove "remove" from download item context menu on mac.
BUG=23078
TEST=Download something. Menu should no longer contain "Remove".
Review URL: http://codereview.chromium.org/249008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/cocoa/download_item_controller.h | 1 | ||||
-rw-r--r-- | chrome/browser/cocoa/download_item_controller.mm | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/cocoa/download_item_controller.h b/chrome/browser/cocoa/download_item_controller.h index 0be578b..dc7b263 100644 --- a/chrome/browser/cocoa/download_item_controller.h +++ b/chrome/browser/cocoa/download_item_controller.h @@ -87,7 +87,6 @@ class DownloadShelfContextMenuMac; - (IBAction)handleOpen:(id)sender; - (IBAction)handleAlwaysOpen:(id)sender; - (IBAction)handleReveal:(id)sender; -- (IBAction)handleRemove:(id)sender; - (IBAction)handleCancel:(id)sender; @end diff --git a/chrome/browser/cocoa/download_item_controller.mm b/chrome/browser/cocoa/download_item_controller.mm index 17cfaec..dbd42e0 100644 --- a/chrome/browser/cocoa/download_item_controller.mm +++ b/chrome/browser/cocoa/download_item_controller.mm @@ -59,7 +59,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu { using DownloadShelfContextMenu::OPEN_WHEN_COMPLETE; using DownloadShelfContextMenu::ALWAYS_OPEN_TYPE; using DownloadShelfContextMenu::CANCEL; - using DownloadShelfContextMenu::REMOVE_ITEM; }; @interface DownloadItemController (Private) @@ -237,8 +236,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu { actionId = DownloadShelfContextMenuMac::ALWAYS_OPEN_TYPE; } else if (action == @selector(handleReveal:)) { actionId = DownloadShelfContextMenuMac::SHOW_IN_FOLDER; - } else if (action == @selector(handleRemove:)) { - actionId = DownloadShelfContextMenuMac::REMOVE_ITEM; } else if (action == @selector(handleCancel:)) { actionId = DownloadShelfContextMenuMac::CANCEL; } else { @@ -268,10 +265,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu { menuBridge_->ExecuteItemCommand(DownloadShelfContextMenuMac::SHOW_IN_FOLDER); } -- (IBAction)handleRemove:(id)sender { - menuBridge_->ExecuteItemCommand(DownloadShelfContextMenuMac::REMOVE_ITEM); -} - - (IBAction)handleCancel:(id)sender { menuBridge_->ExecuteItemCommand(DownloadShelfContextMenuMac::CANCEL); } |