Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 377253002: DevTools: Add support for showing shortcuts based on shortcuts registry and use it for pause/resume… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 faddda8844a0e38d8218b9541267ed9a7b0c04b0..5f34233e5c37b513ccf452e3713c64f5dba1bc22 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -308,7 +308,6 @@ WebInspector.Main.prototype = {
// set order of some sections explicitly
WebInspector.shortcutsScreen.section(WebInspector.UIString("Console"));
WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Panel"));
- WebInspector.ShortcutsScreen.registerShortcuts();
if (WebInspector.experimentsSettings.workersInMainWindow.isEnabled())
WebInspector.workerTargetManager = new WebInspector.WorkerTargetManager(mainTarget, WebInspector.targetManager);
@@ -366,6 +365,7 @@ WebInspector.Main.prototype = {
WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebInspector.actionRegistry);
this._registerForwardedShortcuts();
this._registerMessageSinkListener();
+ WebInspector.ShortcutsScreen.registerShortcuts();
WebInspector.zoomManager = new WebInspector.ZoomManager();
WebInspector.inspectorView = new WebInspector.InspectorView();
« no previous file with comments | « Source/devtools/front_end/components/ShortcutsScreen.js ('k') | Source/devtools/front_end/ui/KeyboardShortcut.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698