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

Unified Diff: chrome/browser/resources/cleanup_tool/manager.html

Issue 2819633003: Cleanup Tool WebUI: Add functionality to the Cleanup button (Closed)
Patch Set: Fix typdef {[ -> {{ Created 3 years, 8 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/resources/cleanup_tool/manager.html
diff --git a/chrome/browser/resources/cleanup_tool/manager.html b/chrome/browser/resources/cleanup_tool/manager.html
index a1c8c4d4a7bc089a4a9aa282026b46a7242d6ccd..769e5cb9ba0e8b3da5f11035787580842bca0f7a 100644
--- a/chrome/browser/resources/cleanup_tool/manager.html
+++ b/chrome/browser/resources/cleanup_tool/manager.html
@@ -117,15 +117,19 @@
[[detectionTimeText]]
</div>
</div>
- <div id="spinner-container" hidden="[[!isRunningScanner]]">
+ <div id="spinner-container" hidden="[[!isRunning]]">
<paper-spinner active></paper-spinner>
</div>
<div id="tool-action-container">
<div class="scan-or-cleanup-action"
- hidden="[[!shouldShowScan_(hasScanResults, isRunningScanner)]]"
+ hidden="[[!shouldShowScan_(hasScanResults, isRunning)]]"
on-tap="onScanTap_">$i18n{scanAction}</div>
- <div hidden="[[!isRunningScanner]]">$i18n{scanning}</div>
- <div class="scan-or-cleanup-action" hidden="[[!hasScanResults]]"
+ <div hidden="[[!shouldShowScanning_(hasScanResults, isRunning)]]">
+ $i18n{scanning}</div>
+ <div hidden="[[!shouldShowCleaning_(hasScanResults, isRunning)]]">
+ $i18n{cleaning}</div>
+ <div class="scan-or-cleanup-action"
+ hidden="[[!shouldShowClean_(hasScanResults, isRunning)]]"
on-tap="onCleanupTap_">$i18n{cleanAction}</div>
</div>
</div>
« no previous file with comments | « chrome/browser/resources/cleanup_tool/cleanup_browser_proxy.js ('k') | chrome/browser/resources/cleanup_tool/manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698