summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/cocoa/download_item_controller.h1
-rw-r--r--chrome/browser/cocoa/download_item_controller.mm7
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);
}