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

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

Issue 2688413012: Don't animate the download shelf when entering/exiting fullscreen. (Closed)
Patch Set: Try fixing a 10.9 test; ignore this patchset for the moment 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698