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

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

Issue 301593002: DevTools: process events from all threads in TimelineTraceEventBindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed Created 6 years, 7 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
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 * @implements {WebInspector.TimelineModeView} 9 * @implements {WebInspector.TimelineModeView}
10 * @implements {WebInspector.FlameChartDelegate} 10 * @implements {WebInspector.FlameChartDelegate}
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 pid: 0, 222 pid: 0,
223 tid: 0, 223 tid: 0,
224 ts: 0, 224 ts: 0,
225 ph: "dummy", 225 ph: "dummy",
226 name: "dummy", 226 name: "dummy",
227 args: {}, 227 args: {},
228 dur: 0, 228 dur: 0,
229 id: 0, 229 id: 0,
230 s: "" 230 s: ""
231 } 231 }
232 this._processHeaderRecord = new WebInspector.TracingModel.Event(dummyEventPa yload, 0); 232 this._processHeaderRecord = new WebInspector.TracingModel.Event(dummyEventPa yload, 0, null);
233 this._threadHeaderRecord = new WebInspector.TracingModel.Event(dummyEventPay load, 0); 233 this._threadHeaderRecord = new WebInspector.TracingModel.Event(dummyEventPay load, 0, null);
234 } 234 }
235 235
236 WebInspector.TraceViewFlameChartDataProvider.prototype = { 236 WebInspector.TraceViewFlameChartDataProvider.prototype = {
237 /** 237 /**
238 * @return {number} 238 * @return {number}
239 */ 239 */
240 barHeight: function() 240 barHeight: function()
241 { 241 {
242 return 20; 242 return 20;
243 }, 243 },
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 /** 582 /**
583 * @param {string} string 583 * @param {string} string
584 * @return {string} 584 * @return {string}
585 */ 585 */
586 colorForString: function(string) 586 colorForString: function(string)
587 { 587 {
588 var hash = WebInspector.TraceViewPalette._stringHash(string); 588 var hash = WebInspector.TraceViewPalette._stringHash(string);
589 return this._palette[hash % this._palette.length]; 589 return this._palette[hash % this._palette.length];
590 } 590 }
591 }; 591 };
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineTraceEventBindings.js ('k') | Source/devtools/front_end/timeline/TracingModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698