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

Unified Diff: chrome/browser/ui/views/download/download_item_view_md.h

Issue 1538773002: Reduce CPU usage of download shelf UI. (both MD and pre-MD shelves) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no change for indeterminate size dls Created 4 years, 11 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/views/download/download_item_view_md.h
diff --git a/chrome/browser/ui/views/download/download_item_view_md.h b/chrome/browser/ui/views/download/download_item_view_md.h
index 196c0e7e31c577e6177e5e1a5a85ff1c90993f1d..19a530373f5a77687f665602d99a0d9fe1f6e648 100644
--- a/chrome/browser/ui/views/download/download_item_view_md.h
+++ b/chrome/browser/ui/views/download/download_item_view_md.h
@@ -213,6 +213,9 @@ class DownloadItemViewMd : public views::ButtonListener,
State to,
gfx::SlideAnimation* animation);
+ // Callback for |progress_timer_|.
+ void ProgressTimerFired();
+
// Returns the base text color.
SkColor GetTextColor();

Powered by Google App Engine
This is Rietveld 408576698