OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
| 3 { |
| 4 "type": "view", |
| 5 "location": "panel", |
| 6 "id": "timeline", |
| 7 "title": "Performance", |
| 8 "order": 50, |
| 9 "className": "Timeline.TimelinePanel" |
| 10 }, |
| 11 { |
| 12 "type": "setting", |
| 13 "category": "Profiler", |
| 14 "title": "Hide chrome frame in Layers view", |
| 15 "settingName": "frameViewerHideChromeWindow", |
| 16 "settingType": "boolean", |
| 17 "defaultValue": false |
| 18 }, |
| 19 { |
| 20 "type": "@Common.QueryParamHandler", |
| 21 "name": "loadTimelineFromURL", |
| 22 "className": "Timeline.LoadTimelineHandler" |
| 23 }, |
| 24 { |
| 25 "type": "context-menu-item", |
| 26 "location": "timelineMenu/open", |
| 27 "actionId": "timeline.load-from-file" |
| 28 }, |
| 29 { |
| 30 "type": "context-menu-item", |
| 31 "location": "timelineMenu/open", |
| 32 "actionId": "timeline.save-to-file" |
| 33 }, |
| 34 { |
| 35 "type": "@UI.ActionDelegate", |
| 36 "actionId": "timeline.toggle-recording", |
| 37 "iconClass": "largeicon-start-recording", |
| 38 "toggledIconClass": "largeicon-stop-recording", |
| 39 "toggleWithRedColor": true, |
| 40 "contextTypes": [ |
| 41 "Timeline.TimelinePanel" |
| 42 ], |
| 43 "className": "Timeline.TimelinePanel.ActionDelegate", |
| 44 "options": [ |
3 { | 45 { |
4 "type": "view", | 46 "value": true, |
5 "location": "panel", | 47 "title": "Record" |
6 "id": "timeline", | |
7 "title": "Performance", | |
8 "order": 50, | |
9 "className": "Timeline.TimelinePanel" | |
10 }, | 48 }, |
11 { | 49 { |
12 "type": "setting", | 50 "value": false, |
13 "category": "Profiler", | 51 "title": "Stop" |
14 "title": "Hide chrome frame in Layers view", | 52 } |
15 "settingName": "frameViewerHideChromeWindow", | 53 ], |
16 "settingType": "boolean", | 54 "bindings": [ |
17 "defaultValue": false | 55 { |
| 56 "platform": "windows,linux", |
| 57 "shortcut": "Ctrl+E" |
18 }, | 58 }, |
19 { | 59 { |
20 "type": "@Common.QueryParamHandler", | 60 "platform": "mac", |
21 "name": "loadTimelineFromURL", | 61 "shortcut": "Meta+E" |
22 "className": "Timeline.LoadTimelineHandler" | 62 } |
| 63 ] |
| 64 }, |
| 65 { |
| 66 "type": "@UI.ActionDelegate", |
| 67 "category": "Timeline", |
| 68 "actionId": "timeline.save-to-file", |
| 69 "contextTypes": [ |
| 70 "Timeline.TimelinePanel" |
| 71 ], |
| 72 "className": "Timeline.TimelinePanel.ActionDelegate", |
| 73 "title": "Save profileā¦", |
| 74 "bindings": [ |
| 75 { |
| 76 "platform": "windows,linux", |
| 77 "shortcut": "Ctrl+S" |
23 }, | 78 }, |
24 { | 79 { |
25 "type": "context-menu-item", | 80 "platform": "mac", |
26 "location": "timelineMenu/open", | 81 "shortcut": "Meta+S" |
27 "actionId": "timeline.load-from-file" | 82 } |
| 83 ] |
| 84 }, |
| 85 { |
| 86 "type": "@UI.ActionDelegate", |
| 87 "category": "Timeline", |
| 88 "actionId": "timeline.load-from-file", |
| 89 "contextTypes": [ |
| 90 "Timeline.TimelinePanel" |
| 91 ], |
| 92 "order": "10", |
| 93 "className": "Timeline.TimelinePanel.ActionDelegate", |
| 94 "title": "Load profileā¦", |
| 95 "bindings": [ |
| 96 { |
| 97 "platform": "windows,linux", |
| 98 "shortcut": "Ctrl+O" |
28 }, | 99 }, |
29 { | 100 { |
30 "type": "context-menu-item", | 101 "platform": "mac", |
31 "location": "timelineMenu/open", | 102 "shortcut": "Meta+O" |
32 "actionId": "timeline.save-to-file" | 103 } |
33 }, | 104 ] |
| 105 }, |
| 106 { |
| 107 "type": "@UI.ActionDelegate", |
| 108 "actionId": "timeline.jump-to-previous-frame", |
| 109 "contextTypes": [ |
| 110 "Timeline.TimelinePanel" |
| 111 ], |
| 112 "className": "Timeline.TimelinePanel.ActionDelegate", |
| 113 "bindings": [ |
34 { | 114 { |
35 "type": "@UI.ActionDelegate", | 115 "shortcut": "[" |
36 "actionId": "timeline.toggle-recording", | 116 } |
37 "iconClass": "largeicon-start-recording", | 117 ] |
38 "toggledIconClass": "largeicon-stop-recording", | 118 }, |
39 "toggleWithRedColor": true, | 119 { |
40 "contextTypes": ["Timeline.TimelinePanel"], | 120 "type": "@UI.ActionDelegate", |
41 "className": "Timeline.TimelinePanel.ActionDelegate", | 121 "actionId": "timeline.jump-to-next-frame", |
42 "options": [ | 122 "contextTypes": [ |
43 { "value": true, "title": "Record" }, | 123 "Timeline.TimelinePanel" |
44 { "value": false, "title": "Stop" } | 124 ], |
45 ], | 125 "className": "Timeline.TimelinePanel.ActionDelegate", |
46 "bindings": [ | 126 "bindings": [ |
47 { | |
48 "platform": "windows,linux", | |
49 "shortcut": "Ctrl+E" | |
50 }, | |
51 { | |
52 "platform": "mac", | |
53 "shortcut": "Meta+E" | |
54 } | |
55 ] | |
56 }, | |
57 { | 127 { |
58 "type": "@UI.ActionDelegate", | 128 "shortcut": "]" |
59 "category": "Timeline", | |
60 "actionId": "timeline.save-to-file", | |
61 "contextTypes": ["Timeline.TimelinePanel"], | |
62 "className": "Timeline.TimelinePanel.ActionDelegate", | |
63 "title": "Save profile\u2026", | |
64 "bindings": [ | |
65 { | |
66 "platform": "windows,linux", | |
67 "shortcut": "Ctrl+S" | |
68 }, | |
69 { | |
70 "platform": "mac", | |
71 "shortcut": "Meta+S" | |
72 } | |
73 ] | |
74 }, | |
75 { | |
76 "type": "@UI.ActionDelegate", | |
77 "category": "Timeline", | |
78 "actionId": "timeline.load-from-file", | |
79 "contextTypes": ["Timeline.TimelinePanel"], | |
80 "order": "10", | |
81 "className": "Timeline.TimelinePanel.ActionDelegate", | |
82 "title": "Load profile\u2026", | |
83 "bindings": [ | |
84 { | |
85 "platform": "windows,linux", | |
86 "shortcut": "Ctrl+O" | |
87 }, | |
88 { | |
89 "platform": "mac", | |
90 "shortcut": "Meta+O" | |
91 } | |
92 ] | |
93 }, | |
94 { | |
95 "type": "@UI.ActionDelegate", | |
96 "actionId": "timeline.jump-to-previous-frame", | |
97 "contextTypes": ["Timeline.TimelinePanel"], | |
98 "className": "Timeline.TimelinePanel.ActionDelegate", | |
99 "bindings": [ | |
100 { | |
101 "shortcut": "[" | |
102 } | |
103 ] | |
104 }, | |
105 { | |
106 "type": "@UI.ActionDelegate", | |
107 "actionId": "timeline.jump-to-next-frame", | |
108 "contextTypes": ["Timeline.TimelinePanel"], | |
109 "className": "Timeline.TimelinePanel.ActionDelegate", | |
110 "bindings": [ | |
111 { | |
112 "shortcut": "]" | |
113 } | |
114 ] | |
115 } | 129 } |
116 ], | 130 ] |
117 "dependencies": [ | 131 } |
118 "components", | 132 ], |
119 "components_lazy", | 133 "dependencies": [ |
120 "layer_viewer", | 134 "components", |
121 "timeline_model", | 135 "layer_viewer", |
122 "ui_lazy" | 136 "timeline_model", |
123 ], | 137 "perf_ui", |
124 "scripts": [ | 138 "data_grid" |
125 "CountersGraph.js", | 139 ], |
126 "ExtensionTracingSession.js", | 140 "scripts": [ |
127 "MemoryCountersGraph.js", | 141 "CountersGraph.js", |
128 "TimelineController.js", | 142 "ExtensionTracingSession.js", |
129 "TimelineLoader.js", | 143 "MemoryCountersGraph.js", |
130 "TimelineEventOverview.js", | 144 "TimelineController.js", |
131 "TimelineFlameChartView.js", | 145 "TimelineLoader.js", |
132 "TimelineFlameChart.js", | 146 "TimelineEventOverview.js", |
133 "TimelineNetworkFlameChart.js", | 147 "TimelineFlameChartView.js", |
134 "TimelineTreeView.js", | 148 "TimelineFlameChart.js", |
135 "TimelineLandingPage.js", | 149 "TimelineNetworkFlameChart.js", |
136 "TimelineUIUtils.js", | 150 "TimelineTreeView.js", |
137 "TimelineLayersView.js", | 151 "TimelineLandingPage.js", |
138 "TimelinePaintProfilerView.js", | 152 "TimelineUIUtils.js", |
139 "TimelinePanel.js" | 153 "TimelineLayersView.js", |
140 ], | 154 "TimelinePaintProfilerView.js", |
141 "resources": [ | 155 "TimelinePanel.js" |
142 "invalidationsTree.css", | 156 ], |
143 "timelineFlamechartPopover.css", | 157 "resources": [ |
144 "timelineLandingPage.css", | 158 "invalidationsTree.css", |
145 "timelinePanel.css", | 159 "timelineFlamechartPopover.css", |
146 "timelinePaintProfiler.css", | 160 "timelineLandingPage.css", |
147 "timelineStatusDialog.css" | 161 "timelinePanel.css", |
148 ] | 162 "timelinePaintProfiler.css", |
149 } | 163 "timelineStatusDialog.css" |
| 164 ] |
| 165 } |
OLD | NEW |