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

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: Created 7 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
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 BeginFrame: "BeginFrame", 54 BeginFrame: "BeginFrame",
55 CommitFrame: "CommitFrame",
55 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", 56 ScheduleStyleRecalculation: "ScheduleStyleRecalculation",
56 RecalculateStyles: "RecalculateStyles", 57 RecalculateStyles: "RecalculateStyles",
57 InvalidateLayout: "InvalidateLayout", 58 InvalidateLayout: "InvalidateLayout",
58 Layout: "Layout", 59 Layout: "Layout",
59 AutosizeText: "AutosizeText", 60 AutosizeText: "AutosizeText",
60 PaintSetup: "PaintSetup", 61 PaintSetup: "PaintSetup",
61 Paint: "Paint", 62 Paint: "Paint",
62 Rasterize: "Rasterize", 63 Rasterize: "Rasterize",
63 ScrollLayer: "ScrollLayer", 64 ScrollLayer: "ScrollLayer",
64 DecodeImage: "DecodeImage", 65 DecodeImage: "DecodeImage",
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 break; 504 break;
504 length += itemLength; 505 length += itemLength;
505 data.push(item); 506 data.push(item);
506 ++this._recordIndex; 507 ++this._recordIndex;
507 } 508 }
508 if (this._recordIndex === this._records.length) 509 if (this._recordIndex === this._records.length)
509 data.push(data.pop() + "]"); 510 data.push(data.pop() + "]");
510 stream.write(data.join(separator), this._writeNextChunk.bind(this)); 511 stream.write(data.join(separator), this._writeNextChunk.bind(this));
511 } 512 }
512 } 513 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698