| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel,
WebInspector.ResourceTreeModel.EventTypes.Load, this._loadEventFired, this); | 29 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel,
WebInspector.ResourceTreeModel.EventTypes.Load, this._loadEventFired, this); |
| 30 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel,
WebInspector.ResourceTreeModel.EventTypes.DOMContentLoaded, this._domContentLoad
edEventFired, this); | 30 WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel,
WebInspector.ResourceTreeModel.EventTypes.DOMContentLoaded, this._domContentLoad
edEventFired, 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 /** @type {number} */ | |
| 39 WebInspector.NetworkOverview._dividersBarHeight = 20; | |
| 40 | |
| 41 /** @typedef {{start: number, end: number}} */ | 38 /** @typedef {{start: number, end: number}} */ |
| 42 WebInspector.NetworkOverview.Window; | 39 WebInspector.NetworkOverview.Window; |
| 43 | 40 |
| 44 WebInspector.NetworkOverview.prototype = { | 41 WebInspector.NetworkOverview.prototype = { |
| 45 /** | 42 /** |
| 46 * @param {?WebInspector.FilmStripModel} filmStripModel | 43 * @param {?WebInspector.FilmStripModel} filmStripModel |
| 47 */ | 44 */ |
| 48 setFilmStripModel: function(filmStripModel) | 45 setFilmStripModel: function(filmStripModel) |
| 49 { | 46 { |
| 50 this._filmStripModel = filmStripModel; | 47 this._filmStripModel = filmStripModel; |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 context.beginPath(); | 312 context.beginPath(); |
| 316 context.arc(x, radius, radius, 0, 2 * Math.PI, false); | 313 context.arc(x, radius, radius, 0, 2 * Math.PI, false); |
| 317 context.fill(); | 314 context.fill(); |
| 318 context.stroke(); | 315 context.stroke(); |
| 319 } | 316 } |
| 320 context.restore(); | 317 context.restore(); |
| 321 }, | 318 }, |
| 322 | 319 |
| 323 __proto__: WebInspector.TimelineOverviewBase.prototype | 320 __proto__: WebInspector.TimelineOverviewBase.prototype |
| 324 } | 321 } |
| OLD | NEW |