summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/download_item_view.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc
index 760585d..bbf053d 100644
--- a/chrome/browser/views/download_item_view.cc
+++ b/chrome/browser/views/download_item_view.cc
@@ -96,6 +96,8 @@ class DownloadShelfContextMenuWin : public DownloadShelfContextMenu,
}
context_menu->AppendMenuItem(ALWAYS_OPEN_TYPE, L"", views::Menu::CHECKBOX);
context_menu->AppendSeparator();
+ if (download_->state() == DownloadItem::IN_PROGRESS)
+ context_menu->AppendMenuItem(TOGGLE_PAUSE, L"", views::Menu::NORMAL);
context_menu->AppendMenuItem(SHOW_IN_FOLDER, L"", views::Menu::NORMAL);
context_menu->AppendSeparator();
context_menu->AppendMenuItem(REMOVE_ITEM, L"", views::Menu::NORMAL);