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

Unified Diff: Source/devtools/front_end/main/Main.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
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 51e93bb65b6651dbb6ec99e28c3634b694c9a929..237aab41ac4d4af3bec1799fcf873d67b9e785f2 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -190,6 +190,7 @@ WebInspector.Main.prototype = {
_loaded: function()
{
console.timeStamp("Main._loaded");
+ WebInspector.moduleManager = new WebInspector.ModuleManager(allDescriptors);
if (WebInspector.queryParam("toolbox")) {
new WebInspector.Toolbox();
return;
@@ -359,7 +360,6 @@ WebInspector.Main.prototype = {
new WebInspector.CSSStyleSheetMapping(WebInspector.cssModel, WebInspector.workspace, WebInspector.networkWorkspaceBinding);
// Create settings before loading modules.
dgozman 2014/07/14 12:16:11 Remove comment.
- WebInspector.settings.initializeBackendSettings();
this._registerModules();
WebInspector.actionRegistry = new WebInspector.ActionRegistry();

Powered by Google App Engine
This is Rietveld 408576698