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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_cell.h

Issue 1236463002: Vectorize download shelf progress indicators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fix Created 5 years, 5 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/cocoa/download/download_item_cell.h
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.h b/chrome/browser/ui/cocoa/download/download_item_cell.h
index 5107e782e10843ad3ded4f31ec35381788930501..891072e5ff129597a9681e1dbbf86519d070c0fc 100644
--- a/chrome/browser/ui/cocoa/download/download_item_cell.h
+++ b/chrome/browser/ui/cocoa/download/download_item_cell.h
@@ -9,6 +9,7 @@
#import "chrome/browser/ui/cocoa/gradient_button_cell.h"
#include "base/files/file_path.h"
+#include "base/time/time.h"
class DownloadItemModel;
@class IndeterminateProgressTimer;
@@ -39,8 +40,7 @@ enum DownloadItemMousePosition {
int percentDone_;
base::scoped_nsobject<NSAnimation> completionAnimation_;
- // In degrees, for downloads with no known total size.
- int indeterminateProgressAngle_;
+ base::TimeTicks progress_start_time_;
base::scoped_nsobject<IndeterminateProgressTimer> indeterminateProgressTimer_;
BOOL isStatusTextVisible_;

Powered by Google App Engine
This is Rietveld 408576698