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

Unified Diff: chrome/browser/download/download_shelf_context_menu.h

Issue 852043002: Initial Implementation of Download Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years, 11 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/download/download_shelf_context_menu.h
diff --git a/chrome/browser/download/download_shelf_context_menu.h b/chrome/browser/download/download_shelf_context_menu.h
index ecf9d99f38d54e22f46cb478a813b5137e2aac3a..16196ab136882e08e51df93a0ae97806d44eb731 100644
--- a/chrome/browser/download/download_shelf_context_menu.h
+++ b/chrome/browser/download/download_shelf_context_menu.h
@@ -24,19 +24,6 @@ class PageNavigator;
class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
public content::DownloadItem::Observer {
public:
- enum ContextMenuCommands {
- SHOW_IN_FOLDER = 1, // Open a folder view window with the item selected.
- OPEN_WHEN_COMPLETE, // Open the download when it's finished.
- ALWAYS_OPEN_TYPE, // Default this file extension to always open.
- PLATFORM_OPEN, // Open using platform handler.
- CANCEL, // Cancel the download.
- TOGGLE_PAUSE, // Pause or resume a download.
- DISCARD, // Discard the malicious download.
- KEEP, // Keep the malicious download.
- LEARN_MORE_SCANNING, // Show information about download scanning.
- LEARN_MORE_INTERRUPTED,// Show information about interrupted downloads.
- };
-
~DownloadShelfContextMenu() override;
content::DownloadItem* download_item() const { return download_item_; }

Powered by Google App Engine
This is Rietveld 408576698