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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 * @constructor 6 * @constructor
7 * @extends {WebInspector.SimpleView} 7 * @extends {WebInspector.SimpleView}
8 * @param {!WebInspector.ServiceWorkerCacheModel} model 8 * @param {!WebInspector.ServiceWorkerCacheModel} model
9 * @param {!WebInspector.ServiceWorkerCacheModel.Cache} cache 9 * @param {!WebInspector.ServiceWorkerCacheModel.Cache} cache
10 */ 10 */
(...skipping 10 matching lines...) Expand all
21 this._createEditorToolbar(); 21 this._createEditorToolbar();
22 22
23 this._refreshButton = new WebInspector.ToolbarButton(WebInspector.UIString(" Refresh"), "refresh-toolbar-item"); 23 this._refreshButton = new WebInspector.ToolbarButton(WebInspector.UIString(" Refresh"), "refresh-toolbar-item");
24 this._refreshButton.addEventListener("click", this._refreshButtonClicked, th is); 24 this._refreshButton.addEventListener("click", this._refreshButtonClicked, th is);
25 25
26 this._pageSize = 50; 26 this._pageSize = 50;
27 this._skipCount = 0; 27 this._skipCount = 0;
28 28
29 this.update(cache); 29 this.update(cache);
30 this._entries = []; 30 this._entries = [];
31 } 31 };
32 32
33 WebInspector.ServiceWorkerCacheView.prototype = { 33 WebInspector.ServiceWorkerCacheView.prototype = {
34 /** 34 /**
35 * @return {!WebInspector.DataGrid} 35 * @return {!WebInspector.DataGrid}
36 */ 36 */
37 _createDataGrid: function() 37 _createDataGrid: function()
38 { 38 {
39 var columns = []; 39 var columns = [];
40 columns.push({id: "number", title: WebInspector.UIString("#"), width: "5 0px"}); 40 columns.push({id: "number", title: WebInspector.UIString("#"), width: "5 0px"});
41 columns.push({id: "request", title: WebInspector.UIString("Request")}); 41 columns.push({id: "request", title: WebInspector.UIString("Request")});
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 return [this._refreshButton]; 153 return [this._refreshButton];
154 }, 154 },
155 155
156 clear: function() 156 clear: function()
157 { 157 {
158 this._dataGrid.rootNode().removeChildren(); 158 this._dataGrid.rootNode().removeChildren();
159 this._entries = []; 159 this._entries = [];
160 }, 160 },
161 161
162 __proto__: WebInspector.SimpleView.prototype 162 __proto__: WebInspector.SimpleView.prototype
163 } 163 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698