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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.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: Implement a separate callbacks flow for 'shown in shell' event to not mix with 'opened' Created 6 years, 7 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 e7ce06cbebda42ef7b5ae94142192813cbe1055d..b0ca75f1c4bdc26083a86fb2adefb5e38fc80e78 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -52,6 +52,9 @@ class DownloadShelfView : public views::AccessiblePaneView,
// Sent from the DownloadItemView when the user opens an item.
void OpenedDownload(DownloadItemView* view);
+ // Sent from the DownloadItemView when the user shows item in shell.
+ void ShownDownload(DownloadItemView* view);
+
// Returns the relevant containing object that can load pages.
// i.e. the |browser_|.
content::PageNavigator* GetNavigator();

Powered by Google App Engine
This is Rietveld 408576698