OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "view", | 4 "type": "view", |
5 "location": "panel", | 5 "location": "panel", |
6 "id": "network", | 6 "id": "network", |
7 "title": "Network", | 7 "title": "Network", |
8 "order": 40, | 8 "order": 40, |
9 "className": "Network.NetworkPanel" | 9 "className": "Network.NetworkPanel" |
10 }, | 10 }, |
11 { | 11 { |
12 "type": "@UI.ContextMenu.Provider", | 12 "type": "@UI.ContextMenu.Provider", |
13 "contextTypes": ["SDK.NetworkRequest", "SDK.Resource", "Workspace.UI
SourceCode"], | 13 "contextTypes": [ |
| 14 "SDK.NetworkRequest", |
| 15 "SDK.Resource", |
| 16 "Workspace.UISourceCode" |
| 17 ], |
14 "className": "Network.NetworkPanel.ContextMenuProvider" | 18 "className": "Network.NetworkPanel.ContextMenuProvider" |
15 }, | 19 }, |
16 { | 20 { |
17 "type": "@Common.Revealer", | 21 "type": "@Common.Revealer", |
18 "contextTypes": ["SDK.NetworkRequest"], | 22 "contextTypes": [ |
| 23 "SDK.NetworkRequest" |
| 24 ], |
19 "className": "Network.NetworkPanel.RequestRevealer" | 25 "className": "Network.NetworkPanel.RequestRevealer" |
20 }, | 26 }, |
21 { | 27 { |
22 "type": "setting", | 28 "type": "setting", |
23 "category": "Network", | 29 "category": "Network", |
24 "title": "Color-code resource types", | 30 "title": "Color-code resource types", |
25 "settingName": "networkColorCodeResourceTypes", | 31 "settingName": "networkColorCodeResourceTypes", |
26 "settingType": "boolean", | 32 "settingType": "boolean", |
27 "defaultValue": false, | 33 "defaultValue": false, |
28 "tags": "color code, resource type", | 34 "tags": "color code, resource type", |
29 "options": [ | 35 "options": [ |
30 { "value": true, "title": "Color code by resource type" }, | 36 { |
31 { "value": false, "title": "Use default colors" } | 37 "value": true, |
| 38 "title": "Color code by resource type" |
| 39 }, |
| 40 { |
| 41 "value": false, |
| 42 "title": "Use default colors" |
| 43 } |
32 ] | 44 ] |
33 }, | 45 }, |
34 { | 46 { |
35 "type": "@UI.ActionDelegate", | 47 "type": "@UI.ActionDelegate", |
36 "actionId": "network.blocked-urls.show", | 48 "actionId": "network.blocked-urls.show", |
37 "className": "Network.BlockedURLsPane.ActionDelegate", | 49 "className": "Network.BlockedURLsPane.ActionDelegate", |
38 "iconClass": "largeicon-block", | 50 "iconClass": "largeicon-block", |
39 "title": "Block network requests" | 51 "title": "Block network requests" |
40 }, | 52 }, |
41 { | 53 { |
42 "type": "@UI.ActionDelegate", | 54 "type": "@UI.ActionDelegate", |
43 "actionId": "network.toggle-recording", | 55 "actionId": "network.toggle-recording", |
44 "iconClass": "largeicon-start-recording", | 56 "iconClass": "largeicon-start-recording", |
45 "toggledIconClass": "largeicon-stop-recording", | 57 "toggledIconClass": "largeicon-stop-recording", |
46 "toggleWithRedColor": true, | 58 "toggleWithRedColor": true, |
47 "contextTypes": ["Network.NetworkPanel"], | 59 "contextTypes": [ |
| 60 "Network.NetworkPanel" |
| 61 ], |
48 "className": "Network.NetworkPanel.RecordActionDelegate", | 62 "className": "Network.NetworkPanel.RecordActionDelegate", |
49 "options": [ | 63 "options": [ |
50 { "value": true, "title": "Record network log" }, | 64 { |
51 { "value": false, "title": "Stop recording network log" } | 65 "value": true, |
| 66 "title": "Record network log" |
| 67 }, |
| 68 { |
| 69 "value": false, |
| 70 "title": "Stop recording network log" |
| 71 } |
52 ], | 72 ], |
53 "bindings": [ | 73 "bindings": [ |
54 { | 74 { |
55 "platform": "windows,linux", | 75 "platform": "windows,linux", |
56 "shortcut": "Ctrl+E" | 76 "shortcut": "Ctrl+E" |
57 }, | 77 }, |
58 { | 78 { |
59 "platform": "mac", | 79 "platform": "mac", |
60 "shortcut": "Meta+E" | 80 "shortcut": "Meta+E" |
61 } | 81 } |
(...skipping 17 matching lines...) Expand all Loading... |
79 "persistence": "closeable", | 99 "persistence": "closeable", |
80 "order": 40, | 100 "order": 40, |
81 "className": "Network.NetworkConfigView", | 101 "className": "Network.NetworkConfigView", |
82 "tags": "disk cache, network throttling, useragent, user agent" | 102 "tags": "disk cache, network throttling, useragent, user agent" |
83 } | 103 } |
84 ], | 104 ], |
85 "dependencies": [ | 105 "dependencies": [ |
86 "source_frame", | 106 "source_frame", |
87 "components", | 107 "components", |
88 "components_lazy", | 108 "components_lazy", |
89 "ui_lazy" | 109 "ui_lazy", |
| 110 "perf_ui" |
90 ], | 111 ], |
91 "scripts": [ | 112 "scripts": [ |
92 "BlockedURLsPane.js", | 113 "BlockedURLsPane.js", |
93 "EventSourceMessagesView.js", | 114 "EventSourceMessagesView.js", |
94 "FilterSuggestionBuilder.js", | 115 "FilterSuggestionBuilder.js", |
95 "HARWriter.js", | 116 "HARWriter.js", |
96 "JSONView.js", | 117 "JSONView.js", |
97 "RequestView.js", | 118 "RequestView.js", |
98 "NetworkConfigView.js", | 119 "NetworkConfigView.js", |
99 "NetworkDataGridNode.js", | 120 "NetworkDataGridNode.js", |
(...skipping 23 matching lines...) Expand all Loading... |
123 "networkPanel.css", | 144 "networkPanel.css", |
124 "networkWaterfallColumn.css", | 145 "networkWaterfallColumn.css", |
125 "requestCookiesView.css", | 146 "requestCookiesView.css", |
126 "requestHeadersTree.css", | 147 "requestHeadersTree.css", |
127 "requestHeadersView.css", | 148 "requestHeadersView.css", |
128 "webSocketFrameView.css", | 149 "webSocketFrameView.css", |
129 "xmlTree.css", | 150 "xmlTree.css", |
130 "xmlView.css" | 151 "xmlView.css" |
131 ] | 152 ] |
132 } | 153 } |
OLD | NEW |