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

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

Issue 2205123003: DevTools: introduce view locations, allow opening views by id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 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": "@WebInspector.Panel", 4 "type": "@WebInspector.Panel",
5 "name": "sources", 5 "name": "sources",
6 "title": "Sources", 6 "title": "Sources",
7 "order": 30, 7 "order": 30,
8 "className": "WebInspector.SourcesPanel" 8 "className": "WebInspector.SourcesPanel"
9 }, 9 },
10 { 10 {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 "type": "@WebInspector.SourcesView.EditorAction", 179 "type": "@WebInspector.SourcesView.EditorAction",
180 "className": "WebInspector.InplaceFormatterEditorAction" 180 "className": "WebInspector.InplaceFormatterEditorAction"
181 }, 181 },
182 { 182 {
183 "type": "@WebInspector.SourcesView.EditorAction", 183 "type": "@WebInspector.SourcesView.EditorAction",
184 "className": "WebInspector.ScriptFormatterEditorAction" 184 "className": "WebInspector.ScriptFormatterEditorAction"
185 }, 185 },
186 { 186 {
187 "type": "view", 187 "type": "view",
188 "location": "navigator-view", 188 "location": "navigator-view",
189 "name": "sources", 189 "id": "sources",
190 "title": "Sources", 190 "title": "Sources",
191 "order": 1, 191 "order": 1,
192 "persistence": "permanent", 192 "persistence": "permanent",
193 "className": "WebInspector.SourcesNavigatorView" 193 "className": "WebInspector.SourcesNavigatorView"
194 }, 194 },
195 { 195 {
196 "type": "view", 196 "type": "view",
197 "location": "navigator-view", 197 "location": "navigator-view",
198 "name": "contentScripts", 198 "id": "contentScripts",
199 "title": "Content scripts", 199 "title": "Content scripts",
200 "order": 2, 200 "order": 2,
201 "persistence": "permanent", 201 "persistence": "permanent",
202 "className": "WebInspector.ContentScriptsNavigatorView" 202 "className": "WebInspector.ContentScriptsNavigatorView"
203 }, 203 },
204 { 204 {
205 "type": "view", 205 "type": "view",
206 "location": "navigator-view", 206 "location": "navigator-view",
207 "name": "snippets", 207 "id": "snippets",
208 "title": "Snippets", 208 "title": "Snippets",
209 "order": 3, 209 "order": 3,
210 "persistence": "permanent", 210 "persistence": "permanent",
211 "className": "WebInspector.SnippetsNavigatorView" 211 "className": "WebInspector.SnippetsNavigatorView"
212 }, 212 },
213 { 213 {
214 "type": "@WebInspector.NavigatorView",
215 "viewId": "sources",
216 "className": "WebInspector.SourcesNavigatorView"
217 },
218 {
219 "type": "@WebInspector.NavigatorView",
220 "viewId": "contentScripts",
221 "className": "WebInspector.ContentScriptsNavigatorView"
222 },
223 {
224 "type": "@WebInspector.NavigatorView",
225 "viewId": "snippets",
226 "className": "WebInspector.SnippetsNavigatorView"
227 },
228 {
214 "type": "@WebInspector.ActionDelegate", 229 "type": "@WebInspector.ActionDelegate",
215 "actionId": "sources.go-to-source", 230 "actionId": "sources.go-to-source",
216 "title": "Go to file...", 231 "title": "Go to file...",
217 "className": "WebInspector.SourcesPanel.RevealingActionDelegate", 232 "className": "WebInspector.SourcesPanel.RevealingActionDelegate",
218 "order": 100, 233 "order": 100,
219 "bindings": [ 234 "bindings": [
220 { 235 {
221 "platform": "mac", 236 "platform": "mac",
222 "shortcut": "Meta+P Meta+O" 237 "shortcut": "Meta+P Meta+O"
223 }, 238 },
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "type": "setting", 324 "type": "setting",
310 "category": "Sources", 325 "category": "Sources",
311 "title": "Enable CSS source maps", 326 "title": "Enable CSS source maps",
312 "settingName": "cssSourceMapsEnabled", 327 "settingName": "cssSourceMapsEnabled",
313 "settingType": "boolean", 328 "settingType": "boolean",
314 "defaultValue": true 329 "defaultValue": true
315 }, 330 },
316 { 331 {
317 "type": "view", 332 "type": "view",
318 "location": "drawer-view", 333 "location": "drawer-view",
319 "name": "sources.search", 334 "id": "sources.search",
320 "title": "Search", 335 "title": "Search",
321 "persistence": "closeable", 336 "persistence": "closeable",
322 "order": 100, 337 "order": 100,
323 "className": "WebInspector.AdvancedSearchView" 338 "className": "WebInspector.AdvancedSearchView"
324 }, 339 },
325 { 340 {
326 "type": "view", 341 "type": "view",
327 "location": "drawer-view", 342 "location": "drawer-view",
328 "name": "sources.history", 343 "id": "sources.history",
329 "title": "History", 344 "title": "History",
330 "persistence": "temporary", 345 "persistence": "temporary",
331 "className": "WebInspector.RevisionHistoryView" 346 "className": "WebInspector.RevisionHistoryView"
332 }, 347 },
333 { 348 {
334 "type": "view", 349 "type": "view",
335 "location": "drawer-view", 350 "location": "drawer-view",
336 "name": "sources.quick", 351 "id": "sources.quick",
337 "title": "Quick source", 352 "title": "Quick source",
338 "persistence": "closeable", 353 "persistence": "closeable",
339 "order": 1000, 354 "order": 1000,
340 "className": "WebInspector.SourcesPanel.WrapperView" 355 "className": "WebInspector.SourcesPanel.WrapperView"
341 }, 356 },
342 { 357 {
343 "type": "@WebInspector.ActionDelegate", 358 "type": "@WebInspector.ActionDelegate",
344 "category": "Sources", 359 "category": "Sources",
345 "actionId": "sources.close-all", 360 "actionId": "sources.close-all",
346 "className": "WebInspector.SourcesView.CloseAllActionDelegate", 361 "className": "WebInspector.SourcesView.CloseAllActionDelegate",
347 "title": "Close All" 362 "title": "Close All"
363 },
364 {
365 "type": "@WebInspector.ViewLocationResolver",
366 "name": "navigator-view",
367 "className": "WebInspector.SourcesPanel"
348 } 368 }
349 ], 369 ],
350 "dependencies": [ 370 "dependencies": [
351 "components", 371 "components",
352 "source_frame", 372 "source_frame",
353 "snippets", 373 "snippets",
354 "ui_lazy", 374 "ui_lazy",
355 "extensions" 375 "extensions"
356 ], 376 ],
357 "scripts": [ 377 "scripts": [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 "addSourceMapURLDialog.css", 416 "addSourceMapURLDialog.css",
397 "uiList.css", 417 "uiList.css",
398 "navigatorView.css", 418 "navigatorView.css",
399 "revisionHistory.css", 419 "revisionHistory.css",
400 "serviceWorkersSidebar.css", 420 "serviceWorkersSidebar.css",
401 "sourcesPanel.css", 421 "sourcesPanel.css",
402 "sourcesSearch.css", 422 "sourcesSearch.css",
403 "sourcesView.css" 423 "sourcesView.css"
404 ] 424 ]
405 } 425 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698