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

Side by Side Diff: Source/devtools/front_end/TimelineModel.js

Issue 61923003: Timeline: show impl-side frames on the Timeline overview (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased, addressed review comments, added a test Created 7 years 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 (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 WebInspector.TimelineModel.TransferChunkLengthBytes = 5000000; 47 WebInspector.TimelineModel.TransferChunkLengthBytes = 5000000;
48 48
49 WebInspector.TimelineModel.RecordType = { 49 WebInspector.TimelineModel.RecordType = {
50 Root: "Root", 50 Root: "Root",
51 Program: "Program", 51 Program: "Program",
52 EventDispatch: "EventDispatch", 52 EventDispatch: "EventDispatch",
53 53
54 GPUTask: "GPUTask", 54 GPUTask: "GPUTask",
55 55
56 BeginFrame: "BeginFrame", 56 BeginFrame: "BeginFrame",
57 ActivateLayerTree: "ActivateLayerTree",
57 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", 58 ScheduleStyleRecalculation: "ScheduleStyleRecalculation",
58 RecalculateStyles: "RecalculateStyles", 59 RecalculateStyles: "RecalculateStyles",
59 InvalidateLayout: "InvalidateLayout", 60 InvalidateLayout: "InvalidateLayout",
60 Layout: "Layout", 61 Layout: "Layout",
61 AutosizeText: "AutosizeText", 62 AutosizeText: "AutosizeText",
62 PaintSetup: "PaintSetup", 63 PaintSetup: "PaintSetup",
63 Paint: "Paint", 64 Paint: "Paint",
64 Rasterize: "Rasterize", 65 Rasterize: "Rasterize",
65 ScrollLayer: "ScrollLayer", 66 ScrollLayer: "ScrollLayer",
66 DecodeImage: "DecodeImage", 67 DecodeImage: "DecodeImage",
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 break; 513 break;
513 length += itemLength; 514 length += itemLength;
514 data.push(item); 515 data.push(item);
515 ++this._recordIndex; 516 ++this._recordIndex;
516 } 517 }
517 if (this._recordIndex === this._records.length) 518 if (this._recordIndex === this._records.length)
518 data.push(data.pop() + "]"); 519 data.push(data.pop() + "]");
519 stream.write(data.join(separator), this._writeNextChunk.bind(this)); 520 stream.write(data.join(separator), this._writeNextChunk.bind(this));
520 } 521 }
521 } 522 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelineFrameController.js ('k') | Source/devtools/front_end/TimelineOverviewPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698