| Index: third_party/WebKit/Source/devtools/front_end/network/module.json
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/module.json b/third_party/WebKit/Source/devtools/front_end/network/module.json
|
| index 1209c39953f5894fe713ec6c3c8e223b5946b893..dc4981bddfc485aec17afbdafe2cd3448ee27b9d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/network/module.json
|
| +++ b/third_party/WebKit/Source/devtools/front_end/network/module.json
|
| @@ -1,132 +1,153 @@
|
| {
|
| - "extensions": [
|
| + "extensions": [
|
| + {
|
| + "type": "view",
|
| + "location": "panel",
|
| + "id": "network",
|
| + "title": "Network",
|
| + "order": 40,
|
| + "className": "Network.NetworkPanel"
|
| + },
|
| + {
|
| + "type": "@UI.ContextMenu.Provider",
|
| + "contextTypes": [
|
| + "SDK.NetworkRequest",
|
| + "SDK.Resource",
|
| + "Workspace.UISourceCode"
|
| + ],
|
| + "className": "Network.NetworkPanel.ContextMenuProvider"
|
| + },
|
| + {
|
| + "type": "@Common.Revealer",
|
| + "contextTypes": [
|
| + "SDK.NetworkRequest"
|
| + ],
|
| + "className": "Network.NetworkPanel.RequestRevealer"
|
| + },
|
| + {
|
| + "type": "setting",
|
| + "category": "Network",
|
| + "title": "Color-code resource types",
|
| + "settingName": "networkColorCodeResourceTypes",
|
| + "settingType": "boolean",
|
| + "defaultValue": false,
|
| + "tags": "color code, resource type",
|
| + "options": [
|
| {
|
| - "type": "view",
|
| - "location": "panel",
|
| - "id": "network",
|
| - "title": "Network",
|
| - "order": 40,
|
| - "className": "Network.NetworkPanel"
|
| + "value": true,
|
| + "title": "Color code by resource type"
|
| },
|
| {
|
| - "type": "@UI.ContextMenu.Provider",
|
| - "contextTypes": ["SDK.NetworkRequest", "SDK.Resource", "Workspace.UISourceCode"],
|
| - "className": "Network.NetworkPanel.ContextMenuProvider"
|
| - },
|
| - {
|
| - "type": "@Common.Revealer",
|
| - "contextTypes": ["SDK.NetworkRequest"],
|
| - "className": "Network.NetworkPanel.RequestRevealer"
|
| - },
|
| - {
|
| - "type": "setting",
|
| - "category": "Network",
|
| - "title": "Color-code resource types",
|
| - "settingName": "networkColorCodeResourceTypes",
|
| - "settingType": "boolean",
|
| - "defaultValue": false,
|
| - "tags": "color code, resource type",
|
| - "options": [
|
| - { "value": true, "title": "Color code by resource type" },
|
| - { "value": false, "title": "Use default colors" }
|
| - ]
|
| - },
|
| + "value": false,
|
| + "title": "Use default colors"
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "type": "@UI.ActionDelegate",
|
| + "actionId": "network.blocked-urls.show",
|
| + "className": "Network.BlockedURLsPane.ActionDelegate",
|
| + "iconClass": "largeicon-block",
|
| + "title": "Block network requests"
|
| + },
|
| + {
|
| + "type": "@UI.ActionDelegate",
|
| + "actionId": "network.toggle-recording",
|
| + "iconClass": "largeicon-start-recording",
|
| + "toggledIconClass": "largeicon-stop-recording",
|
| + "toggleWithRedColor": true,
|
| + "contextTypes": [
|
| + "Network.NetworkPanel"
|
| + ],
|
| + "className": "Network.NetworkPanel.RecordActionDelegate",
|
| + "options": [
|
| {
|
| - "type": "@UI.ActionDelegate",
|
| - "actionId": "network.blocked-urls.show",
|
| - "className": "Network.BlockedURLsPane.ActionDelegate",
|
| - "iconClass": "largeicon-block",
|
| - "title": "Block network requests"
|
| + "value": true,
|
| + "title": "Record network log"
|
| },
|
| {
|
| - "type": "@UI.ActionDelegate",
|
| - "actionId": "network.toggle-recording",
|
| - "iconClass": "largeicon-start-recording",
|
| - "toggledIconClass": "largeicon-stop-recording",
|
| - "toggleWithRedColor": true,
|
| - "contextTypes": ["Network.NetworkPanel"],
|
| - "className": "Network.NetworkPanel.RecordActionDelegate",
|
| - "options": [
|
| - { "value": true, "title": "Record network log" },
|
| - { "value": false, "title": "Stop recording network log" }
|
| - ],
|
| - "bindings": [
|
| - {
|
| - "platform": "windows,linux",
|
| - "shortcut": "Ctrl+E"
|
| - },
|
| - {
|
| - "platform": "mac",
|
| - "shortcut": "Meta+E"
|
| - }
|
| - ]
|
| - },
|
| + "value": false,
|
| + "title": "Stop recording network log"
|
| + }
|
| + ],
|
| + "bindings": [
|
| {
|
| - "type": "view",
|
| - "location": "drawer-view",
|
| - "id": "network.blocked-urls",
|
| - "title": "Request blocking",
|
| - "persistence": "closeable",
|
| - "order": 60,
|
| - "className": "Network.BlockedURLsPane",
|
| - "experiment": "requestBlocking"
|
| + "platform": "windows,linux",
|
| + "shortcut": "Ctrl+E"
|
| },
|
| {
|
| - "type": "view",
|
| - "location": "drawer-view",
|
| - "id": "network.config",
|
| - "title": "Network conditions",
|
| - "persistence": "closeable",
|
| - "order": 40,
|
| - "className": "Network.NetworkConfigView",
|
| - "tags": "disk cache, network throttling, useragent, user agent"
|
| + "platform": "mac",
|
| + "shortcut": "Meta+E"
|
| }
|
| - ],
|
| - "dependencies": [
|
| - "source_frame",
|
| - "components",
|
| - "components_lazy",
|
| - "ui_lazy"
|
| - ],
|
| - "scripts": [
|
| - "BlockedURLsPane.js",
|
| - "EventSourceMessagesView.js",
|
| - "FilterSuggestionBuilder.js",
|
| - "HARWriter.js",
|
| - "JSONView.js",
|
| - "RequestView.js",
|
| - "NetworkConfigView.js",
|
| - "NetworkDataGridNode.js",
|
| - "NetworkItemView.js",
|
| - "NetworkTimeCalculator.js",
|
| - "NetworkLogView.js",
|
| - "NetworkLogViewColumns.js",
|
| - "NetworkManageCustomHeadersView.js",
|
| - "NetworkOverview.js",
|
| - "NetworkWaterfallColumn.js",
|
| - "RequestCookiesView.js",
|
| - "RequestHeadersView.js",
|
| - "RequestHTMLView.js",
|
| - "RequestPreviewView.js",
|
| - "RequestResponseView.js",
|
| - "RequestTimingView.js",
|
| - "ResourceWebSocketFrameView.js",
|
| - "NetworkPanel.js",
|
| - "XMLView.js"
|
| - ],
|
| - "resources": [
|
| - "blockedURLsPane.css",
|
| - "eventSourceMessagesView.css",
|
| - "networkConfigView.css",
|
| - "networkLogView.css",
|
| - "networkManageCustomHeadersView.css",
|
| - "networkPanel.css",
|
| - "networkWaterfallColumn.css",
|
| - "requestCookiesView.css",
|
| - "requestHeadersTree.css",
|
| - "requestHeadersView.css",
|
| - "webSocketFrameView.css",
|
| - "xmlTree.css",
|
| - "xmlView.css"
|
| - ]
|
| -}
|
| + ]
|
| + },
|
| + {
|
| + "type": "view",
|
| + "location": "drawer-view",
|
| + "id": "network.blocked-urls",
|
| + "title": "Request blocking",
|
| + "persistence": "closeable",
|
| + "order": 60,
|
| + "className": "Network.BlockedURLsPane",
|
| + "experiment": "requestBlocking"
|
| + },
|
| + {
|
| + "type": "view",
|
| + "location": "drawer-view",
|
| + "id": "network.config",
|
| + "title": "Network conditions",
|
| + "persistence": "closeable",
|
| + "order": 40,
|
| + "className": "Network.NetworkConfigView",
|
| + "tags": "disk cache, network throttling, useragent, user agent"
|
| + }
|
| + ],
|
| + "dependencies": [
|
| + "source_frame",
|
| + "components",
|
| + "cookie_table",
|
| + "perf_ui",
|
| + "data_grid"
|
| + ],
|
| + "scripts": [
|
| + "BlockedURLsPane.js",
|
| + "EventSourceMessagesView.js",
|
| + "FilterSuggestionBuilder.js",
|
| + "HARWriter.js",
|
| + "JSONView.js",
|
| + "RequestView.js",
|
| + "NetworkConfigView.js",
|
| + "NetworkDataGridNode.js",
|
| + "NetworkItemView.js",
|
| + "NetworkTimeCalculator.js",
|
| + "NetworkLogView.js",
|
| + "NetworkLogViewColumns.js",
|
| + "NetworkManageCustomHeadersView.js",
|
| + "NetworkOverview.js",
|
| + "NetworkWaterfallColumn.js",
|
| + "RequestCookiesView.js",
|
| + "RequestHeadersView.js",
|
| + "RequestHTMLView.js",
|
| + "RequestPreviewView.js",
|
| + "RequestResponseView.js",
|
| + "RequestTimingView.js",
|
| + "ResourceWebSocketFrameView.js",
|
| + "NetworkPanel.js",
|
| + "XMLView.js"
|
| + ],
|
| + "resources": [
|
| + "blockedURLsPane.css",
|
| + "eventSourceMessagesView.css",
|
| + "networkConfigView.css",
|
| + "networkLogView.css",
|
| + "networkManageCustomHeadersView.css",
|
| + "networkPanel.css",
|
| + "networkWaterfallColumn.css",
|
| + "requestCookiesView.css",
|
| + "requestHeadersTree.css",
|
| + "requestHeadersView.css",
|
| + "webSocketFrameView.css",
|
| + "xmlTree.css",
|
| + "xmlView.css"
|
| + ]
|
| +}
|
|
|