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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 2 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
3 <link rel="import" href="chrome://resources/html/cr.html"> 3 <link rel="import" href="chrome://resources/html/cr.html">
4 <link rel="import" href="chrome://resources/html/icon.html"> 4 <link rel="import" href="chrome://resources/html/icon.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html">
9 9
10 <dom-module id="cleanup-manager"> 10 <dom-module id="cleanup-manager">
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 </iron-icon> 110 </iron-icon>
111 </div> 111 </div>
112 <div class="scan-details"> 112 <div class="scan-details">
113 <div id="scan-detections"> 113 <div id="scan-detections">
114 [[detectionStatusText]] 114 [[detectionStatusText]]
115 </div> 115 </div>
116 <div class="under-text"> 116 <div class="under-text">
117 [[detectionTimeText]] 117 [[detectionTimeText]]
118 </div> 118 </div>
119 </div> 119 </div>
120 <div id="spinner-container" hidden="[[!isRunningScanner]]"> 120 <div id="spinner-container" hidden="[[!isRunning]]">
121 <paper-spinner active></paper-spinner> 121 <paper-spinner active></paper-spinner>
122 </div> 122 </div>
123 <div id="tool-action-container"> 123 <div id="tool-action-container">
124 <div class="scan-or-cleanup-action" 124 <div class="scan-or-cleanup-action"
125 hidden="[[!shouldShowScan_(hasScanResults, isRunningScanner)]]" 125 hidden="[[!shouldShowScan_(hasScanResults, isRunning)]]"
126 on-tap="onScanTap_">$i18n{scanAction}</div> 126 on-tap="onScanTap_">$i18n{scanAction}</div>
127 <div hidden="[[!isRunningScanner]]">$i18n{scanning}</div> 127 <div hidden="[[!shouldShowScanning_(hasScanResults, isRunning)]]">
128 <div class="scan-or-cleanup-action" hidden="[[!hasScanResults]]" 128 $i18n{scanning}</div>
129 <div hidden="[[!shouldShowCleaning_(hasScanResults, isRunning)]]">
130 $i18n{cleaning}</div>
131 <div class="scan-or-cleanup-action"
132 hidden="[[!shouldShowClean_(hasScanResults, isRunning)]]"
129 on-tap="onCleanupTap_">$i18n{cleanAction}</div> 133 on-tap="onCleanupTap_">$i18n{cleanAction}</div>
130 </div> 134 </div>
131 </div> 135 </div>
132 <div class="card-section"> 136 <div class="card-section">
133 <!-- TODO(proberge): Replace answer ID with a P-link as per 137 <!-- TODO(proberge): Replace answer ID with a P-link as per
134 crbug.com/679462 --> 138 crbug.com/679462 -->
135 <a id="about-link" 139 <a id="about-link"
136 href="https://support.google.com/chrome/answer/6086368"> 140 href="https://support.google.com/chrome/answer/6086368">
137 $i18n{about} 141 $i18n{about}
138 </a> 142 </a>
139 </div> 143 </div>
140 </div> 144 </div>
141 </div> 145 </div>
142 146
143 </template> 147 </template>
144 <script src="chrome://cleanup/manager.js"></script> 148 <script src="chrome://cleanup/manager.js"></script>
145 </dom-module> 149 </dom-module>
OLDNEW
« 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