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); |