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

Unified Diff: chrome/browser/download/download_shelf.h

Issue 2688413012: Don't animate the download shelf when entering/exiting fullscreen. (Closed)
Patch Set: Turn on animation for all tests except the one that was flaky due to animation. Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_shelf.h
diff --git a/chrome/browser/download/download_shelf.h b/chrome/browser/download/download_shelf.h
index aefee262dae3e43d426c6bf8c0fb9bd09da7577a..aa4467f989465cbb75ec3a960c4b35bf4ff0c845 100644
--- a/chrome/browser/download/download_shelf.h
+++ b/chrome/browser/download/download_shelf.h
@@ -95,7 +95,7 @@ class DownloadShelf {
virtual bool IsClosing() const = 0;
// Opens the shelf.
- void Show();
+ void Open();
// Closes the shelf.
void Close(CloseReason reason);
@@ -114,8 +114,10 @@ class DownloadShelf {
protected:
virtual void DoAddDownload(content::DownloadItem* download) = 0;
- virtual void DoShow() = 0;
+ virtual void DoOpen() = 0;
virtual void DoClose(CloseReason reason) = 0;
+ virtual void DoHide() = 0;
+ virtual void DoUnhide() = 0;
// Time delay to wait before adding a transient download to the shelf.
// Protected virtual for testing.
« no previous file with comments | « no previous file | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698