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

Unified Diff: chrome/installer/mac/app/InstallerWindowController.m

Issue 2203583002: Added unpacking step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added DMG to build file Created 4 years, 4 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/installer/mac/app/Downloader.m ('k') | chrome/installer/mac/app/NSAlert+ChromeInstallerAdditions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/app/InstallerWindowController.m
diff --git a/chrome/installer/mac/app/InstallerWindowController.m b/chrome/installer/mac/app/InstallerWindowController.m
index b1b4354c1875b1a5f0c9166f4fd8d4f7d607e832..8fab0f8ed3e0f484a5f7eaa33918baa78cde009a 100644
--- a/chrome/installer/mac/app/InstallerWindowController.m
+++ b/chrome/installer/mac/app/InstallerWindowController.m
@@ -120,7 +120,13 @@
}
- (void)updateDownloadProgress:(double)progressPercent {
- progressBar_.doubleValue = progressPercent;
+ if (progressPercent > 0.0) {
+ progressBar_.doubleValue = progressPercent;
+ } else {
+ progressBar_.doubleValue = 0.0;
+ progressBar_.indeterminate = YES;
+ [progressBar_ startAnimation:nil];
+ }
}
- (void)enableLaunchButton {
« no previous file with comments | « chrome/installer/mac/app/Downloader.m ('k') | chrome/installer/mac/app/NSAlert+ChromeInstallerAdditions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698