mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 05:35:05 +08:00
Move and rename files. NOAUTOREVERT=true NOPRESUBMIT=true NOTREECHECKS=true Bug: 768828 TBR=darin@chromium.org NOTRY=true Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28 Reviewed-on: https://chromium-review.googlesource.com/1001153 Reviewed-by: Blink Reformat <blink-reformat@chromium.org> Commit-Queue: Blink Reformat <blink-reformat@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#549061} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
133 lines
4.0 KiB
JSON
133 lines
4.0 KiB
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "early-initialization",
|
|
"className": "InspectorMain.InspectorMain"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Navigation",
|
|
"actionId": "inspector_main.reload",
|
|
"className": "InspectorMain.ReloadActionDelegate",
|
|
"iconClass": "largeicon-refresh",
|
|
"title": "Reload page",
|
|
"bindings": [
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "F5 Ctrl+R"
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+R"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Navigation",
|
|
"actionId": "inspector_main.hard-reload",
|
|
"className": "InspectorMain.ReloadActionDelegate",
|
|
"title": "Hard reload page",
|
|
"bindings": [
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Shift+F5 Ctrl+F5 Ctrl+Shift+F5 Shift+Ctrl+R"
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Shift+Meta+R"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "@UI.ToolbarItem.Provider",
|
|
"className": "InspectorMain.NodeIndicator",
|
|
"order": 2,
|
|
"location": "main-toolbar-left"
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Network",
|
|
"title": "Force ad blocking on this site",
|
|
"settingName": "network.adBlockingEnabled",
|
|
"settingType": "boolean",
|
|
"storageType": "session",
|
|
"defaultValue": false,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Block ads on this site"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Show ads on this site, if allowed"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "DevTools",
|
|
"title": "Auto-open DevTools for popups",
|
|
"settingName": "autoAttachToCreatedPages",
|
|
"settingType": "boolean",
|
|
"order": 2,
|
|
"defaultValue": false,
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Auto-open DevTools for popups"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Do not auto-open DevTools for popups"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Appearance",
|
|
"title": "Don't show Chrome Data Saver warning",
|
|
"settingName": "disableDataSaverInfobar",
|
|
"settingType": "boolean",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Appearance",
|
|
"title": "Disable paused state overlay",
|
|
"settingName": "disablePausedStateOverlay",
|
|
"settingType": "boolean",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "rendering",
|
|
"title": "Rendering",
|
|
"persistence": "closeable",
|
|
"order": 50,
|
|
"className": "InspectorMain.RenderingOptionsView"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"category": "Mobile",
|
|
"actionId": "components.request-app-banner",
|
|
"className": "InspectorMain.RequestAppBannerActionDelegate",
|
|
"title": "Add to homescreen"
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"components",
|
|
"mobile_throttling"
|
|
],
|
|
"scripts": [
|
|
"RenderingOptions.js",
|
|
"RequestAppBannerActionDelegate.js",
|
|
"InspectorMain.js"
|
|
],
|
|
"resources": [
|
|
"nodeIcon.css",
|
|
"renderingOptions.css"
|
|
]
|
|
}
|