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

Side by Side Diff: Source/devtools/front_end/timeline/TracingModel.js

Issue 308123008: DevTools: added support for image url & node in tracing-based timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: skip check for presence of endData in Layout Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineUIUtils.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineUIUtils.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698