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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 305 |
306 /** @private */ | 306 /** @private */ |
307 onCloseDriveCacheDialog_: function() { | 307 onCloseDriveCacheDialog_: function() { |
308 this.$$('#deleteButton').focus(); | 308 cr.ui.focusWithoutInk(this.$$('#deleteButton')); |
309 }, | 309 }, |
310 }); | 310 }); |
OLD | NEW |