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

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: 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/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 8f4f22e0402e9f13a4ff61c7ba8d76016ef9ce45..4bc454f031c59aa3547753002a1ff1030ce28126 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -50,7 +50,10 @@ class DownloadShelfView : public views::AccessiblePaneView,
virtual ~DownloadShelfView();
// Sent from the DownloadItemView when the user opens an item.
- void OpenedDownload(DownloadItemView* view);
+ void OnDownloadOpened(DownloadItemView* view);
+
+ // Sent from the DownloadItemView when the user shows item in shell.
+ void OnDownloadShown(DownloadItemView* view);
// Returns the relevant containing object that can load pages.
// i.e. the |browser_|.

Powered by Google App Engine
This is Rietveld 408576698