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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/module.json

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fix externs (PerfUI) Created 3 years, 11 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
OLDNEW
1 { 1 {
2 "extensions": [ 2 "extensions": [
3 { 3 {
4 "type": "view", 4 "type": "view",
5 "location": "panel", 5 "location": "panel",
6 "id": "timeline", 6 "id": "timeline",
7 "title": "Performance", 7 "title": "Performance",
8 "order": 50, 8 "order": 50,
9 "className": "Timeline.TimelinePanel" 9 "className": "Timeline.TimelinePanel"
10 }, 10 },
(...skipping 19 matching lines...) Expand all
30 "type": "context-menu-item", 30 "type": "context-menu-item",
31 "location": "timelineMenu/open", 31 "location": "timelineMenu/open",
32 "actionId": "timeline.save-to-file" 32 "actionId": "timeline.save-to-file"
33 }, 33 },
34 { 34 {
35 "type": "@UI.ActionDelegate", 35 "type": "@UI.ActionDelegate",
36 "actionId": "timeline.toggle-recording", 36 "actionId": "timeline.toggle-recording",
37 "iconClass": "largeicon-start-recording", 37 "iconClass": "largeicon-start-recording",
38 "toggledIconClass": "largeicon-stop-recording", 38 "toggledIconClass": "largeicon-stop-recording",
39 "toggleWithRedColor": true, 39 "toggleWithRedColor": true,
40 "contextTypes": ["Timeline.TimelinePanel"], 40 "contextTypes": [
41 "Timeline.TimelinePanel"
42 ],
41 "className": "Timeline.TimelinePanel.ActionDelegate", 43 "className": "Timeline.TimelinePanel.ActionDelegate",
42 "options": [ 44 "options": [
43 { "value": true, "title": "Record" }, 45 {
44 { "value": false, "title": "Stop" } 46 "value": true,
47 "title": "Record"
48 },
49 {
50 "value": false,
51 "title": "Stop"
52 }
45 ], 53 ],
46 "bindings": [ 54 "bindings": [
47 { 55 {
48 "platform": "windows,linux", 56 "platform": "windows,linux",
49 "shortcut": "Ctrl+E" 57 "shortcut": "Ctrl+E"
50 }, 58 },
51 { 59 {
52 "platform": "mac", 60 "platform": "mac",
53 "shortcut": "Meta+E" 61 "shortcut": "Meta+E"
54 } 62 }
55 ] 63 ]
56 }, 64 },
57 { 65 {
58 "type": "@UI.ActionDelegate", 66 "type": "@UI.ActionDelegate",
59 "category": "Timeline", 67 "category": "Timeline",
60 "actionId": "timeline.save-to-file", 68 "actionId": "timeline.save-to-file",
61 "contextTypes": ["Timeline.TimelinePanel"], 69 "contextTypes": [
70 "Timeline.TimelinePanel"
71 ],
62 "className": "Timeline.TimelinePanel.ActionDelegate", 72 "className": "Timeline.TimelinePanel.ActionDelegate",
63 "title": "Save profile\u2026", 73 "title": "Save profile\u2026",
64 "bindings": [ 74 "bindings": [
65 { 75 {
66 "platform": "windows,linux", 76 "platform": "windows,linux",
67 "shortcut": "Ctrl+S" 77 "shortcut": "Ctrl+S"
68 }, 78 },
69 { 79 {
70 "platform": "mac", 80 "platform": "mac",
71 "shortcut": "Meta+S" 81 "shortcut": "Meta+S"
72 } 82 }
73 ] 83 ]
74 }, 84 },
75 { 85 {
76 "type": "@UI.ActionDelegate", 86 "type": "@UI.ActionDelegate",
77 "category": "Timeline", 87 "category": "Timeline",
78 "actionId": "timeline.load-from-file", 88 "actionId": "timeline.load-from-file",
79 "contextTypes": ["Timeline.TimelinePanel"], 89 "contextTypes": [
90 "Timeline.TimelinePanel"
91 ],
80 "order": "10", 92 "order": "10",
81 "className": "Timeline.TimelinePanel.ActionDelegate", 93 "className": "Timeline.TimelinePanel.ActionDelegate",
82 "title": "Load profile\u2026", 94 "title": "Load profile\u2026",
83 "bindings": [ 95 "bindings": [
84 { 96 {
85 "platform": "windows,linux", 97 "platform": "windows,linux",
86 "shortcut": "Ctrl+O" 98 "shortcut": "Ctrl+O"
87 }, 99 },
88 { 100 {
89 "platform": "mac", 101 "platform": "mac",
90 "shortcut": "Meta+O" 102 "shortcut": "Meta+O"
91 } 103 }
92 ] 104 ]
93 }, 105 },
94 { 106 {
95 "type": "@UI.ActionDelegate", 107 "type": "@UI.ActionDelegate",
96 "actionId": "timeline.jump-to-previous-frame", 108 "actionId": "timeline.jump-to-previous-frame",
97 "contextTypes": ["Timeline.TimelinePanel"], 109 "contextTypes": [
110 "Timeline.TimelinePanel"
111 ],
98 "className": "Timeline.TimelinePanel.ActionDelegate", 112 "className": "Timeline.TimelinePanel.ActionDelegate",
99 "bindings": [ 113 "bindings": [
100 { 114 {
101 "shortcut": "[" 115 "shortcut": "["
102 } 116 }
103 ] 117 ]
104 }, 118 },
105 { 119 {
106 "type": "@UI.ActionDelegate", 120 "type": "@UI.ActionDelegate",
107 "actionId": "timeline.jump-to-next-frame", 121 "actionId": "timeline.jump-to-next-frame",
108 "contextTypes": ["Timeline.TimelinePanel"], 122 "contextTypes": [
123 "Timeline.TimelinePanel"
124 ],
109 "className": "Timeline.TimelinePanel.ActionDelegate", 125 "className": "Timeline.TimelinePanel.ActionDelegate",
110 "bindings": [ 126 "bindings": [
111 { 127 {
112 "shortcut": "]" 128 "shortcut": "]"
113 } 129 }
114 ] 130 ]
115 } 131 }
116 ], 132 ],
117 "dependencies": [ 133 "dependencies": [
118 "components", 134 "components",
119 "components_lazy", 135 "components_lazy",
120 "layer_viewer", 136 "layer_viewer",
121 "timeline_model", 137 "timeline_model",
122 "ui_lazy" 138 "ui_lazy",
139 "perf_ui",
140 "extensions"
123 ], 141 ],
124 "scripts": [ 142 "scripts": [
125 "CountersGraph.js", 143 "CountersGraph.js",
126 "ExtensionTracingSession.js", 144 "ExtensionTracingSession.js",
127 "MemoryCountersGraph.js", 145 "MemoryCountersGraph.js",
128 "TimelineController.js", 146 "TimelineController.js",
129 "TimelineLoader.js", 147 "TimelineLoader.js",
130 "TimelineEventOverview.js", 148 "TimelineEventOverview.js",
131 "TimelineFlameChartView.js", 149 "TimelineFlameChartView.js",
132 "TimelineFlameChart.js", 150 "TimelineFlameChart.js",
133 "TimelineNetworkFlameChart.js", 151 "TimelineNetworkFlameChart.js",
134 "TimelineTreeView.js", 152 "TimelineTreeView.js",
135 "TimelineLandingPage.js", 153 "TimelineLandingPage.js",
136 "TimelineUIUtils.js", 154 "TimelineUIUtils.js",
137 "TimelineLayersView.js", 155 "TimelineLayersView.js",
138 "TimelinePaintProfilerView.js", 156 "TimelinePaintProfilerView.js",
139 "TimelinePanel.js" 157 "TimelinePanel.js"
140 ], 158 ],
141 "resources": [ 159 "resources": [
142 "invalidationsTree.css", 160 "invalidationsTree.css",
143 "timelineFlamechartPopover.css", 161 "timelineFlamechartPopover.css",
144 "timelineLandingPage.css", 162 "timelineLandingPage.css",
145 "timelinePanel.css", 163 "timelinePanel.css",
146 "timelinePaintProfiler.css", 164 "timelinePaintProfiler.css",
147 "timelineStatusDialog.css" 165 "timelineStatusDialog.css"
148 ] 166 ]
149 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698