Index: third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js b/third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js |
index 08d5d513c2d1ba397467cb3242da6405aedd9f31..8cf1d2577e284989700f65e0e709c39fac4f8634 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js |
@@ -105,6 +105,8 @@ UI.ShortcutsScreen = class { |
UI.ShortcutsScreen.SourcesPanelShortcuts.AddSelectionToWatch, Common.UIString('Add selection to watch')); |
section.addAlternateKeys( |
UI.ShortcutsScreen.SourcesPanelShortcuts.ToggleBreakpoint, Common.UIString('Toggle breakpoint')); |
+ section.addAlternateKeys( |
+ UI.ShortcutsScreen.SourcesPanelShortcuts.ToggleBreakpointEnabled, Common.UIString('Toggle breakpoint enabled')); |
section.addAlternateKeys( |
UI.shortcutRegistry.shortcutDescriptorsForAction('debugger.toggle-breakpoints-active'), |
Common.UIString('Toggle all breakpoints')); |
@@ -432,6 +434,9 @@ UI.ShortcutsScreen.SourcesPanelShortcuts = { |
ToggleBreakpoint: [UI.KeyboardShortcut.makeDescriptor('b', UI.KeyboardShortcut.Modifiers.CtrlOrMeta)], |
+ ToggleBreakpointEnabled: [UI.KeyboardShortcut.makeDescriptor( |
+ 'b', UI.KeyboardShortcut.Modifiers.CtrlOrMeta | UI.KeyboardShortcut.Modifiers.Shift)], |
+ |
NextCallFrame: |
[UI.KeyboardShortcut.makeDescriptor(UI.KeyboardShortcut.Keys.Period, UI.KeyboardShortcut.Modifiers.Ctrl)], |