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

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

Issue 706313002: DevTools: draw load/first paint marks as tall vertical delimiters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFlameChart.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.TimelineUIUtils} 7 * @extends {WebInspector.TimelineUIUtils}
8 */ 8 */
9 WebInspector.TracingTimelineUIUtils = function() 9 WebInspector.TracingTimelineUIUtils = function()
10 { 10 {
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 case recordTypes.MarkDOMContent: 334 case recordTypes.MarkDOMContent:
335 case recordTypes.MarkLoad: 335 case recordTypes.MarkLoad:
336 return event.args["data"]["isMainFrame"]; 336 return event.args["data"]["isMainFrame"];
337 default: 337 default:
338 return false; 338 return false;
339 } 339 }
340 } 340 }
341 341
342 /** 342 /**
343 * @param {!WebInspector.TracingModel.Event} event 343 * @param {!WebInspector.TracingModel.Event} event
344 * @return {boolean}
345 */
346 WebInspector.TracingTimelineUIUtils.isTallMarkerEvent = function(event)
347 {
348 return event.name !== WebInspector.TracingTimelineModel.RecordType.TimeStamp ;
349 }
350
351 /**
352 * @param {!WebInspector.TracingModel.Event} event
344 * @param {!WebInspector.Linkifier} linkifier 353 * @param {!WebInspector.Linkifier} linkifier
345 * @return {?Node} 354 * @return {?Node}
346 */ 355 */
347 WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent = function(eve nt, linkifier) 356 WebInspector.TracingTimelineUIUtils.buildDetailsNodeForTraceEvent = function(eve nt, linkifier)
348 { 357 {
349 var recordType = WebInspector.TracingTimelineModel.RecordType; 358 var recordType = WebInspector.TracingTimelineModel.RecordType;
350 var target = event.thread.target(); 359 var target = event.thread.target();
351 var details; 360 var details;
352 var detailsText; 361 var detailsText;
353 var eventData = event.args["data"]; 362 var eventData = event.args["data"];
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 return result; 989 return result;
981 } 990 }
982 991
983 /** 992 /**
984 * @return {!WebInspector.TracingTimelineModel.Filter} 993 * @return {!WebInspector.TracingTimelineModel.Filter}
985 */ 994 */
986 WebInspector.TracingTimelineUIUtils.hiddenEventsFilter = function() 995 WebInspector.TracingTimelineUIUtils.hiddenEventsFilter = function()
987 { 996 {
988 return new WebInspector.TracingTimelineModel.InclusiveEventNameFilter(WebIns pector.TracingTimelineUIUtils._visibleTypes()); 997 return new WebInspector.TracingTimelineModel.InclusiveEventNameFilter(WebIns pector.TracingTimelineUIUtils._visibleTypes());
989 } 998 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFlameChart.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698