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

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

Issue 316553005: Timeline: add trace event to style/category mapping to TracingTimelineUIUtils (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 */ 7 */
8 WebInspector.TimelineTraceEventBindings = function() 8 WebInspector.TimelineTraceEventBindings = function()
9 { 9 {
10 this._reset(); 10 this._reset();
11 } 11 }
12 12
13 WebInspector.TimelineTraceEventBindings.RecordType = { 13 WebInspector.TimelineTraceEventBindings.RecordType = {
14 Program: "Program", 14 Program: "Program",
15 EventDispatch: "EventDispatch", 15 EventDispatch: "EventDispatch",
16 16
17 GPUTask: "GPUTask", 17 GPUTask: "GPUTask",
18 18
19 RequestMainThreadFrame: "RequestMainThreadFrame", 19 RequestMainThreadFrame: "RequestMainThreadFrame",
20 BeginFrame: "BeginFrame", 20 BeginFrame: "BeginFrame",
21 BeginMainThreadFrame: "BeginMainThreadFrame", 21 BeginMainThreadFrame: "BeginMainThreadFrame",
22 ActivateLayerTree: "ActivateLayerTree", 22 ActivateLayerTree: "ActivateLayerTree",
23 DrawFrame: "DrawFrame", 23 DrawFrame: "DrawFrame",
24 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", 24 ScheduleStyleRecalculation: "ScheduleStyleRecalculation",
25 RecalculateStyles: "RecalculateStyles", 25 RecalculateStyles: "RecalculateStyles",
26 InvalidateLayout: "InvalidateLayout", 26 InvalidateLayout: "InvalidateLayout",
27 Layout: "Layout", 27 Layout: "Layout",
28 UpdateLayerTree: "UpdateLayerTree",
29 PaintSetup: "PaintSetup", 28 PaintSetup: "PaintSetup",
30 Paint: "Paint", 29 Paint: "Paint",
31 PaintImage: "PaintImage", 30 PaintImage: "PaintImage",
32 Rasterize: "Rasterize", 31 Rasterize: "Rasterize",
33 RasterTask: "RasterTask", 32 RasterTask: "RasterTask",
34 ScrollLayer: "ScrollLayer", 33 ScrollLayer: "ScrollLayer",
35 CompositeLayers: "CompositeLayers", 34 CompositeLayers: "CompositeLayers",
36 35
37 ParseHTML: "ParseHTML", 36 ParseHTML: "ParseHTML",
38 37
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 { 282 {
284 for (var i = this._eventStack.length - 1; i >= 0; --i) { 283 for (var i = this._eventStack.length - 1; i >= 0; --i) {
285 var event = this._eventStack[i]; 284 var event = this._eventStack[i];
286 if (event.name === name) 285 if (event.name === name)
287 return event; 286 return event;
288 } 287 }
289 return null; 288 return null;
290 } 289 }
291 } 290 }
292 291
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698