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

Unified Diff: chrome/browser/download/all_download_item_notifier.cc

Issue 209613002: Download shelf autohides on showing in shell, just same as regular open Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added browser and unit tests. Renamed 'UserActed' to 'OpenedOrShown'. Created 4 years, 1 month 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/all_download_item_notifier.cc
diff --git a/chrome/browser/download/all_download_item_notifier.cc b/chrome/browser/download/all_download_item_notifier.cc
index a0b3a02eff5b863d69f114a779f57b962bdfa5d3..aab3fe4ee86d3f1fb0677edf6d29461647ad724e 100644
--- a/chrome/browser/download/all_download_item_notifier.cc
+++ b/chrome/browser/download/all_download_item_notifier.cc
@@ -57,6 +57,11 @@ void AllDownloadItemNotifier::OnDownloadOpened(
observer_->OnDownloadOpened(manager_, item);
}
+void AllDownloadItemNotifier::OnDownloadShown(
+ content::DownloadItem* item) {
+ observer_->OnDownloadShown(manager_, item);
+}
+
void AllDownloadItemNotifier::OnDownloadRemoved(
content::DownloadItem* item) {
observer_->OnDownloadRemoved(manager_, item);
« no previous file with comments | « chrome/browser/download/all_download_item_notifier.h ('k') | chrome/browser/download/all_download_item_notifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698