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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/main/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": "@Common.AppProvider", 4 "type": "@Common.AppProvider",
5 "className": "Main.SimpleAppProvider", 5 "className": "Main.SimpleAppProvider",
6 "order": 10 6 "order": 10
7 }, 7 },
8 { 8 {
9 "type": "@UI.ContextMenu.Provider", 9 "type": "@UI.ContextMenu.Provider",
10 "contextTypes": ["Workspace.UISourceCode", "SDK.Resource", "SDK.Netw orkRequest"], 10 "contextTypes": [
11 "Workspace.UISourceCode",
12 "SDK.Resource",
13 "SDK.NetworkRequest"
14 ],
11 "className": "Components.Linkifier.ContentProviderContextMenuProvide r" 15 "className": "Components.Linkifier.ContentProviderContextMenuProvide r"
12 }, 16 },
13 { 17 {
14 "type": "@UI.ContextMenu.Provider", 18 "type": "@UI.ContextMenu.Provider",
15 "contextTypes": ["Node"], 19 "contextTypes": [
20 "Node"
21 ],
16 "className": "UI.ExternaLinkContextMenuProvider" 22 "className": "UI.ExternaLinkContextMenuProvider"
17 }, 23 },
18 { 24 {
19 "type": "@UI.ContextMenu.Provider", 25 "type": "@UI.ContextMenu.Provider",
20 "contextTypes": ["Node"], 26 "contextTypes": [
27 "Node"
28 ],
21 "className": "Components.Linkifier.LinkContextMenuProvider" 29 "className": "Components.Linkifier.LinkContextMenuProvider"
22 }, 30 },
23 { 31 {
24 "type": "@UI.ActionDelegate", 32 "type": "@UI.ActionDelegate",
25 "category": "Navigation", 33 "category": "Navigation",
26 "actionId": "main.reload", 34 "actionId": "main.reload",
27 "className": "Main.Main.ReloadActionDelegate", 35 "className": "Main.Main.ReloadActionDelegate",
28 "iconClass": "largeicon-refresh", 36 "iconClass": "largeicon-refresh",
29 "title": "Reload page", 37 "title": "Reload page",
30 "bindings": [ 38 "bindings": [
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 }, 228 },
221 { 229 {
222 "type": "setting", 230 "type": "setting",
223 "category": "Network", 231 "category": "Network",
224 "title": "Disable cache (while DevTools is open)", 232 "title": "Disable cache (while DevTools is open)",
225 "settingName": "cacheDisabled", 233 "settingName": "cacheDisabled",
226 "settingType": "boolean", 234 "settingType": "boolean",
227 "order": 0, 235 "order": 0,
228 "defaultValue": false, 236 "defaultValue": false,
229 "options": [ 237 "options": [
230 { "value": true, "title": "Disable cache (while DevTools is open )" }, 238 {
231 { "value": false, "title": "Enable cache" } 239 "value": true,
240 "title": "Disable cache (while DevTools is open)"
241 },
242 {
243 "value": false,
244 "title": "Enable cache"
245 }
232 ] 246 ]
233 }, 247 },
234 { 248 {
235 "type": "setting", 249 "type": "setting",
236 "category": "Debugger", 250 "category": "Debugger",
237 "title": "Disable JavaScript", 251 "title": "Disable JavaScript",
238 "settingName": "javaScriptDisabled", 252 "settingName": "javaScriptDisabled",
239 "settingType": "boolean", 253 "settingType": "boolean",
240 "order": 1, 254 "order": 1,
241 "defaultValue": false, 255 "defaultValue": false,
242 "options": [ 256 "options": [
243 { "value": true, "title": "Disable JavaScript" }, 257 {
244 { "value": false, "title": "Enable JavaScript" } 258 "value": true,
259 "title": "Disable JavaScript"
260 },
261 {
262 "value": false,
263 "title": "Enable JavaScript"
264 }
245 ] 265 ]
246 }, 266 },
247 { 267 {
248 "type": "setting", 268 "type": "setting",
249 "category": "DevTools", 269 "category": "DevTools",
250 "title": "Auto-open DevTools for popups", 270 "title": "Auto-open DevTools for popups",
251 "settingName": "autoAttachToCreatedPages", 271 "settingName": "autoAttachToCreatedPages",
252 "settingType": "boolean", 272 "settingType": "boolean",
253 "order": 2, 273 "order": 2,
254 "defaultValue": false, 274 "defaultValue": false,
255 "options": [ 275 "options": [
256 { "value": true, "title": "Auto-open DevTools for popups" }, 276 {
257 { "value": false, "title": "Do not auto-open DevTools for popups " } 277 "value": true,
278 "title": "Auto-open DevTools for popups"
279 },
280 {
281 "value": false,
282 "title": "Do not auto-open DevTools for popups"
283 }
258 ] 284 ]
259 }, 285 },
260 { 286 {
261 "type": "setting", 287 "type": "setting",
262 "category": "Appearance", 288 "category": "Appearance",
263 "title": "Theme:", 289 "title": "Theme:",
264 "settingName": "uiTheme", 290 "settingName": "uiTheme",
265 "settingType": "enum", 291 "settingType": "enum",
266 "defaultValue": "default", 292 "defaultValue": "default",
267 "options": [ 293 "options": [
268 { "title": "Switch to light theme", "text": "Light", "value": "d efault" }, 294 {
269 { "title": "Switch to dark theme", "text": "Dark", "value": "dar k" } 295 "title": "Switch to light theme",
296 "text": "Light",
297 "value": "default"
298 },
299 {
300 "title": "Switch to dark theme",
301 "text": "Dark",
302 "value": "dark"
303 }
270 ], 304 ],
271 "tags": "dark, light" 305 "tags": "dark, light"
272 }, 306 },
273 { 307 {
274 "type": "setting", 308 "type": "setting",
275 "category": "Appearance", 309 "category": "Appearance",
276 "title": "Panel layout:", 310 "title": "Panel layout:",
277 "settingName": "sidebarPosition", 311 "settingName": "sidebarPosition",
278 "settingType": "enum", 312 "settingType": "enum",
279 "defaultValue": "auto", 313 "defaultValue": "auto",
280 "options": [ 314 "options": [
281 { "title": "Use horizontal panel layout", "text": "horizontal", "value": "bottom" }, 315 {
282 { "title": "Use vertical panel layout", "text": "vertical", "val ue": "right" }, 316 "title": "Use horizontal panel layout",
283 { "title": "Use automatic panel layout", "text": "auto", "value" : "auto" } 317 "text": "horizontal",
318 "value": "bottom"
319 },
320 {
321 "title": "Use vertical panel layout",
322 "text": "vertical",
323 "value": "right"
324 },
325 {
326 "title": "Use automatic panel layout",
327 "text": "auto",
328 "value": "auto"
329 }
284 ] 330 ]
285 }, 331 },
286 { 332 {
287 "type": "setting", 333 "type": "setting",
288 "category": "Appearance", 334 "category": "Appearance",
289 "title": "Enable Ctrl + 1-9 shortcut to switch panels", 335 "title": "Enable Ctrl + 1-9 shortcut to switch panels",
290 "title-mac": "Enable \u2318 + 1-9 shortcut to switch panels", 336 "title-mac": "Enable \u2318 + 1-9 shortcut to switch panels",
291 "settingName": "shortcutPanelSwitch", 337 "settingName": "shortcutPanelSwitch",
292 "settingType": "boolean", 338 "settingType": "boolean",
293 "defaultValue": false 339 "defaultValue": false
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 "order": 50, 381 "order": 50,
336 "className": "Main.RenderingOptionsView" 382 "className": "Main.RenderingOptionsView"
337 }, 383 },
338 { 384 {
339 "type": "setting", 385 "type": "setting",
340 "category": "DevTools", 386 "category": "DevTools",
341 "settingName": "currentDockState", 387 "settingName": "currentDockState",
342 "settingType": "enum", 388 "settingType": "enum",
343 "defaultValue": "right", 389 "defaultValue": "right",
344 "options": [ 390 "options": [
345 { "value": "right", "title": "Dock to right" }, 391 {
346 { "value": "bottom", "title": "Dock to bottom" }, 392 "value": "right",
347 { "value": "undocked", "title": "Undock into separate window" } 393 "title": "Dock to right"
394 },
395 {
396 "value": "bottom",
397 "title": "Dock to bottom"
398 },
399 {
400 "value": "undocked",
401 "title": "Undock into separate window"
402 }
348 ] 403 ]
349 }, 404 },
350 { 405 {
351 "type": "@UI.ViewLocationResolver", 406 "type": "@UI.ViewLocationResolver",
352 "name": "drawer-view", 407 "name": "drawer-view",
353 "className": "UI.InspectorView" 408 "className": "UI.InspectorView"
409 },
410 {
411 "type": "@UI.ActionDelegate",
412 "actionId": "components.collect-garbage",
413 "title": "Collect garbage",
414 "iconClass": "largeicon-trash-bin",
415 "className": "Main.GCActionDelegate"
416 },
417 {
418 "type": "@UI.ActionDelegate",
419 "category": "Mobile",
420 "actionId": "components.request-app-banner",
421 "className": "Main.RequestAppBannerActionDelegate",
422 "title": "Add to homescreen"
354 } 423 }
355 ], 424 ],
356 "dependencies": [ 425 "dependencies": [
357 "extensions", 426 "extensions",
358 "host", 427 "host",
359 "platform", 428 "platform",
360 "sdk", 429 "sdk",
361 "persistence" 430 "persistence"
362 ], 431 ],
363 "scripts": [ 432 "scripts": [
364 "RenderingOptions.js", 433 "RenderingOptions.js",
365 "SimpleApp.js", 434 "SimpleApp.js",
366 "OverlayController.js", 435 "OverlayController.js",
367 "Main.js" 436 "Main.js",
437 "GCActionDelegate.js",
438 "RequestAppBannerActionDelegate.js"
368 ], 439 ],
369 "resources": [ 440 "resources": [
370 "errorWarningCounter.css", 441 "errorWarningCounter.css",
371 "remoteDebuggingTerminatedScreen.css", 442 "remoteDebuggingTerminatedScreen.css",
372 "renderingOptions.css", 443 "renderingOptions.css",
373 "targetCrashedScreen.css" 444 "targetCrashedScreen.css"
374 ] 445 ]
375 } 446 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698