Files
react-native-devtools-frontend/front_end/main/module.json
T
Eric Lawrence 2c5e66bd58 DevTools: Remove binding of F12 key to Focus Debuggee command
Devtools keybindings to Actions are not disabled when the associated
command is disabled. The recently added Focus Debuggee command used F12
as a key binding but this had undesirable behavior when the DevTools
were docked in the browser window. This CL removes the F12 key binding.

Bug: 821285
Change-Id: I6acd66e01ba9a8ef3a8a082bd18e7da569ff347f
Reviewed-on: https://chromium-review.googlesource.com/1010469
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#550328}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b0f3a6bd2b46f98007eedf120865687f7b104311
2018-04-12 20:03:00 +00:00

306 lines
9.1 KiB
JSON

{
"extensions": [
{
"type": "@Common.AppProvider",
"className": "Main.SimpleAppProvider",
"order": 10
},
{
"type": "@UI.ContextMenu.Provider",
"contextTypes": [
"Workspace.UISourceCode",
"SDK.Resource",
"SDK.NetworkRequest"
],
"className": "Components.Linkifier.ContentProviderContextMenuProvider"
},
{
"type": "@UI.ContextMenu.Provider",
"contextTypes": [
"Node"
],
"className": "UI.XLink.ContextMenuProvider"
},
{
"type": "@UI.ContextMenu.Provider",
"contextTypes": [
"Node"
],
"className": "Components.Linkifier.LinkContextMenuProvider"
},
{
"type": "action",
"category": "Drawer",
"actionId": "inspector_main.focus-debuggee",
"className": "InspectorMain.FocusDebuggeeActionDelegate",
"order": 100,
"title": "Focus debuggee"
},
{
"type": "action",
"category": "Drawer",
"actionId": "main.toggle-drawer",
"className": "UI.InspectorView.DrawerToggleActionDelegate",
"order": 101,
"title": "Toggle drawer",
"bindings": [
{
"shortcut": "Esc"
}
]
},
{
"type": "action",
"actionId": "main.debug-reload",
"className": "Main.ReloadActionDelegate",
"bindings": [
{
"shortcut": "Alt+R"
}
]
},
{
"type": "action",
"category": "DevTools",
"title": "Restore last dock position",
"actionId": "main.toggle-dock",
"className": "Components.DockController.ToggleDockActionDelegate",
"bindings": [
{
"platform": "windows,linux",
"shortcut": "Ctrl+Shift+D"
},
{
"platform": "mac",
"shortcut": "Meta+Shift+D"
}
]
},
{
"type": "action",
"actionId": "main.zoom-in",
"className": "Main.Main.ZoomActionDelegate",
"bindings": [
{
"platform": "windows,linux",
"shortcut": "Ctrl+Plus Ctrl+Shift+Plus Ctrl+NumpadPlus Ctrl+Shift+NumpadPlus"
},
{
"platform": "mac",
"shortcut": "Meta+Plus Meta+Shift+Plus Meta+NumpadPlus Meta+Shift+NumpadPlus"
}
]
},
{
"type": "action",
"actionId": "main.zoom-out",
"className": "Main.Main.ZoomActionDelegate",
"bindings": [
{
"platform": "windows,linux",
"shortcut": "Ctrl+Minus Ctrl+Shift+Minus Ctrl+NumpadMinus Ctrl+Shift+NumpadMinus"
},
{
"platform": "mac",
"shortcut": "Meta+Minus Meta+Shift+Minus Meta+NumpadMinus Meta+Shift+NumpadMinus"
}
]
},
{
"type": "action",
"actionId": "main.zoom-reset",
"className": "Main.Main.ZoomActionDelegate",
"bindings": [
{
"platform": "windows,linux",
"shortcut": "Ctrl+0 Ctrl+Numpad0"
},
{
"platform": "mac",
"shortcut": "Meta+0 Meta+Numpad0"
}
]
},
{
"type": "action",
"actionId": "main.search-in-panel.find",
"className": "Main.Main.SearchActionDelegate",
"bindings": [
{
"platform": "windows,linux",
"shortcut": "Ctrl+F"
},
{
"platform": "mac",
"shortcut": "Meta+F F3"
}
]
},
{
"type": "action",
"actionId": "main.search-in-panel.cancel",
"className": "Main.Main.SearchActionDelegate",
"order": 10,
"bindings": [
{
"shortcut": "Esc"
}
]
},
{
"type": "action",
"actionId": "main.search-in-panel.find-next",
"className": "Main.Main.SearchActionDelegate",
"bindings": [
{
"platform": "mac",
"shortcut": "Meta+G"
}
]
},
{
"type": "action",
"actionId": "main.search-in-panel.find-previous",
"className": "Main.Main.SearchActionDelegate",
"bindings": [
{
"platform": "mac",
"shortcut": "Meta+Shift+G"
}
]
},
{
"type": "@UI.ToolbarItem.Provider",
"separator": true,
"location": "main-toolbar-left",
"order": 100
},
{
"type": "@UI.ToolbarItem.Provider",
"separator": true,
"order": 98,
"location": "main-toolbar-right"
},
{
"type": "@UI.ToolbarItem.Provider",
"className": "Main.Main.MainMenuItem",
"order": 99,
"location": "main-toolbar-right"
},
{
"type": "@UI.ToolbarItem.Provider",
"className": "Components.DockController.CloseButtonProvider",
"order": 100,
"location": "main-toolbar-right"
},
{
"type": "setting",
"category": "Appearance",
"title": "Theme:",
"settingName": "uiTheme",
"settingType": "enum",
"defaultValue": "default",
"options": [
{
"title": "Switch to light theme",
"text": "Light",
"value": "default"
},
{
"title": "Switch to dark theme",
"text": "Dark",
"value": "dark"
}
],
"tags": "dark, light"
},
{
"type": "setting",
"category": "Appearance",
"title": "Panel layout:",
"settingName": "sidebarPosition",
"settingType": "enum",
"defaultValue": "auto",
"options": [
{
"title": "Use horizontal panel layout",
"text": "horizontal",
"value": "bottom"
},
{
"title": "Use vertical panel layout",
"text": "vertical",
"value": "right"
},
{
"title": "Use automatic panel layout",
"text": "auto",
"value": "auto"
}
]
},
{
"type": "setting",
"category": "Appearance",
"title": "Enable Ctrl + 1-9 shortcut to switch panels",
"title-mac": "Enable \u2318 + 1-9 shortcut to switch panels",
"settingName": "shortcutPanelSwitch",
"settingType": "boolean",
"defaultValue": false
},
{
"type": "@UI.SettingUI",
"category": "Extensions",
"className": "Components.Linkifier.LinkHandlerSettingUI"
},
{
"type": "setting",
"category": "DevTools",
"settingName": "currentDockState",
"settingType": "enum",
"defaultValue": "right",
"options": [
{
"value": "right",
"text": "Right",
"title": "Dock to right"
},
{
"value": "bottom",
"text": "Bottom",
"title": "Dock to bottom"
},
{
"value": "undocked",
"text": "Undocked",
"title": "Undock into separate window"
}
]
},
{
"type": "@UI.ViewLocationResolver",
"name": "drawer-view",
"category": "Drawer",
"className": "UI.InspectorView"
},
{
"type": "@UI.ViewLocationResolver",
"name": "panel",
"category": "Panel",
"className": "UI.InspectorView"
}
],
"dependencies": [
"extensions",
"host",
"platform",
"sdk",
"persistence"
],
"scripts": [
"SimpleApp.js",
"ExecutionContextSelector.js",
"Main.js"
]
}