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

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

Issue 218613013: DevTools: Decouple shortcuts from actions, introduce shortcut contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix context-related sort order 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/ModuleManager.js
diff --git a/Source/devtools/front_end/ModuleManager.js b/Source/devtools/front_end/ModuleManager.js
index 7724d15c4131560004db64a0d0b84c03d57ff23d..0b121c8ffc31dc57b5f3d9c2675a4fb10bc663fc 100644
--- a/Source/devtools/front_end/ModuleManager.js
+++ b/Source/devtools/front_end/ModuleManager.js
@@ -427,4 +427,22 @@ WebInspector.ActionDelegate.prototype = {
handleAction: function(event) {}
}
+/**
+ * @interface
+ */
+WebInspector.ActionRegistryAPI = function()
pfeldman 2014/04/14 13:10:44 No need
apavlov 2014/04/15 13:33:14 Done.
+{
+}
+
+WebInspector.ActionRegistryAPI.prototype = {
+ registerActions: function() {},
+
+ /**
+ * @param {string} actionId
+ * @param {!Event} event
+ * @return {boolean}
+ */
+ execute: function(actionId, event) {}
+}
+
WebInspector.moduleManager = new WebInspector.ModuleManager(allDescriptors);

Powered by Google App Engine
This is Rietveld 408576698