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

Unified Diff: Source/devtools/front_end/toolbox_bootstrap/Toolbox.js

Issue 675753002: [DevTools] Drop "ui" module from toolbox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 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/front_end/toolbox.json ('k') | Source/devtools/front_end/toolbox_bootstrap/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
diff --git a/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js b/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
index f7425ee860f7b0ec4221c416e13df5da17f53b12..aacab8d2a4bfd1bd8efd9336180c965e1105751d 100644
--- a/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
+++ b/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
@@ -11,15 +11,8 @@ WebInspector.Toolbox = function()
if (!window.opener)
return;
- var delegate = /** @type {!WebInspector.ToolboxHost} */ (window.opener.WebInspector["app"]);
-
- WebInspector.initializeUIUtils(window);
- WebInspector.zoomManager = new WebInspector.ZoomManager(window, delegate.inspectorFrontendHost());
- WebInspector.ContextMenu.installHandler(document);
-
- var rootView = new WebInspector.RootView();
- delegate.toolboxLoaded(rootView.element);
- rootView.attachToBody();
+ var host = /** @type {!WebInspector.ToolboxHost} */ (window.opener.WebInspector["app"]);
+ host.toolboxLoaded(document);
}
// FIXME: This stub is invoked from the backend and should be removed
« no previous file with comments | « Source/devtools/front_end/toolbox.json ('k') | Source/devtools/front_end/toolbox_bootstrap/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698