Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / devtools / front_end / main / module.json
blob9bd334abf2a714f3f56c6497fa1b3655d038a75d
2     "extensions": [
3         {
4             "type": "@WebInspector.AppProvider",
5             "condition": "can_dock",
6             "className": "WebInspector.AdvancedAppProvider",
7             "order": 0
8         },
9         {
10             "type": "@WebInspector.AppProvider",
11             "className": "WebInspector.SimpleAppProvider",
12             "order": 10
13         },
14         {
15             "type": "@WebInspector.ContextMenu.Provider",
16             "contextTypes": ["WebInspector.UISourceCode", "WebInspector.Resource", "WebInspector.NetworkRequest", "Node"],
17             "className": "WebInspector.HandlerRegistry.ContextMenuProvider"
18         },
19         {
20             "type": "@WebInspector.ActionDelegate",
21             "actionId": "main.reload",
22             "className": "WebInspector.Main.ReloadActionDelegate",
23             "bindings": [
24                 {
25                     "platform": "windows,linux",
26                     "shortcut": "F5 Ctrl+R"
27                 },
28                 {
29                     "platform": "mac",
30                     "shortcut": "Meta+R"
31                 }
32             ]
33         },
34         {
35             "type": "@WebInspector.ActionDelegate",
36             "actionId": "main.hard-reload",
37             "className": "WebInspector.Main.ReloadActionDelegate",
38             "bindings": [
39                 {
40                     "platform": "windows,linux",
41                     "shortcut": "Shift+F5 Ctrl+F5 Ctrl+Shift+F5 Shift+Ctrl+R"
42                 },
43                 {
44                     "platform": "mac",
45                     "shortcut": "Shift+Meta+R"
46                 }
47             ]
48         },
49         {
50             "type": "@WebInspector.ActionDelegate",
51             "actionId": "main.toggle-drawer",
52             "className": "WebInspector.InspectorView.DrawerToggleActionDelegate",
53             "bindings": [
54                 {
55                     "shortcut": "Esc"
56                 }
57             ]
58         },
59         {
60             "type": "@WebInspector.ActionDelegate",
61             "actionId": "main.debug-reload",
62             "className": "WebInspector.Main.ReloadActionDelegate",
63             "bindings": [
64                 {
65                     "shortcut": "Alt+R"
66                 }
67             ]
68         },
69         {
70             "type": "@WebInspector.ActionDelegate",
71             "actionId": "main.toggle-element-search",
72             "className": "WebInspector.InspectElementModeController.ToggleSearchActionDelegate",
73             "bindings": [
74                 {
75                     "platform": "windows,linux",
76                     "shortcut": "Ctrl+Shift+C"
77                 },
78                 {
79                     "platform": "mac",
80                     "shortcut": "Meta+Shift+C"
81                 }
82             ]
83         },
84         {
85             "type": "@WebInspector.ActionDelegate",
86             "actionId": "main.toggle-dock",
87             "className": "WebInspector.DockController.ToggleDockActionDelegate",
88             "bindings": [
89                 {
90                     "platform": "windows,linux",
91                     "shortcut": "Ctrl+Shift+D"
92                 },
93                 {
94                     "platform": "mac",
95                     "shortcut": "Meta+Shift+D"
96                 }
97             ]
98         },
99         {
100             "type": "@WebInspector.ActionDelegate",
101             "actionId": "main.zoom-in",
102             "className": "WebInspector.Main.ZoomActionDelegate",
103             "bindings": [
104                 {
105                     "platform": "windows,linux",
106                     "shortcut": "Ctrl+Plus Ctrl+Shift+Plus Ctrl+NumpadPlus Ctrl+Shift+NumpadPlus"
107                 },
108                 {
109                     "platform": "mac",
110                     "shortcut": "Meta+Plus Meta+Shift+Plus Meta+NumpadPlus Meta+Shift+NumpadPlus"
111                 }
112             ]
113         },
114         {
115             "type": "@WebInspector.ActionDelegate",
116             "actionId": "main.zoom-out",
117             "className": "WebInspector.Main.ZoomActionDelegate",
118             "bindings": [
119                 {
120                     "platform": "windows,linux",
121                     "shortcut": "Ctrl+Minus Ctrl+Shift+Minus Ctrl+NumpadMinus Ctrl+Shift+NumpadMinus"
122                 },
123                 {
124                     "platform": "mac",
125                     "shortcut": "Meta+Minus Meta+Shift+Minus Meta+NumpadMinus Meta+Shift+NumpadMinus"
126                 }
127             ]
128         },
129         {
130             "type": "@WebInspector.ActionDelegate",
131             "actionId": "main.zoom-reset",
132             "className": "WebInspector.Main.ZoomActionDelegate",
133             "bindings": [
134                 {
135                     "platform": "windows,linux",
136                     "shortcut": "Ctrl+0 Ctrl+Numpad0"
137                 },
138                 {
139                     "platform": "mac",
140                     "shortcut": "Meta+0 Meta+Numpad0"
141                 }
142             ]
143         },
144         {
145             "type": "@WebInspector.ActionDelegate",
146             "actionId": "main.inspect-devices",
147             "title": "Inspect devices\u2026",
148             "className": "WebInspector.Main.InspectDevicesActionDelegate",
149             "experiment": "!inspectDevicesDialog"
150         },
151         {
152             "type": "drawer-view",
153             "name": "rendering",
154             "title": "Rendering",
155             "order": "11",
156             "className": "WebInspector.RenderingOptions.View",
157             "experiment": "!materialDesign"
158         },
159         {
160             "type": "@WebInspector.ToolbarItem.Provider",
161             "className": "WebInspector.InspectElementModeController.ToggleButtonProvider",
162             "location": "main-toolbar-left",
163             "order": 0,
164             "actionId": "main.toggle-element-search"
165         },
166         {
167             "type": "@WebInspector.ToolbarItem.Provider",
168             "separator": true,
169             "location": "main-toolbar-left",
170             "order": 100
171         },
172         {
173             "type": "@WebInspector.ToolbarItem.Provider",
174             "className": "WebInspector.Main.WarningErrorCounter",
175             "order": 1,
176             "location": "main-toolbar-right"
177         },
178         {
179             "type": "@WebInspector.ToolbarItem.Provider",
180             "separator": true,
181             "order": 98,
182             "location": "main-toolbar-right"
183         },
184         {
185             "type": "@WebInspector.ToolbarItem.Provider",
186             "className": "WebInspector.Main.MainMenuItem",
187             "order": 99,
188             "location": "main-toolbar-right"
189         },
190         {
191             "type": "@WebInspector.ToolbarItem.Provider",
192             "className": "WebInspector.DockController.CloseButtonProvider",
193             "order": 100,
194             "location": "main-toolbar-right"
195         },
196         {
197             "type": "setting",
198             "category": "",
199             "title": "Disable cache (while DevTools is open)",
200             "settingName": "cacheDisabled",
201             "settingType": "boolean",
202             "defaultValue": false
203         },
204         {
205             "type": "setting",
206             "settingName": "networkConditions",
207             "settingType": "object",
208             "defaultValue": { "throughput": -1, "latency": 0 }
209         },
210         {
211             "type": "setting",
212             "category": "",
213             "title": "Disable JavaScript",
214             "settingName": "javaScriptDisabled",
215             "settingType": "boolean",
216             "defaultValue": false
217         },
218         {
219             "type": "setting",
220             "category": "Appearance",
221             "title": "Panel layout:",
222             "settingName": "sidebarPosition",
223             "settingType": "enum",
224             "defaultValue": "auto",
225             "options": [
226                 ["horizontal", "bottom"],
227                 ["vertical", "right"],
228                 ["auto", "auto"]
229             ]
230         },
231         {
232             "type": "setting",
233             "category": "Appearance",
234             "title": "Enable Ctrl + 1-9 shortcut to switch panels",
235             "title-mac": "Enable Cmd + 1-9 shortcut to switch panels",
236             "settingName": "shortcutPanelSwitch",
237             "settingType": "boolean",
238             "defaultValue": false
239         },
240         {
241             "type": "setting",
242             "category": "Appearance",
243             "title": "Don't show emulation warnings",
244             "settingName": "disableOverridesWarning",
245             "settingType": "boolean",
246             "defaultValue": false
247         },
248         {
249             "type": "setting",
250             "category": "Appearance",
251             "title": "Don't show Chrome Data Saver warning",
252             "settingName": "disableDataSaverInfobar",
253             "settingType": "boolean",
254             "defaultValue": false
255         },
256         {
257             "type": "setting",
258             "category": "Appearance",
259             "title": "Disable paused state overlay",
260             "settingName": "disablePausedStateOverlay",
261             "settingType": "boolean",
262             "defaultValue": false
263         },
264         {
265             "type": "@WebInspector.SettingUI",
266             "category": "Extensions",
267             "className": "WebInspector.HandlerRegistry.OpenAnchorLocationSettingUI"
268         },
269         {
270             "type": "@WebInspector.ToolbarItem.Provider",
271             "className": "WebInspector.RenderingOptions.ButtonProvider",
272             "order": 1,
273             "location": "elements-toolbar",
274             "experiment": "materialDesign"
275         },
276         {
277             "type": "@WebInspector.ToolbarItem.Provider",
278             "separator": "true",
279             "order": 2,
280             "location": "elements-toolbar",
281             "experiment": "materialDesign"
282         },
283         {
284             "type": "context-menu-item",
285             "location": "mainMenu/navigate",
286             "order": 100,
287             "actionId": "main.inspect-devices",
288             "experiment": "!inspectDevicesDialog"
289         },
290         {
291             "type": "setting",
292             "settingName": "showPaintRects",
293             "settingType": "boolean",
294             "defaultValue": false
295         },
296         {
297             "type": "setting",
298             "settingName": "showDebugBorders",
299             "settingType": "boolean",
300             "defaultValue": false
301         },
302         {
303             "type": "setting",
304             "settingName": "showFPSCounter",
305             "settingType": "boolean",
306             "defaultValue": false
307         },
308         {
309             "type": "setting",
310             "settingName": "showScrollBottleneckRects",
311             "settingType": "boolean",
312             "defaultValue": false
313         }
314     ],
315     "dependencies": [
316         "extensions",
317         "host",
318         "platform",
319         "sdk",
320         "emulation"
321     ],
322     "scripts": [
323         "HelpScreenUntilReload.js",
324         "AdvancedApp.js",
325         "FrontendWebSocketAPI.js",
326         "RenderingOptions.js",
327         "SimpleApp.js",
328         "TestController.js",
329         "Tests.js",
330         "OverlayController.js",
331         "Main.js"
332     ],
333     "skip_compilation": [
334         "Tests.js"
335     ],
336     "resources": [
337     ]