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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/TracingModel.js

Issue 2486853002: Timeline: remove TimelineModel inferred properties from TracingModel.Event (Closed)
Patch Set: addressed comments and rebased 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 /* 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 * @unrestricted 8 * @unrestricted
9 */ 9 */
10 WebInspector.TracingModel = class { 10 WebInspector.TracingModel = class {
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 this.name = name; 495 this.name = name;
496 /** @type {!WebInspector.TracingModel.Phase} */ 496 /** @type {!WebInspector.TracingModel.Phase} */
497 this.phase = phase; 497 this.phase = phase;
498 /** @type {number} */ 498 /** @type {number} */
499 this.startTime = startTime; 499 this.startTime = startTime;
500 /** @type {!WebInspector.TracingModel.Thread} */ 500 /** @type {!WebInspector.TracingModel.Thread} */
501 this.thread = thread; 501 this.thread = thread;
502 /** @type {!Object} */ 502 /** @type {!Object} */
503 this.args = {}; 503 this.args = {};
504 504
505 /** @type {?string} */
506 this.warning = null;
507 /** @type {?WebInspector.TracingModel.Event} */
508 this.initiator = null;
509 /** @type {?Array<!Protocol.Runtime.CallFrame>} */
510 this.stackTrace = null;
511 /** @type {?Element} */
512 this.previewElement = null;
513 /** @type {?string} */
514 this.url = null;
515 /** @type {number} */
516 this.backendNodeId = 0;
517
518 /** @type {number} */ 505 /** @type {number} */
519 this.selfTime = 0; 506 this.selfTime = 0;
520 } 507 }
521 508
522 /** 509 /**
523 * @param {!WebInspector.TracingManager.EventPayload} payload 510 * @param {!WebInspector.TracingManager.EventPayload} payload
524 * @param {!WebInspector.TracingModel.Thread} thread 511 * @param {!WebInspector.TracingModel.Thread} thread
525 * @return {!WebInspector.TracingModel.Event} 512 * @return {!WebInspector.TracingModel.Event}
526 */ 513 */
527 static fromPayload(payload, thread) { 514 static fromPayload(payload, thread) {
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 return this._events; 959 return this._events;
973 } 960 }
974 961
975 /** 962 /**
976 * @return {!Array.<!WebInspector.TracingModel.AsyncEvent>} 963 * @return {!Array.<!WebInspector.TracingModel.AsyncEvent>}
977 */ 964 */
978 asyncEvents() { 965 asyncEvents() {
979 return this._asyncEvents; 966 return this._asyncEvents;
980 } 967 }
981 }; 968 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698