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

Unified Diff: chrome/browser/views/download_item_view.h

Issue 3127008: Preliminary work on resuming downloads whose connections have expired.
Patch Set: Waiting to send download automation error message until after other downloads are canceled. Created 10 years, 3 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/views/download_item_view.h
diff --git a/chrome/browser/views/download_item_view.h b/chrome/browser/views/download_item_view.h
index 91fc7f64a89e1d83b0ee88d078a5e0c6f2d75ab7..489f01faf145e87f81930c39d38a8d4404493e57 100644
--- a/chrome/browser/views/download_item_view.h
+++ b/chrome/browser/views/download_item_view.h
@@ -56,6 +56,7 @@ class DownloadItemView : public views::ButtonListener,
virtual void OnDownloadUpdated(DownloadItem* download);
virtual void OnDownloadFileCompleted(DownloadItem* download) { }
virtual void OnDownloadOpened(DownloadItem* download);
+ virtual void OnDownloadInterrupted(DownloadItem* download) { }
// View overrides
virtual void Layout();
@@ -227,6 +228,9 @@ class DownloadItemView : public views::ButtonListener,
// Animation for download complete.
scoped_ptr<SlideAnimation> complete_animation_;
+ // Animation for download interrupted.
+ scoped_ptr<SlideAnimation> interrupted_animation_;
+
// Progress animation
base::RepeatingTimer<DownloadItemView> progress_timer_;

Powered by Google App Engine
This is Rietveld 408576698