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

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.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/timeline/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index f2ebee38b3f0d40f03ce25c609ffbaf76a048fab..68b3a602aef4c4d23beef6e0214e880f58e5f2db 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -304,6 +304,7 @@ WebInspector.TimelinePanel.prototype = {
this._panelToolbar = new WebInspector.Toolbar(this.element);
this.toggleTimelineButton = new WebInspector.ToolbarButton("Record timeline", "record-toolbar-item");
+ this.toggleTimelineButton.setShortcut(WebInspector.ShortcutsScreen.TimelinePanelShortcuts.StartStopRecording);
this.toggleTimelineButton.addEventListener("click", this._toggleTimelineButtonClicked, this);
this._panelToolbar.appendToolbarItem(this.toggleTimelineButton);
this._updateToggleTimelineButton(false);

Powered by Google App Engine
This is Rietveld 408576698