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

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: Move the 'user acted' flag into DownloadItemModelData and get rid of SetOpened/SetShown in Download… Created 6 years, 6 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/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..a6a0bf1494b1452c4fb089c2835a21c10c175266 100644
--- a/chrome/browser/download/all_download_item_notifier.cc
+++ b/chrome/browser/download/all_download_item_notifier.cc
@@ -62,6 +62,11 @@ void AllDownloadItemNotifier::OnDownloadRemoved(
observer_->OnDownloadRemoved(manager_, item);
}
+void AllDownloadItemNotifier::OnDownloadShown(
+ content::DownloadItem* item) {
+ observer_->OnDownloadShown(manager_, item);
+}
+
void AllDownloadItemNotifier::OnDownloadDestroyed(
content::DownloadItem* item) {
item->RemoveObserver(this);

Powered by Google App Engine
This is Rietveld 408576698