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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 573453004: DevTools: Get rid of frontend_modules.json (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 2cd0b1fc6563c9530bfd9f47e47e1b4551f28154..0e9700888895f1d3162db785bfb4fa2005a63425 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -187,9 +187,10 @@ WebInspector.Main.prototype = {
{
console.timeStamp("Main._createModuleManager");
self.runtime = new Runtime();
+ var core = ["common", "host", "sdk", "ui", "components", "workspace", "bindings", "screencast", "toolbox", "main"];
// FIXME: define html-per-app, make configuration a part of the app.
- var configuration = ["main", "elements", "network", "sources", "timeline", "profiler", "resources", "audits", "console", "source_frame", "extensions", "settings"];
+ var configuration = core.concat(["elements", "network", "sources", "timeline", "profiler", "resources", "audits", "console", "source_frame", "extensions", "settings"]);
if (WebInspector.experimentsSettings.layersPanel.isEnabled())
configuration.push("layers");
if (WebInspector.experimentsSettings.devicesPanel.isEnabled() && !!WebInspector.queryParam("can_dock"))
@@ -197,7 +198,7 @@ WebInspector.Main.prototype = {
if (WebInspector.experimentsSettings.documentation.isEnabled())
configuration.push("documentation");
if (WebInspector.isWorkerFrontend())
- configuration = ["main", "network", "sources", "timeline", "profiler", "resources", "console", "source_frame", "extensions", "settings"];
+ configuration = core.concat(["network", "sources", "timeline", "profiler", "resources", "console", "source_frame", "extensions", "settings"]);
self.runtime.registerModules(configuration);
},

Powered by Google App Engine
This is Rietveld 408576698