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

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

Issue 1144963002: Timeline: visually distinguish idle frames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 5 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
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFrameOverview.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 /* 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 WebInspector.TimelineModel.RecordType = { 50 WebInspector.TimelineModel.RecordType = {
51 Task: "Task", 51 Task: "Task",
52 Program: "Program", 52 Program: "Program",
53 EventDispatch: "EventDispatch", 53 EventDispatch: "EventDispatch",
54 54
55 GPUTask: "GPUTask", 55 GPUTask: "GPUTask",
56 56
57 Animation: "Animation", 57 Animation: "Animation",
58 RequestMainThreadFrame: "RequestMainThreadFrame", 58 RequestMainThreadFrame: "RequestMainThreadFrame",
59 BeginFrame: "BeginFrame", 59 BeginFrame: "BeginFrame",
60 NeedsBeginFrameChanged: "NeedsBeginFrameChanged",
60 BeginMainThreadFrame: "BeginMainThreadFrame", 61 BeginMainThreadFrame: "BeginMainThreadFrame",
61 ActivateLayerTree: "ActivateLayerTree", 62 ActivateLayerTree: "ActivateLayerTree",
62 DrawFrame: "DrawFrame", 63 DrawFrame: "DrawFrame",
63 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", 64 ScheduleStyleRecalculation: "ScheduleStyleRecalculation",
64 RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateLayoutTree. 65 RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateLayoutTree.
65 UpdateLayoutTree: "UpdateLayoutTree", 66 UpdateLayoutTree: "UpdateLayoutTree",
66 InvalidateLayout: "InvalidateLayout", 67 InvalidateLayout: "InvalidateLayout",
67 Layout: "Layout", 68 Layout: "Layout",
68 UpdateLayer: "UpdateLayer", 69 UpdateLayer: "UpdateLayer",
69 UpdateLayerTree: "UpdateLayerTree", 70 UpdateLayerTree: "UpdateLayerTree",
(...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 /** @type {!Object.<string, !Array.<!WebInspector.InvalidationTrackingEv ent>>} */ 2075 /** @type {!Object.<string, !Array.<!WebInspector.InvalidationTrackingEv ent>>} */
2075 this._invalidations = {}; 2076 this._invalidations = {};
2076 /** @type {!Object.<number, !Array.<!WebInspector.InvalidationTrackingEv ent>>} */ 2077 /** @type {!Object.<number, !Array.<!WebInspector.InvalidationTrackingEv ent>>} */
2077 this._invalidationsByNodeId = {}; 2078 this._invalidationsByNodeId = {};
2078 2079
2079 this._lastRecalcStyle = undefined; 2080 this._lastRecalcStyle = undefined;
2080 this._lastPaintWithLayer = undefined; 2081 this._lastPaintWithLayer = undefined;
2081 this._didPaint = false; 2082 this._didPaint = false;
2082 } 2083 }
2083 } 2084 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFrameOverview.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698