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

Side by Side Diff: chrome/browser/resources/settings/device_page/storage.html

Issue 2817803002: MD Settings: CrOS: Focus elements on dialog close (Closed)
Patch Set: . 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/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
6 <link rel="import" href="drive_cache_dialog.html"> 6 <link rel="import" href="drive_cache_dialog.html">
7 <link rel="import" href="../prefs/prefs.html"> 7 <link rel="import" href="../prefs/prefs.html">
8 <link rel="import" href="../route.html"> 8 <link rel="import" href="../route.html">
9 <link rel="import" href="../settings_shared_css.html"> 9 <link rel="import" href="../settings_shared_css.html">
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 $i18n{storageItemDownloads} 197 $i18n{storageItemDownloads}
198 <div id="downloadsSize" class="secondary"> 198 <div id="downloadsSize" class="secondary">
199 $i18n{storageSizeComputing} 199 $i18n{storageSizeComputing}
200 </div> 200 </div>
201 </div> 201 </div>
202 <button class="icon-external" is="paper-icon-button-light" 202 <button class="icon-external" is="paper-icon-button-light"
203 aria-label="$i18n{storageItemDownloads}" 203 aria-label="$i18n{storageItemDownloads}"
204 aria-describedby="downloadsSize"></button> 204 aria-describedby="downloadsSize"></button>
205 </div> 205 </div>
206 <template is="dom-if" if="[[driveEnabled_]]"> 206 <template is="dom-if" if="[[driveEnabled_]]">
207 <div class="settings-box two-line" on-tap="onDriveCacheTap_" 207 <div id="driveCache" class="settings-box two-line"
208 actionable$="[[hasDriveCache_]]" > 208 on-tap="onDriveCacheTap_" actionable$="[[hasDriveCache_]]" >
209 <div class="start"> 209 <div class="start">
210 $i18n{storageItemDriveCache} 210 $i18n{storageItemDriveCache}
211 <div id="driveCacheSize" class="secondary"> 211 <div id="driveCacheSize" class="secondary">
212 $i18n{storageSizeComputing} 212 $i18n{storageSizeComputing}
213 </div> 213 </div>
214 </div> 214 </div>
215 <button id="deleteButton" is="paper-icon-button-light" 215 <button id="deleteButton" is="paper-icon-button-light"
216 aria-label="$i18n{storageItemDriveCache}" 216 aria-label="$i18n{storageItemDriveCache}"
217 aria-describedby="driveSizeCache"> 217 aria-describedby="driveSizeCache">
218 <iron-icon icon="cr:delete"></iron-icon> 218 <iron-icon icon="cr:delete"></iron-icon>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 <div id="otherUsersSize" class="secondary"> 250 <div id="otherUsersSize" class="secondary">
251 $i18n{storageSizeComputing} 251 $i18n{storageSizeComputing}
252 </div> 252 </div>
253 </div> 253 </div>
254 <button class="subpage-arrow" is="paper-icon-button-light" 254 <button class="subpage-arrow" is="paper-icon-button-light"
255 aria-label="$i18n{storageItemOtherUsers}" 255 aria-label="$i18n{storageItemOtherUsers}"
256 aria-describedby="otherUsersSize"></button> 256 aria-describedby="otherUsersSize"></button>
257 </div> 257 </div>
258 </template> 258 </template>
259 259
260 <settings-drive-cache-dialog id="storageDriveCache"> 260 <settings-drive-cache-dialog id="storageDriveCache"
261 on-close="onCloseDriveCacheDialog_">
261 </settings-drive-cache-dialog> 262 </settings-drive-cache-dialog>
262 </template> 263 </template>
263 <script src="storage.js"></script> 264 <script src="storage.js"></script>
264 </dom-module> 265 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698