Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / devtools / front_end / sources / module.json
blobfd3ed8bb08abadec8e64fe8e69f87df62f48d963
2     "extensions": [
3         {
4             "type": "@WebInspector.PanelFactory",
5             "name": "sources",
6             "title": "Sources",
7             "order": 30,
8             "className": "WebInspector.SourcesPanelFactory"
9         },
10         {
11             "type": "@WebInspector.ContextMenu.Provider",
12             "contextTypes": ["WebInspector.UISourceCode", "WebInspector.UILocation", "WebInspector.RemoteObject", "WebInspector.NetworkRequest"],
13             "className": "WebInspector.SourcesPanel.ContextMenuProvider"
14         },
15         {
16             "type": "@WebInspector.ActionDelegate",
17             "actionId": "debugger.toggle-pause",
18             "className": "WebInspector.SourcesPanel.RevealingActionDelegate",
19             "contextTypes": ["WebInspector.SourcesPanel", "WebInspector.ShortcutRegistry.ForwardedShortcut"],
20             "bindings": [
21                 {
22                     "platform": "windows,linux",
23                     "shortcut": "F8 Ctrl+\\"
24                 },
25                 {
26                     "platform": "mac",
27                     "shortcut": "F8 Meta+\\"
28                 }
29             ]
30         },
31         {
32             "type": "@WebInspector.ActionDelegate",
33             "actionId": "debugger.step-over",
34             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
35             "contextTypes": ["WebInspector.SourcesPanel"],
36             "bindings": [
37                 {
38                     "platform": "windows,linux",
39                     "shortcut": "F10 Ctrl+'"
40                 },
41                 {
42                     "platform": "mac",
43                     "shortcut": "F10 Meta+'"
44                 }
45             ]
46         },
47         {
48             "type": "@WebInspector.ActionDelegate",
49             "actionId": "debugger.step-into",
50             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
51             "contextTypes": ["WebInspector.SourcesPanel"],
52             "bindings": [
53                 {
54                     "platform": "windows,linux",
55                     "shortcut": "F11 Ctrl+;"
56                 },
57                 {
58                     "platform": "mac",
59                     "shortcut": "F11 Meta+;"
60                 }
61             ]
62         },
63         {
64             "type": "@WebInspector.ActionDelegate",
65             "actionId": "debugger.step-into-async",
66             "experiment": "stepIntoAsync",
67             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
68             "contextTypes": ["WebInspector.SourcesPanel"],
69             "bindings": [
70                 {
71                     "platform": "windows,linux",
72                     "shortcut": "Alt+F11 Alt+Ctrl+;"
73                 },
74                 {
75                     "platform": "mac",
76                     "shortcut": "Alt+F11 Alt+Meta+;"
77                 }
78             ]
79         },
80         {
81             "type": "@WebInspector.ActionDelegate",
82             "actionId": "debugger.step-out",
83             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
84             "contextTypes": ["WebInspector.SourcesPanel"],
85             "bindings": [
86                 {
87                     "platform": "windows,linux",
88                     "shortcut": "Shift+F11 Shift+Ctrl+;"
89                 },
90                 {
91                     "platform": "mac",
92                     "shortcut": "Shift+F11 Shift+Meta+;"
93                 }
94             ]
95         },
96         {
97             "type": "@WebInspector.ActionDelegate",
98             "actionId": "debugger.run-snippet",
99             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
100             "contextTypes": ["WebInspector.SourcesPanel"],
101             "bindings": [
102                 {
103                     "platform": "windows,linux",
104                     "shortcut": "Ctrl+Enter"
105                 },
106                 {
107                     "platform": "mac",
108                     "shortcut": "Meta+Enter"
109                 }
110             ]
111         },
112         {
113             "type": "@WebInspector.ActionDelegate",
114             "actionId": "sources.search.toggle",
115             "title": "Search all files",
116             "className": "WebInspector.AdvancedSearchView.ActionDelegate",
117             "bindings": [
118                 {
119                     "platform": "mac",
120                     "shortcut": "Meta+Alt+F"
121                 },
122                 {
123                     "platform": "windows,linux",
124                     "shortcut": "Ctrl+Shift+F"
125                 }
126             ]
127         },
128         {
129             "type": "@WebInspector.ActionDelegate",
130             "actionId": "debugger.toggle-breakpoints-active",
131             "iconClass": "breakpoint-toolbar-item",
132             "className": "WebInspector.SourcesPanel.DebuggingActionDelegate",
133             "contextTypes": ["WebInspector.SourcesPanel"],
134             "bindings": [
135                 {
136                     "platform": "windows,linux",
137                     "shortcut": "Ctrl+F8"
138                 },
139                 {
140                     "platform": "mac",
141                     "shortcut": "Meta+F8"
142                 }
143             ]
144         },
145         {
146             "type": "context-menu-item",
147             "location": "mainMenu/navigate",
148             "actionId": "sources.search.toggle"
149         },
150         {
151             "type": "@WebInspector.Revealer",
152             "contextTypes": ["WebInspector.UILocation"],
153             "className": "WebInspector.SourcesPanel.UILocationRevealer"
154         },
155         {
156             "type": "@WebInspector.Revealer",
157             "contextTypes": ["WebInspector.DebuggerModel.Location"],
158             "className": "WebInspector.SourcesPanel.DebuggerLocationRevealer"
159         },
160         {
161             "type": "@WebInspector.Revealer",
162             "contextTypes": ["WebInspector.UISourceCode"],
163             "className": "WebInspector.SourcesPanel.UISourceCodeRevealer"
164         },
165         {
166             "type": "@WebInspector.Revealer",
167             "contextTypes": ["WebInspector.DebuggerPausedDetails"],
168             "className": "WebInspector.SourcesPanel.DebuggerPausedDetailsRevealer"
169         },
170         {
171             "type": "@WebInspector.SourcesView.EditorAction",
172             "className": "WebInspector.InplaceFormatterEditorAction"
173         },
174         {
175             "type": "@WebInspector.SourcesView.EditorAction",
176             "className": "WebInspector.ScriptFormatterEditorAction"
177         },
178         {
179             "type": "navigator-view",
180             "name": "sources",
181             "title": "Sources",
182             "order": 1,
183             "className": "WebInspector.SourcesNavigatorView"
184         },
185         {
186             "type": "navigator-view",
187             "name": "contentScripts",
188             "title": "Content scripts",
189             "order": 2,
190             "className": "WebInspector.ContentScriptsNavigatorView"
191         },
192         {
193             "type": "navigator-view",
194             "name": "snippets",
195             "title": "Snippets",
196             "order": 3,
197             "className": "WebInspector.SnippetsNavigatorView"
198         },
199         {
200             "type": "@WebInspector.ActionDelegate",
201             "actionId": "sources.go-to-source",
202             "className": "WebInspector.SourcesPanel.RevealingActionDelegate",
203             "bindings": [
204                 {
205                     "platform": "mac",
206                     "shortcut": "Meta+O Meta+P"
207                 },
208                 {
209                     "platform": "windows,linux",
210                     "shortcut": "Ctrl+O Ctrl+P"
211                 }
212             ]
213         },
214         {
215             "type": "@WebInspector.ActionDelegate",
216             "actionId": "sources.switch-file",
217             "className": "WebInspector.SourcesView.SwitchFileActionDelegate",
218             "contextTypes": ["WebInspector.SourcesView"],
219             "bindings": [
220                 {
221                     "shortcut": "Alt+O"
222                 }
223             ]
224         },
225         {
226             "type": "setting",
227             "category": "Sources",
228             "title": "Search in content scripts",
229             "settingName": "searchInContentScripts",
230             "settingType": "boolean",
231             "defaultValue": false
232         },
233         {
234             "type": "setting",
235             "category": "Sources",
236             "title": "Enable JavaScript source maps",
237             "settingName": "jsSourceMapsEnabled",
238             "settingType": "boolean",
239             "defaultValue": true
240         },
241         {
242             "type": "setting",
243             "category": "Sources",
244             "title": "Detect indentation",
245             "settingName": "textEditorAutoDetectIndent",
246             "settingType": "boolean",
247             "defaultValue": true
248         },
249         {
250             "type": "setting",
251             "category": "Sources",
252             "title": "Autocompletion",
253             "settingName": "textEditorAutocompletion",
254             "settingType": "boolean",
255             "defaultValue": true
256         },
257         {
258             "type": "setting",
259             "category": "Sources",
260             "title": "Bracket matching",
261             "settingName": "textEditorBracketMatching",
262             "settingType": "boolean",
263             "defaultValue": true
264         },
265         {
266             "type": "setting",
267             "category": "Sources",
268             "title": "Show whitespace characters:",
269             "settingName": "showWhitespacesInEditor",
270             "settingType": "enum",
271             "defaultValue": "original",
272             "options": [
273                 ["None", "none"],
274                 ["All", "all"],
275                 ["Trailing", "trailing"]
276             ]
277         },
278         {
279             "type": "setting",
280             "category": "Sources",
281             "title": "Display variable values inline while debugging",
282             "settingName": "inlineVariableValues",
283             "settingType": "boolean",
284             "defaultValue": true
285         },
286         {
287             "type": "setting",
288             "category": "Sources",
289             "title": "Enable CSS source maps",
290             "settingName": "cssSourceMapsEnabled",
291             "settingType": "boolean",
292             "defaultValue": true
293         },
294         {
295             "type": "setting",
296             "title": "Auto-reload generated CSS",
297             "parentSettingName": "cssSourceMapsEnabled",
298             "settingName": "cssReloadEnabled",
299             "settingType": "boolean",
300             "defaultValue": false
301         }
302     ],
303     "dependencies": [
304         "components",
305         "diff",
306         "source_frame",
307         "snippets",
308         "extensions"
309     ],
310     "scripts": [
311         "UIList.js",
312         "AddSourceMapURLDialog.js",
313         "AsyncOperationsSidebarPane.js",
314         "CallStackSidebarPane.js",
315         "SimpleHistoryManager.js",
316         "EditingLocationHistoryManager.js",
317         "EventListenerBreakpointsSidebarPane.js",
318         "FilePathScoreFunction.js",
319         "FilteredItemSelectionDialog.js",
320         "UISourceCodeFrame.js",
321         "JavaScriptBreakpointsSidebarPane.js",
322         "JavaScriptSourceFrame.js",
323         "CSSSourceFrame.js",
324         "NavigatorView.js",
325         "RevisionHistoryView.js",
326         "ScopeChainSidebarPane.js",
327         "ServiceWorkersSidebarPane.js",
328         "SourcesNavigator.js",
329         "StyleSheetOutlineDialog.js",
330         "TabbedEditorContainer.js",
331         "WatchExpressionsSidebarPane.js",
332         "ThreadsSidebarPane.js",
333         "ScriptFormatterEditorAction.js",
334         "InplaceFormatterEditorAction.js",
335         "ScriptFormatter.js",
336         "SourcesView.js",
337         "AdvancedSearchView.js",
338         "FileBasedSearchResultsPane.js",
339         "SourcesSearchScope.js",
340         "SourcesPanel.js",
341         "WorkspaceMappingTip.js",
342         "XHRBreakpointsSidebarPane.js",
343         "JavaScriptCompiler.js",
344         "ObjectEventListenersSidebarPane.js"
345     ],
346     "resources": [
347         "filteredItemSelectionDialog.css",
348         "uiList.css",
349         "navigatorView.css",
350         "revisionHistory.css",
351         "serviceWorkersSidebar.css",
352         "sourcesPanel.css",
353         "sourcesSearch.css",
354         "sourcesView.css"
355     ]