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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_controller.mm

Issue 2164723002: Change Dismiss button to Discard and cancel download (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove IDS_DISMISS_DOWNLOAD from generated_resources.grd Created 4 years, 5 months 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/browser/ui/cocoa/download/download_item_controller.mm
diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.mm b/chrome/browser/ui/cocoa/download/download_item_controller.mm
index 0298199d9d9e8fa5006cb487f4b149ce2261cc49..fd3a5f8628ac27e4eeedf642a1118e4c3c3add0c 100644
--- a/chrome/browser/ui/cocoa/download/download_item_controller.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm
@@ -362,13 +362,6 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu {
// WARNING: we are deleted at this point. Don't access 'this'.
}
-- (IBAction)dismissMaliciousDownload:(id)sender {
- // ExperienceSampling: User dismissed the dangerous download.
- [self updateExperienceSamplingEvent:ExperienceSamplingEvent::kDeny];
- [self remove];
- // WARNING: we are deleted at this point.
-}
-
- (IBAction)showContextMenu:(id)sender {
[progressView_ showContextMenu];
}
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_item_controller.h ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698