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

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

Issue 298913004: [DevTools] Add Toolbox page to undocked DevTools frontend. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed DockSide events Created 6 years, 6 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/main/App.js ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15af128b3400bd2593d30507f7542ee3c998afde..a19a8f404a7e5ceaa14ef4127b6f7955c48585d1 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -179,6 +179,16 @@ WebInspector.Main.prototype = {
_loaded: function()
{
+ if (WebInspector.queryParam("toolbox")) {
+ new WebInspector.Toolbox();
+ return;
+ }
+
+ WebInspector.settings = new WebInspector.Settings();
+ WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(WebInspector.queryParam("experiments") !== null);
+ // This setting is needed for backwards compatibility with Devtools CodeSchool extension. DO NOT REMOVE
+ WebInspector.settings.pauseOnExceptionStateString = new WebInspector.PauseOnExceptionStateSetting();
+
if (!InspectorFrontendHost.sendMessageToEmbedder) {
var helpScreen = new WebInspector.HelpScreen(WebInspector.UIString("Incompatible Chrome version"));
var p = helpScreen.contentElement.createChild("p", "help-section");
« no previous file with comments | « Source/devtools/front_end/main/App.js ('k') | Source/devtools/front_end/sdk/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698