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

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

Issue 663083004: [DevTools] Remove remaining usages of global properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments 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
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 0d076a758adf82096bad83b6a2d06c5f65cfa4a7..e4b53c8bf8baed8cbab2ad31b4ed932f412a163e 100644
--- a/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
+++ b/Source/devtools/front_end/toolbox_bootstrap/Toolbox.js
@@ -10,7 +10,8 @@ WebInspector.Toolbox = function()
if (!window.opener)
return;
- WebInspector.zoomManager = new WebInspector.ZoomManager(window.opener.InspectorFrontendHost);
+ WebInspector.initializeUIUtils(window);
+ WebInspector.zoomManager = new WebInspector.ZoomManager(window, window.opener.InspectorFrontendHost);
WebInspector.overridesSupport = window.opener.WebInspector.overridesSupport;
WebInspector.settings = window.opener.WebInspector.settings;
WebInspector.experimentsSettings = window.opener.WebInspector.experimentsSettings;
@@ -20,7 +21,7 @@ WebInspector.Toolbox = function()
WebInspector.Revealer = window.opener.WebInspector.Revealer;
WebInspector.ContextMenu = window.opener.WebInspector.ContextMenu;
WebInspector.ContextMenu.installHandler(document);
- WebInspector.installPortStyles();
+ WebInspector.installPortStyles(document);
var delegate = /** @type {!WebInspector.ToolboxDelegate} */ (window.opener.WebInspector["app"]);
var rootView = new WebInspector.RootView();
« no previous file with comments | « Source/devtools/front_end/timeline/TracingTimelineUIUtils.js ('k') | Source/devtools/front_end/ui/ContextMenu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698