| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @constructor | 8 * @constructor |
| 9 * @extends {WebInspector.TargetAwareObject} | 9 * @extends {WebInspector.TargetAwareObject} |
| 10 */ | 10 */ |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 this.thread = thread; | 289 this.thread = thread; |
| 290 | 290 |
| 291 /** @type {?string} */ | 291 /** @type {?string} */ |
| 292 this.warning = null; | 292 this.warning = null; |
| 293 /** @type {?WebInspector.TracingModel.Event} */ | 293 /** @type {?WebInspector.TracingModel.Event} */ |
| 294 this.initiator = null; | 294 this.initiator = null; |
| 295 /** @type {?Array.<!ConsoleAgent.CallFrame>} */ | 295 /** @type {?Array.<!ConsoleAgent.CallFrame>} */ |
| 296 this.stackTrace = null; | 296 this.stackTrace = null; |
| 297 /** @type {?Element} */ | 297 /** @type {?Element} */ |
| 298 this.previewElement = null; | 298 this.previewElement = null; |
| 299 /** @type {?string} */ |
| 300 this.imageURL = null; |
| 301 /** @type {number} */ |
| 302 this.backendNodeId = 0; |
| 303 |
| 299 /** @type {number} */ | 304 /** @type {number} */ |
| 300 this.selfTime = 0; | 305 this.selfTime = 0; |
| 301 } | 306 } |
| 302 | 307 |
| 303 WebInspector.TracingModel.Event.prototype = { | 308 WebInspector.TracingModel.Event.prototype = { |
| 304 /** | 309 /** |
| 305 * @param {number} duration | 310 * @param {number} duration |
| 306 */ | 311 */ |
| 307 _setDuration: function(duration) | 312 _setDuration: function(duration) |
| 308 { | 313 { |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 dataCollected: function(data) | 552 dataCollected: function(data) |
| 548 { | 553 { |
| 549 this._tracingModel._eventsCollected(data); | 554 this._tracingModel._eventsCollected(data); |
| 550 }, | 555 }, |
| 551 | 556 |
| 552 tracingComplete: function() | 557 tracingComplete: function() |
| 553 { | 558 { |
| 554 this._tracingModel._tracingComplete(); | 559 this._tracingModel._tracingComplete(); |
| 555 } | 560 } |
| 556 } | 561 } |
| OLD | NEW |