OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview | 6 * @fileoverview |
7 * 'settings-storage' is the settings subpage for storage settings. | 7 * 'settings-storage' is the settings subpage for storage settings. |
8 */ | 8 */ |
9 cr.exportPath('settings'); | 9 cr.exportPath('settings'); |
10 | 10 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 getBarClass_: function(spaceState) { | 295 getBarClass_: function(spaceState) { |
296 switch (spaceState) { | 296 switch (spaceState) { |
297 case settings.StorageSpaceState.LOW: | 297 case settings.StorageSpaceState.LOW: |
298 return 'space-low'; | 298 return 'space-low'; |
299 case settings.StorageSpaceState.CRITICALLY_LOW: | 299 case settings.StorageSpaceState.CRITICALLY_LOW: |
300 return 'space-critically-low'; | 300 return 'space-critically-low'; |
301 default: | 301 default: |
302 return ''; | 302 return ''; |
303 } | 303 } |
304 }, | 304 }, |
| 305 |
| 306 /** @private */ |
| 307 onCloseDriveCacheDialog_: function() { |
| 308 this.$$('#deleteButton').focus(); |
| 309 }, |
305 }); | 310 }); |
OLD | NEW |