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

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

Issue 385173007: DevTools: move UI components to target observers in preparation to early UI initialization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/common/Settings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/common/ModuleManager.js
diff --git a/Source/devtools/front_end/common/ModuleManager.js b/Source/devtools/front_end/common/ModuleManager.js
index 874ef83565f36c2c5a17b5c68505116fd4169d9d..bf25bfccd805356e99e8da344874c4e51e72cd6f 100644
--- a/Source/devtools/front_end/common/ModuleManager.js
+++ b/Source/devtools/front_end/common/ModuleManager.js
@@ -161,7 +161,7 @@ WebInspector.ModuleManager.prototype = {
},
/**
- * @param {string|!Function} type
+ * @param {*} type
* @param {?Object=} context
* @return {!Array.<!WebInspector.ModuleManager.Extension>}
*/
@@ -181,7 +181,7 @@ WebInspector.ModuleManager.prototype = {
},
/**
- * @param {string|!Function} type
+ * @param {*} type
* @param {?Object=} context
* @return {?WebInspector.ModuleManager.Extension}
*/
@@ -191,7 +191,7 @@ WebInspector.ModuleManager.prototype = {
},
/**
- * @param {string|!Function} type
+ * @param {*} type
* @param {?Object=} context
* @return {!Array.<!Object>}
*/
@@ -209,7 +209,7 @@ WebInspector.ModuleManager.prototype = {
},
/**
- * @param {string|!Function} type
+ * @param {*} type
* @param {?Object=} context
* @return {?Object}
*/
@@ -484,4 +484,7 @@ WebInspector.Revealer.prototype = {
reveal: function(object) {}
}
-WebInspector.moduleManager = new WebInspector.ModuleManager(allDescriptors);
+/**
+ * @type {!WebInspector.ModuleManager}
+ */
+WebInspector.moduleManager;
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/common/Settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698