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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.h

Issue 966983002: downloads: clicking "remove" on chrome://downloads should also hide shelf item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/views/download/download_shelf_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index fd762e3c7599ec1dbe6272654dc3921aeb55546c..79bb768de917c70d74e15f67d008669e64612986 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -79,6 +79,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
void ButtonPressed(views::Button* button, const ui::Event& event) override;
// Implementation of DownloadShelf.
+ void RemoveDownload(content::DownloadItem* download) override;
bool IsShowing() const override;
bool IsClosing() const override;
Browser* browser() const override;

Powered by Google App Engine
This is Rietveld 408576698