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

Unified Diff: Source/devtools/front_end/ConsoleModel.js

Issue 170273003: DevTools: Implement extensions-based shortcut bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 years, 9 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/ConsoleModel.js
diff --git a/Source/devtools/front_end/ConsoleModel.js b/Source/devtools/front_end/ConsoleModel.js
index 4ae78ae8f050ccfe0363b9305f38d92c7d978342..6a1f7542eb1c3523c065b3aac92c831c97f52017 100644
--- a/Source/devtools/front_end/ConsoleModel.js
+++ b/Source/devtools/front_end/ConsoleModel.js
@@ -424,6 +424,26 @@ WebInspector.ConsoleDispatcher.prototype = {
}
/**
+ * @constructor
+ * @implements {WebInspector.ActionDelegate}
+ */
+WebInspector.ConsoleModel.ShowConsoleActionDelegate = function()
pfeldman 2014/03/24 16:54:22 This should be a part of the console module.
apavlov 2014/03/25 10:03:45 Done.
+{
+}
+
+WebInspector.ConsoleModel.ShowConsoleActionDelegate.prototype = {
+ /**
+ * @return {boolean}
+ */
+ handleAction: function()
+ {
+ WebInspector.console.show();
+ return true;
+ }
+}
+
+
+/**
* @type {!WebInspector.ConsoleModel}
*/
WebInspector.console;
« no previous file with comments | « no previous file | Source/devtools/front_end/InspectorView.js » ('j') | Source/devtools/front_end/KeyboardShortcut.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698