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

Unified Diff: Source/devtools/front_end/console/ConsoleView.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
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/console/ConsoleView.js
diff --git a/Source/devtools/front_end/console/ConsoleView.js b/Source/devtools/front_end/console/ConsoleView.js
index bf465f50cec16026ef4359137da0581c744dafa5..8e327f986b9339ad1525f4f119e86f71a545eb4a 100644
--- a/Source/devtools/front_end/console/ConsoleView.js
+++ b/Source/devtools/front_end/console/ConsoleView.js
@@ -60,6 +60,7 @@ WebInspector.ConsoleView = function()
this._clearConsoleButton = new WebInspector.ToolbarButton(WebInspector.UIString("Clear console log"), "clear-toolbar-item");
this._clearConsoleButton.addEventListener("click", this._requestClearMessages, this);
+ this._clearConsoleButton.setShortcut([WebInspector.KeyboardShortcut.makeDescriptor("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl)]);
pfeldman 2015/08/07 19:54:13 We should instead fetch the shortcut by the action
samli 2015/08/11 01:59:44 There is no action id for clear console at the mom
this._executionContextComboBox = new WebInspector.ToolbarComboBox(null, "console-context");
this._executionContextComboBox.setMaxWidth(200);
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698