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

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

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review Created 3 years, 6 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 // 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 /** 70 /**
71 * Timer ID for periodic update. 71 * Timer ID for periodic update.
72 * @private {number} 72 * @private {number}
73 */ 73 */
74 updateTimerId_: -1, 74 updateTimerId_: -1,
75 75
76 /** @override */ 76 /** @override */
77 ready: function() { 77 ready: function() {
78 cr.addWebUIListener( 78 cr.addWebUIListener(
79 'storage-size-stat-changed', 79 'storage-size-stat-changed', this.handleSizeStatChanged_.bind(this));
80 this.handleSizeStatChanged_.bind(this));
81 cr.addWebUIListener( 80 cr.addWebUIListener(
82 'storage-downloads-size-changed', 81 'storage-downloads-size-changed',
83 this.handleDownloadsSizeChanged_.bind(this)); 82 this.handleDownloadsSizeChanged_.bind(this));
84 cr.addWebUIListener( 83 cr.addWebUIListener(
85 'storage-drive-cache-size-changed', 84 'storage-drive-cache-size-changed',
86 this.handleDriveCacheSizeChanged_.bind(this)); 85 this.handleDriveCacheSizeChanged_.bind(this));
87 cr.addWebUIListener( 86 cr.addWebUIListener(
88 'storage-browsing-data-size-changed', 87 'storage-browsing-data-size-changed',
89 this.handleBrowsingDataSizeChanged_.bind(this)); 88 this.handleBrowsingDataSizeChanged_.bind(this));
90 cr.addWebUIListener( 89 cr.addWebUIListener(
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 default: 302 default:
304 return ''; 303 return '';
305 } 304 }
306 }, 305 },
307 306
308 /** @private */ 307 /** @private */
309 onCloseDriveCacheDialog_: function() { 308 onCloseDriveCacheDialog_: function() {
310 cr.ui.focusWithoutInk(assert(this.$$('#deleteButton'))); 309 cr.ui.focusWithoutInk(assert(this.$$('#deleteButton')));
311 }, 310 },
312 }); 311 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698