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

Unified Diff: chrome/browser/ui/cocoa/download/download_shelf_controller.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_shelf_controller.h
diff --git a/chrome/browser/ui/cocoa/download/download_shelf_controller.h b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
index f124bb8f500d59c847c6e3594c4080ee6e59bd7b..9546fbf9fee9b073e4b413633698de26ae6dc7bc 100644
--- a/chrome/browser/ui/cocoa/download/download_shelf_controller.h
+++ b/chrome/browser/ui/cocoa/download/download_shelf_controller.h
@@ -120,8 +120,9 @@ class PageNavigator;
// Remove a download, possibly via clearing browser data.
- (void)remove:(DownloadItemController*)download;
-// Called by individual item controllers when their downloads are opened.
-- (void)downloadWasOpened:(DownloadItemController*)download;
+// Called by individual item controllers when their downloads are opened or
+// shown.
+- (void)downloadWasOpenedOrShown:(DownloadItemController*)download;
// Return the height of the download shelf.
- (float)height;
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_item_mac.mm ('k') | chrome/browser/ui/cocoa/download/download_shelf_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698