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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.TimelineOverviewBase} 7 * @extends {WebInspector.TimelineOverviewBase}
8 */ 8 */
9 WebInspector.NetworkOverview = function() 9 WebInspector.NetworkOverview = function()
10 { 10 {
(...skipping 12 matching lines...) Expand all
23 this._updateScheduled = false; 23 this._updateScheduled = false;
24 /** @type {number} */ 24 /** @type {number} */
25 this._canvasWidth = 0; 25 this._canvasWidth = 0;
26 /** @type {number} */ 26 /** @type {number} */
27 this._canvasHeight = 0; 27 this._canvasHeight = 0;
28 28
29 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel, WebInspector.ResourceTreeModel.Events.Load, this._loadEventFired, this); 29 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel, WebInspector.ResourceTreeModel.Events.Load, this._loadEventFired, this);
30 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel, WebInspector.ResourceTreeModel.Events.DOMContentLoaded, this._domContentLoadedEv entFired, this); 30 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel, WebInspector.ResourceTreeModel.Events.DOMContentLoaded, this._domContentLoadedEv entFired, this);
31 31
32 this.reset(); 32 this.reset();
33 } 33 };
34 34
35 /** @type {number} */ 35 /** @type {number} */
36 WebInspector.NetworkOverview._bandHeight = 3; 36 WebInspector.NetworkOverview._bandHeight = 3;
37 37
38 /** @typedef {{start: number, end: number}} */ 38 /** @typedef {{start: number, end: number}} */
39 WebInspector.NetworkOverview.Window; 39 WebInspector.NetworkOverview.Window;
40 40
41 WebInspector.NetworkOverview.prototype = { 41 WebInspector.NetworkOverview.prototype = {
42 /** 42 /**
43 * @param {?WebInspector.FilmStripModel} filmStripModel 43 * @param {?WebInspector.FilmStripModel} filmStripModel
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 context.strokeStyle = "#FCCC49"; // Keep in sync with .network-frame -divider CSS rule. 302 context.strokeStyle = "#FCCC49"; // Keep in sync with .network-frame -divider CSS rule.
303 var x = Math.round(calculator.computePosition(this._selectedFilmStri pTime)); 303 var x = Math.round(calculator.computePosition(this._selectedFilmStri pTime));
304 context.moveTo(x, 0); 304 context.moveTo(x, 0);
305 context.lineTo(x, height); 305 context.lineTo(x, height);
306 context.stroke(); 306 context.stroke();
307 } 307 }
308 context.restore(); 308 context.restore();
309 }, 309 },
310 310
311 __proto__: WebInspector.TimelineOverviewBase.prototype 311 __proto__: WebInspector.TimelineOverviewBase.prototype
312 } 312 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698