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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_mac.h

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/ui/cocoa/download/download_item_mac.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_mac.h b/chrome/browser/ui/cocoa/download/download_item_mac.h
index 3ab544ef6a1ade7a3e5af00e9e6cc9c62541822f..5b062f667d1d8be016b18d14f7871aff03aca6a2 100644
--- a/chrome/browser/ui/cocoa/download/download_item_mac.h
+++ b/chrome/browser/ui/cocoa/download/download_item_mac.h
@@ -35,6 +35,7 @@ class DownloadItemMac : content::DownloadItem::Observer {
// content::DownloadItem::Observer implementation
void OnDownloadUpdated(content::DownloadItem* download) override;
void OnDownloadOpened(content::DownloadItem* download) override;
+ void OnDownloadShown(content::DownloadItem* download) override;
void OnDownloadDestroyed(content::DownloadItem* download) override;
DownloadItemModel* download_model() { return &download_model_; }

Powered by Google App Engine
This is Rietveld 408576698