Index: Source/devtools/front_end/main/Main.js |
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js |
index 8c47e5f15fd855c6d5c66879691791e45a18447b..df91aa11ef7ac418f576dd8a25a6f7e77dbc99bf 100644 |
--- a/Source/devtools/front_end/main/Main.js |
+++ b/Source/devtools/front_end/main/Main.js |
@@ -492,6 +492,8 @@ WebInspector.Main.prototype = { |
var toggleConsoleLabel = WebInspector.UIString("Show console"); |
section.addKey(shortcut.makeDescriptor(shortcut.Keys.Tilde, shortcut.Modifiers.Ctrl), toggleConsoleLabel); |
section.addKey(shortcut.makeDescriptor(shortcut.Keys.Esc), WebInspector.UIString("Toggle drawer")); |
+ if (WebInspector.overridesSupport.responsiveDesignAvailable()) |
+ section.addKey(shortcut.makeDescriptor("M", shortcut.Modifiers.CtrlOrMeta | shortcut.Modifiers.Shift), WebInspector.UIString("Toggle device mode")); |
section.addKey(shortcut.makeDescriptor("f", shortcut.Modifiers.CtrlOrMeta), WebInspector.UIString("Search")); |
var advancedSearchShortcutModifier = WebInspector.isMac() |