OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |