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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 | 50 |
51 Animation: "Animation", | 51 Animation: "Animation", |
52 RequestMainThreadFrame: "RequestMainThreadFrame", | 52 RequestMainThreadFrame: "RequestMainThreadFrame", |
53 BeginFrame: "BeginFrame", | 53 BeginFrame: "BeginFrame", |
54 NeedsBeginFrameChanged: "NeedsBeginFrameChanged", | 54 NeedsBeginFrameChanged: "NeedsBeginFrameChanged", |
55 BeginMainThreadFrame: "BeginMainThreadFrame", | 55 BeginMainThreadFrame: "BeginMainThreadFrame", |
56 ActivateLayerTree: "ActivateLayerTree", | 56 ActivateLayerTree: "ActivateLayerTree", |
57 DrawFrame: "DrawFrame", | 57 DrawFrame: "DrawFrame", |
58 HitTest: "HitTest", | 58 HitTest: "HitTest", |
59 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", | 59 ScheduleStyleRecalculation: "ScheduleStyleRecalculation", |
60 RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateLayoutTree. | 60 RecalculateStyles: "RecalculateStyles", // For backwards compatibility only, now replaced by UpdateStyleAndLayoutTree. |
61 UpdateLayoutTree: "UpdateLayoutTree", | 61 UpdateStyleAndLayoutTree: "UpdateStyleAndLayoutTree", |
samli
2016/05/10 03:44:00
I think this might actually need to stick around f
| |
62 InvalidateLayout: "InvalidateLayout", | 62 InvalidateLayout: "InvalidateLayout", |
63 Layout: "Layout", | 63 Layout: "Layout", |
64 UpdateLayer: "UpdateLayer", | 64 UpdateLayer: "UpdateLayer", |
65 UpdateLayerTree: "UpdateLayerTree", | 65 UpdateLayerTree: "UpdateLayerTree", |
66 PaintSetup: "PaintSetup", | 66 PaintSetup: "PaintSetup", |
67 Paint: "Paint", | 67 Paint: "Paint", |
68 PaintImage: "PaintImage", | 68 PaintImage: "PaintImage", |
69 Rasterize: "Rasterize", | 69 Rasterize: "Rasterize", |
70 RasterTask: "RasterTask", | 70 RasterTask: "RasterTask", |
71 ScrollLayer: "ScrollLayer", | 71 ScrollLayer: "ScrollLayer", |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
817 switch (event.name) { | 817 switch (event.name) { |
818 case recordTypes.ResourceSendRequest: | 818 case recordTypes.ResourceSendRequest: |
819 case recordTypes.WebSocketCreate: | 819 case recordTypes.WebSocketCreate: |
820 event.url = event.args["data"]["url"]; | 820 event.url = event.args["data"]["url"]; |
821 break; | 821 break; |
822 | 822 |
823 case recordTypes.ScheduleStyleRecalculation: | 823 case recordTypes.ScheduleStyleRecalculation: |
824 this._lastScheduleStyleRecalculation[event.args["data"]["frame"]] = event; | 824 this._lastScheduleStyleRecalculation[event.args["data"]["frame"]] = event; |
825 break; | 825 break; |
826 | 826 |
827 case recordTypes.UpdateLayoutTree: | 827 case recordTypes.UpdateStyleAndLayoutTree: |
828 case recordTypes.RecalculateStyles: | 828 case recordTypes.RecalculateStyles: |
829 this._invalidationTracker.didRecalcStyle(event); | 829 this._invalidationTracker.didRecalcStyle(event); |
830 if (event.args["beginData"]) | 830 if (event.args["beginData"]) |
831 event.initiator = this._lastScheduleStyleRecalculation[event.arg s["beginData"]["frame"]]; | 831 event.initiator = this._lastScheduleStyleRecalculation[event.arg s["beginData"]["frame"]]; |
832 this._lastRecalculateStylesEvent = event; | 832 this._lastRecalculateStylesEvent = event; |
833 if (this._currentScriptEvent) | 833 if (this._currentScriptEvent) |
834 event.warning = WebInspector.TimelineModel.WarningType.ForcedSty le; | 834 event.warning = WebInspector.TimelineModel.WarningType.ForcedSty le; |
835 break; | 835 break; |
836 | 836 |
837 case recordTypes.ScheduleStyleInvalidationTracking: | 837 case recordTypes.ScheduleStyleInvalidationTracking: |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1767 }, | 1767 }, |
1768 | 1768 |
1769 /** | 1769 /** |
1770 * @return {!Map<string, !Map<number, number>>} | 1770 * @return {!Map<string, !Map<number, number>>} |
1771 */ | 1771 */ |
1772 files: function() | 1772 files: function() |
1773 { | 1773 { |
1774 return this._files; | 1774 return this._files; |
1775 } | 1775 } |
1776 } | 1776 } |
OLD | NEW |