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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/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": "sources", 6 "id": "sources",
7 "title": "Sources", 7 "title": "Sources",
8 "order": 30, 8 "order": 30,
9 "className": "Sources.SourcesPanel" 9 "className": "Sources.SourcesPanel"
10 }, 10 },
11 { 11 {
12 "type": "@UI.ContextMenu.Provider", 12 "type": "@UI.ContextMenu.Provider",
13 "contextTypes": ["Workspace.UISourceCode", "Workspace.UILocation", " SDK.RemoteObject", "SDK.NetworkRequest", "Sources.UISourceCodeFrame"], 13 "contextTypes": [
14 "Workspace.UISourceCode",
15 "Workspace.UILocation",
16 "SDK.RemoteObject",
17 "SDK.NetworkRequest",
18 "SourceFrame.UISourceCodeFrame"
19 ],
14 "className": "Sources.SourcesPanel" 20 "className": "Sources.SourcesPanel"
15 }, 21 },
16 { 22 {
17 "type": "@UI.ActionDelegate", 23 "type": "@UI.ActionDelegate",
18 "category": "Debugger", 24 "category": "Debugger",
19 "actionId": "debugger.toggle-pause", 25 "actionId": "debugger.toggle-pause",
20 "iconClass": "largeicon-pause", 26 "iconClass": "largeicon-pause",
21 "toggledIconClass": "largeicon-resume", 27 "toggledIconClass": "largeicon-resume",
22 "className": "Sources.SourcesPanel.RevealingActionDelegate", 28 "className": "Sources.SourcesPanel.RevealingActionDelegate",
23 "contextTypes": ["Sources.SourcesPanel", "UI.ShortcutRegistry.Forwar dedShortcut"], 29 "contextTypes": [
30 "Sources.SourcesPanel",
31 "UI.ShortcutRegistry.ForwardedShortcut"
32 ],
24 "options": [ 33 "options": [
25 { "value": true, "title": "Pause script execution" }, 34 {
26 { "value": false, "title": "Resume script execution" } 35 "value": true,
36 "title": "Pause script execution"
37 },
38 {
39 "value": false,
40 "title": "Resume script execution"
41 }
27 ], 42 ],
28 "bindings": [ 43 "bindings": [
29 { 44 {
30 "platform": "windows,linux", 45 "platform": "windows,linux",
31 "shortcut": "F8 Ctrl+\\" 46 "shortcut": "F8 Ctrl+\\"
32 }, 47 },
33 { 48 {
34 "platform": "mac", 49 "platform": "mac",
35 "shortcut": "F8 Meta+\\" 50 "shortcut": "F8 Meta+\\"
36 } 51 }
37 ] 52 ]
38 }, 53 },
39 { 54 {
40 "type": "@UI.ActionDelegate", 55 "type": "@UI.ActionDelegate",
41 "actionId": "debugger.step-over", 56 "actionId": "debugger.step-over",
42 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 57 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
43 "title": "Step over next function call", 58 "title": "Step over next function call",
44 "iconClass": "largeicon-step-over", 59 "iconClass": "largeicon-step-over",
45 "contextTypes": ["Sources.SourcesPanel"], 60 "contextTypes": [
61 "Sources.SourcesPanel"
62 ],
46 "bindings": [ 63 "bindings": [
47 { 64 {
48 "platform": "windows,linux", 65 "platform": "windows,linux",
49 "shortcut": "F10 Ctrl+'" 66 "shortcut": "F10 Ctrl+'"
50 }, 67 },
51 { 68 {
52 "platform": "mac", 69 "platform": "mac",
53 "shortcut": "F10 Meta+'" 70 "shortcut": "F10 Meta+'"
54 } 71 }
55 ] 72 ]
56 }, 73 },
57 { 74 {
58 "type": "@UI.ActionDelegate", 75 "type": "@UI.ActionDelegate",
59 "actionId": "debugger.step-into", 76 "actionId": "debugger.step-into",
60 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 77 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
61 "title": "Step into next function call", 78 "title": "Step into next function call",
62 "iconClass": "largeicon-step-in", 79 "iconClass": "largeicon-step-in",
63 "contextTypes": ["Sources.SourcesPanel"], 80 "contextTypes": [
81 "Sources.SourcesPanel"
82 ],
64 "bindings": [ 83 "bindings": [
65 { 84 {
66 "platform": "windows,linux", 85 "platform": "windows,linux",
67 "shortcut": "F11 Ctrl+;" 86 "shortcut": "F11 Ctrl+;"
68 }, 87 },
69 { 88 {
70 "platform": "mac", 89 "platform": "mac",
71 "shortcut": "F11 Meta+;" 90 "shortcut": "F11 Meta+;"
72 } 91 }
73 ] 92 ]
74 }, 93 },
75 { 94 {
76 "type": "@UI.ActionDelegate", 95 "type": "@UI.ActionDelegate",
77 "actionId": "debugger.step-out", 96 "actionId": "debugger.step-out",
78 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 97 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
79 "title": "Step out of current function", 98 "title": "Step out of current function",
80 "iconClass": "largeicon-step-out", 99 "iconClass": "largeicon-step-out",
81 "contextTypes": ["Sources.SourcesPanel"], 100 "contextTypes": [
101 "Sources.SourcesPanel"
102 ],
82 "bindings": [ 103 "bindings": [
83 { 104 {
84 "platform": "windows,linux", 105 "platform": "windows,linux",
85 "shortcut": "Shift+F11 Shift+Ctrl+;" 106 "shortcut": "Shift+F11 Shift+Ctrl+;"
86 }, 107 },
87 { 108 {
88 "platform": "mac", 109 "platform": "mac",
89 "shortcut": "Shift+F11 Shift+Meta+;" 110 "shortcut": "Shift+F11 Shift+Meta+;"
90 } 111 }
91 ] 112 ]
92 }, 113 },
93 { 114 {
94 "type": "@UI.ActionDelegate", 115 "type": "@UI.ActionDelegate",
95 "actionId": "debugger.run-snippet", 116 "actionId": "debugger.run-snippet",
96 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 117 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
97 "title": "Run snippet", 118 "title": "Run snippet",
98 "iconClass": "largeicon-play", 119 "iconClass": "largeicon-play",
99 "contextTypes": ["Sources.SourcesPanel"], 120 "contextTypes": [
121 "Sources.SourcesPanel"
122 ],
100 "bindings": [ 123 "bindings": [
101 { 124 {
102 "platform": "windows,linux", 125 "platform": "windows,linux",
103 "shortcut": "Ctrl+Enter" 126 "shortcut": "Ctrl+Enter"
104 }, 127 },
105 { 128 {
106 "platform": "mac", 129 "platform": "mac",
107 "shortcut": "Meta+Enter" 130 "shortcut": "Meta+Enter"
108 } 131 }
109 ] 132 ]
(...skipping 15 matching lines...) Expand all
125 } 148 }
126 ] 149 ]
127 }, 150 },
128 { 151 {
129 "type": "@UI.ActionDelegate", 152 "type": "@UI.ActionDelegate",
130 "category": "Debugger", 153 "category": "Debugger",
131 "actionId": "debugger.toggle-breakpoints-active", 154 "actionId": "debugger.toggle-breakpoints-active",
132 "iconClass": "largeicon-deactivate-breakpoints", 155 "iconClass": "largeicon-deactivate-breakpoints",
133 "toggledIconClass": "largeicon-activate-breakpoints", 156 "toggledIconClass": "largeicon-activate-breakpoints",
134 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 157 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
135 "contextTypes": ["Sources.SourcesPanel"], 158 "contextTypes": [
159 "Sources.SourcesPanel"
160 ],
136 "options": [ 161 "options": [
137 { "value": true, "title": "Deactivate breakpoints" }, 162 {
138 { "value": false, "title": "Activate breakpoints" } 163 "value": true,
164 "title": "Deactivate breakpoints"
165 },
166 {
167 "value": false,
168 "title": "Activate breakpoints"
169 }
139 ], 170 ],
140 "bindings": [ 171 "bindings": [
141 { 172 {
142 "platform": "windows,linux", 173 "platform": "windows,linux",
143 "shortcut": "Ctrl+F8" 174 "shortcut": "Ctrl+F8"
144 }, 175 },
145 { 176 {
146 "platform": "mac", 177 "platform": "mac",
147 "shortcut": "Meta+F8" 178 "shortcut": "Meta+F8"
148 } 179 }
149 ] 180 ]
150 }, 181 },
151 { 182 {
152 "type": "@UI.ActionDelegate", 183 "type": "@UI.ActionDelegate",
153 "actionId": "sources.add-to-watch", 184 "actionId": "sources.add-to-watch",
154 "className": "Sources.WatchExpressionsSidebarPane", 185 "className": "Sources.WatchExpressionsSidebarPane",
155 "title": "Add selected text to watches", 186 "title": "Add selected text to watches",
156 "contextTypes": ["Sources.UISourceCodeFrame"], 187 "contextTypes": [
188 "SourceFrame.UISourceCodeFrame"
189 ],
157 "bindings": [ 190 "bindings": [
158 { 191 {
159 "shortcut": "Ctrl+Shift+A" 192 "shortcut": "Ctrl+Shift+A"
160 } 193 }
161 ] 194 ]
162 }, 195 },
163 { 196 {
164 "type": "@UI.ContextMenu.Provider", 197 "type": "@UI.ContextMenu.Provider",
165 "contextTypes": ["TextEditor.CodeMirrorTextEditor"], 198 "contextTypes": [
199 "TextEditor.CodeMirrorTextEditor"
200 ],
166 "className": "Sources.WatchExpressionsSidebarPane" 201 "className": "Sources.WatchExpressionsSidebarPane"
167 }, 202 },
168 { 203 {
169 "type": "@UI.ActionDelegate", 204 "type": "@UI.ActionDelegate",
170 "actionId": "debugger.evaluate-selection", 205 "actionId": "debugger.evaluate-selection",
171 "className": "Sources.SourcesPanel.DebuggingActionDelegate", 206 "className": "Sources.SourcesPanel.DebuggingActionDelegate",
172 "title": "Evaluate in console", 207 "title": "Evaluate in console",
173 "contextTypes": ["Sources.UISourceCodeFrame"], 208 "contextTypes": [
209 "SourceFrame.UISourceCodeFrame"
210 ],
174 "bindings": [ 211 "bindings": [
175 { 212 {
176 "shortcut": "Ctrl+Shift+E" 213 "shortcut": "Ctrl+Shift+E"
177 } 214 }
178 ] 215 ]
179 }, 216 },
180 { 217 {
181 "type": "context-menu-item", 218 "type": "context-menu-item",
182 "location": "mainMenu/navigate", 219 "location": "mainMenu/navigate",
183 "actionId": "sources.search.toggle" 220 "actionId": "sources.search.toggle"
184 }, 221 },
185 { 222 {
186 "type": "context-menu-item", 223 "type": "context-menu-item",
187 "location": "navigatorMenu/navigate", 224 "location": "navigatorMenu/navigate",
188 "actionId": "sources.go-to-source" 225 "actionId": "sources.go-to-source"
189 }, 226 },
190 { 227 {
191 "type": "@Common.Revealer", 228 "type": "@Common.Revealer",
192 "contextTypes": ["Workspace.UILocation"], 229 "contextTypes": [
230 "Workspace.UILocation"
231 ],
193 "className": "Sources.SourcesPanel.UILocationRevealer" 232 "className": "Sources.SourcesPanel.UILocationRevealer"
194 }, 233 },
195 { 234 {
196 "type": "@Common.Revealer", 235 "type": "@Common.Revealer",
197 "contextTypes": ["SDK.DebuggerModel.Location"], 236 "contextTypes": [
237 "SDK.DebuggerModel.Location"
238 ],
198 "className": "Sources.SourcesPanel.DebuggerLocationRevealer" 239 "className": "Sources.SourcesPanel.DebuggerLocationRevealer"
199 }, 240 },
200 { 241 {
201 "type": "@Common.Revealer", 242 "type": "@Common.Revealer",
202 "contextTypes": ["Workspace.UISourceCode"], 243 "contextTypes": [
244 "Workspace.UISourceCode"
245 ],
203 "className": "Sources.SourcesPanel.UISourceCodeRevealer" 246 "className": "Sources.SourcesPanel.UISourceCodeRevealer"
204 }, 247 },
205 { 248 {
206 "type": "@Common.Revealer", 249 "type": "@Common.Revealer",
207 "contextTypes": ["SDK.DebuggerPausedDetails"], 250 "contextTypes": [
251 "SDK.DebuggerPausedDetails"
252 ],
208 "className": "Sources.SourcesPanel.DebuggerPausedDetailsRevealer" 253 "className": "Sources.SourcesPanel.DebuggerPausedDetailsRevealer"
209 }, 254 },
210 { 255 {
211 "type": "@Sources.SourcesView.EditorAction", 256 "type": "@Sources.SourcesView.EditorAction",
212 "className": "Sources.InplaceFormatterEditorAction" 257 "className": "Sources.InplaceFormatterEditorAction"
213 }, 258 },
214 { 259 {
215 "type": "@Sources.SourcesView.EditorAction", 260 "type": "@Sources.SourcesView.EditorAction",
216 "className": "Sources.ScriptFormatterEditorAction" 261 "className": "Sources.ScriptFormatterEditorAction"
217 }, 262 },
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 { 350 {
306 "platform": "windows,linux", 351 "platform": "windows,linux",
307 "shortcut": "Ctrl+P Ctrl+O" 352 "shortcut": "Ctrl+P Ctrl+O"
308 } 353 }
309 ] 354 ]
310 }, 355 },
311 { 356 {
312 "type": "@UI.ActionDelegate", 357 "type": "@UI.ActionDelegate",
313 "actionId": "sources.switch-file", 358 "actionId": "sources.switch-file",
314 "className": "Sources.SourcesView.SwitchFileActionDelegate", 359 "className": "Sources.SourcesView.SwitchFileActionDelegate",
315 "contextTypes": ["Sources.SourcesView"], 360 "contextTypes": [
361 "Sources.SourcesView"
362 ],
316 "bindings": [ 363 "bindings": [
317 { 364 {
318 "shortcut": "Alt+O" 365 "shortcut": "Alt+O"
319 } 366 }
320 ] 367 ]
321 }, 368 },
322 { 369 {
323 "type": "setting", 370 "type": "setting",
324 "settingName": "navigatorGroupByFolder", 371 "settingName": "navigatorGroupByFolder",
325 "settingType": "boolean", 372 "settingType": "boolean",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 "defaultValue": true 421 "defaultValue": true
375 }, 422 },
376 { 423 {
377 "type": "setting", 424 "type": "setting",
378 "category": "Sources", 425 "category": "Sources",
379 "title": "Show whitespace characters:", 426 "title": "Show whitespace characters:",
380 "settingName": "showWhitespacesInEditor", 427 "settingName": "showWhitespacesInEditor",
381 "settingType": "enum", 428 "settingType": "enum",
382 "defaultValue": "original", 429 "defaultValue": "original",
383 "options": [ 430 "options": [
384 { "title": "Do not show whitespace characters", "text": "None", "value": "none" }, 431 {
385 { "title": "Show all whitespace characters", "text": "All", "val ue": "all" }, 432 "title": "Do not show whitespace characters",
386 { "title": "Show trailing whitespace characters", "text": "Trail ing", "value": "trailing" } 433 "text": "None",
434 "value": "none"
435 },
436 {
437 "title": "Show all whitespace characters",
438 "text": "All",
439 "value": "all"
440 },
441 {
442 "title": "Show trailing whitespace characters",
443 "text": "Trailing",
444 "value": "trailing"
445 }
387 ] 446 ]
388 }, 447 },
389 { 448 {
390 "type": "setting", 449 "type": "setting",
391 "category": "Sources", 450 "category": "Sources",
392 "title": "Display variable values inline while debugging", 451 "title": "Display variable values inline while debugging",
393 "settingName": "inlineVariableValues", 452 "settingName": "inlineVariableValues",
394 "settingType": "boolean", 453 "settingType": "boolean",
395 "defaultValue": true 454 "defaultValue": true
396 }, 455 },
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 }, 566 },
508 { 567 {
509 "type": "view", 568 "type": "view",
510 "id": "sources.jsBreakpoints", 569 "id": "sources.jsBreakpoints",
511 "title": "Breakpoints", 570 "title": "Breakpoints",
512 "persistence": "permanent", 571 "persistence": "permanent",
513 "className": "Sources.JavaScriptBreakpointsSidebarPane" 572 "className": "Sources.JavaScriptBreakpointsSidebarPane"
514 }, 573 },
515 { 574 {
516 "type": "@UI.ContextFlavorListener", 575 "type": "@UI.ContextFlavorListener",
517 "contextTypes": ["SDK.DebuggerPausedDetails"], 576 "contextTypes": [
577 "SDK.DebuggerPausedDetails"
578 ],
518 "className": "Sources.JavaScriptBreakpointsSidebarPane" 579 "className": "Sources.JavaScriptBreakpointsSidebarPane"
519 }, 580 },
520 { 581 {
521 "type": "@UI.ContextFlavorListener", 582 "type": "@UI.ContextFlavorListener",
522 "contextTypes": ["SDK.DebuggerPausedDetails"], 583 "contextTypes": [
584 "SDK.DebuggerPausedDetails"
585 ],
523 "className": "Sources.XHRBreakpointsSidebarPane" 586 "className": "Sources.XHRBreakpointsSidebarPane"
524 }, 587 },
525 { 588 {
526 "type": "@UI.ContextFlavorListener", 589 "type": "@UI.ContextFlavorListener",
527 "contextTypes": ["SDK.DebuggerPausedDetails"], 590 "contextTypes": [
591 "SDK.DebuggerPausedDetails"
592 ],
528 "className": "Components.DOMBreakpointsSidebarPane" 593 "className": "Components.DOMBreakpointsSidebarPane"
529 }, 594 },
530 { 595 {
531 "type": "@UI.ContextFlavorListener", 596 "type": "@UI.ContextFlavorListener",
532 "contextTypes": ["SDK.DebuggerPausedDetails"], 597 "contextTypes": [
598 "SDK.DebuggerPausedDetails"
599 ],
533 "className": "Sources.CallStackSidebarPane" 600 "className": "Sources.CallStackSidebarPane"
534 }, 601 },
535 { 602 {
536 "type": "@UI.ContextFlavorListener", 603 "type": "@UI.ContextFlavorListener",
537 "contextTypes": ["SDK.DebuggerModel.CallFrame"], 604 "contextTypes": [
605 "SDK.DebuggerModel.CallFrame"
606 ],
538 "className": "Sources.ScopeChainSidebarPane" 607 "className": "Sources.ScopeChainSidebarPane"
539 } 608 }
540 ], 609 ],
541 "dependencies": [ 610 "dependencies": [
542 "components", 611 "components",
543 "source_frame", 612 "source_frame",
544 "snippets", 613 "snippets",
545 "ui_lazy", 614 "ui_lazy",
546 "extensions", 615 "extensions",
547 "persistence" 616 "persistence",
617 "quick_open"
548 ], 618 ],
549 "scripts": [ 619 "scripts": [
550 "UIList.js", 620 "UIList.js",
551 "AddSourceMapURLDialog.js", 621 "AddSourceMapURLDialog.js",
552 "CallStackSidebarPane.js", 622 "CallStackSidebarPane.js",
553 "DebuggerPausedMessage.js", 623 "DebuggerPausedMessage.js",
554 "SimpleHistoryManager.js", 624 "SimpleHistoryManager.js",
555 "EditingLocationHistoryManager.js", 625 "EditingLocationHistoryManager.js",
556 "EventListenerBreakpointsSidebarPane.js", 626 "EventListenerBreakpointsSidebarPane.js",
557 "FilePathScoreFunction.js", 627 "FilePathScoreFunction.js",
558 "FilteredUISourceCodeListDelegate.js", 628 "FilteredUISourceCodeListDelegate.js",
559 "UISourceCodeFrame.js",
560 "SourceMapNamesResolver.js", 629 "SourceMapNamesResolver.js",
561 "JavaScriptBreakpointsSidebarPane.js", 630 "JavaScriptBreakpointsSidebarPane.js",
562 "JavaScriptOutlineDialog.js", 631 "JavaScriptOutlineDialog.js",
563 "SourceCodeDiff.js",
564 "JavaScriptSourceFrame.js", 632 "JavaScriptSourceFrame.js",
565 "CSSSourceFrame.js", 633 "CSSSourceFrame.js",
566 "NavigatorView.js", 634 "NavigatorView.js",
567 "RevisionHistoryView.js", 635 "RevisionHistoryView.js",
568 "ScopeChainSidebarPane.js", 636 "ScopeChainSidebarPane.js",
569 "SourcesNavigator.js", 637 "SourcesNavigator.js",
570 "StyleSheetOutlineDialog.js", 638 "StyleSheetOutlineDialog.js",
571 "TabbedEditorContainer.js", 639 "TabbedEditorContainer.js",
572 "WatchExpressionsSidebarPane.js", 640 "WatchExpressionsSidebarPane.js",
573 "ThreadsSidebarPane.js", 641 "ThreadsSidebarPane.js",
(...skipping 18 matching lines...) Expand all
592 "fileBasedSearchResultsPane.css", 660 "fileBasedSearchResultsPane.css",
593 "navigatorTree.css", 661 "navigatorTree.css",
594 "navigatorView.css", 662 "navigatorView.css",
595 "revisionHistory.css", 663 "revisionHistory.css",
596 "serviceWorkersSidebar.css", 664 "serviceWorkersSidebar.css",
597 "sourcesPanel.css", 665 "sourcesPanel.css",
598 "sourcesSearch.css", 666 "sourcesSearch.css",
599 "sourcesView.css" 667 "sourcesView.css"
600 ] 668 ]
601 } 669 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698