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

Unified Diff: chrome/browser/resources/md_downloads/item_view.js

Issue 1230063004: Add progress bars to MD downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-rough-draft2
Patch Set: 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
« no previous file with comments | « chrome/browser/resources/md_downloads/item_view.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/item_view.js
diff --git a/chrome/browser/resources/md_downloads/item_view.js b/chrome/browser/resources/md_downloads/item_view.js
index d0b74903724d0ddd9808fec8c8941d2713b29832..f89a927de2fa2c934c6f3f9bedebe2131774e823 100644
--- a/chrome/browser/resources/md_downloads/item_view.js
+++ b/chrome/browser/resources/md_downloads/item_view.js
@@ -116,7 +116,8 @@ cr.define('downloads', function() {
this.$.progress.hidden = !isInProgress;
- // TODO(dbeam): implement progress.
+ if (isInProgress)
+ this.$.progress.value = data.percent;
}
},
« no previous file with comments | « chrome/browser/resources/md_downloads/item_view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698