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

Unified Diff: Source/devtools/front_end/profiler/ProfilesPanel.js

Issue 1273363002: Devtools UI: Show multiple shortcuts, show more shortcuts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/profiler/ProfilesPanel.js
diff --git a/Source/devtools/front_end/profiler/ProfilesPanel.js b/Source/devtools/front_end/profiler/ProfilesPanel.js
index df0a5a33537dc93dd08ebc1caac1a983e3a4c635..53adfdf7b801ba59819434224d56ec331f130a5f 100644
--- a/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -465,6 +465,7 @@ WebInspector.ProfilesPanel = function()
this.recordButton = new WebInspector.ToolbarButton("", "record-toolbar-item");
this.recordButton.addEventListener("click", this.toggleRecordButton, this);
+ this.recordButton.setShortcut(WebInspector.ShortcutsScreen.ProfilesPanelShortcuts.StartStopRecording);
toolbar.appendToolbarItem(this.recordButton);
this.clearResultsButton = new WebInspector.ToolbarButton(WebInspector.UIString("Clear all profiles"), "clear-toolbar-item");

Powered by Google App Engine
This is Rietveld 408576698