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

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 3bfd5fba6f99d0525519010c418736f31621b69b..5a92122c026680c5c3379fda48d825475fd2d135 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