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

Unified Diff: chrome/browser/download/test_download_shelf.cc

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 | « chrome/browser/download/test_download_shelf.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/test_download_shelf.cc
diff --git a/chrome/browser/download/test_download_shelf.cc b/chrome/browser/download/test_download_shelf.cc
index 9538b7cdc0a8694ec344ba874c4621da833b02cd..80711138cea1b4b6201608eeb01606bcc1c62e61 100644
--- a/chrome/browser/download/test_download_shelf.cc
+++ b/chrome/browser/download/test_download_shelf.cc
@@ -47,7 +47,7 @@ void TestDownloadShelf::DoAddDownload(content::DownloadItem* download) {
did_add_download_ = true;
}
-void TestDownloadShelf::DoShow() {
+void TestDownloadShelf::DoOpen() {
is_showing_ = true;
}
@@ -55,6 +55,14 @@ void TestDownloadShelf::DoClose(CloseReason reason) {
is_showing_ = false;
}
+void TestDownloadShelf::DoHide() {
+ is_showing_ = false;
+}
+
+void TestDownloadShelf::DoUnhide() {
+ is_showing_ = true;
+}
+
base::TimeDelta TestDownloadShelf::GetTransientDownloadShowDelay() {
return base::TimeDelta();
}
« no previous file with comments | « chrome/browser/download/test_download_shelf.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698